Fix i386/x86_64 expl, exp10l, expm1l for sNaN input (bug 20226).
[glibc.git] / ChangeLog
blob0d140aab661292dfd7935b727916c1285cc2e203
1 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20226]
4         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5         itself.
6         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7         * math/libm-test.inc (exp_test_data): Add sNaN tests.
8         (exp10_test_data): Likewise.
9         (expm1_test_data): Likewise.
11         [BZ #20225]
12         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13         itself.
14         * math/s_ldexpf.c (__ldexpf): Likewise.
15         * math/s_ldexpl.c (__ldexpl): Likewise.
16         * math/w_scalbln.c (__w_scalbln): Likewise.
17         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18         * math/w_scalblnl.c (__w_scalblnl): Likewise.
19         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20         (scalbln_test_data): Likewise.
22         [BZ #20224]
23         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
24         argument to itself.
25         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
27 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #19776]
30         * sysdeps/x86_64/memcpy.S: Make it dummy.
31         * sysdeps/x86_64/mempcpy.S: Likewise.
32         * sysdeps/x86_64/memmove.S: New file.
33         * sysdeps/x86_64/memmove_chk.S: Likewise.
34         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
35         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
36         * sysdeps/x86_64/memmove.c: Removed.
37         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
40         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
41         Likewise.
42         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45         memcpy-sse2-unaligned, memmove-avx-unaligned,
46         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
47         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48         (__libc_ifunc_impl_list): Replace
49         __memmove_chk_avx512_unaligned_2 with
50         __memmove_chk_avx512_unaligned.  Remove
51         __memmove_chk_avx_unaligned_2.  Replace
52         __memmove_chk_sse2_unaligned_2 with
53         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
54         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
55         with __memmove_avx512_unaligned.  Replace
56         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
57         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
58         with __memcpy_chk_avx512_unaligned.  Remove
59         __memcpy_chk_avx_unaligned_2.  Replace
60         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
61         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
62         Replace __memcpy_avx512_unaligned_2 with
63         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
64         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
65         with __mempcpy_chk_avx512_unaligned.  Remove
66         __mempcpy_chk_avx_unaligned_2.  Replace
67         __mempcpy_chk_sse2_unaligned_2 with
68         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
69         Replace __mempcpy_avx512_unaligned_2 with
70         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
71         Replace __mempcpy_sse2_unaligned_2 with
72         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
73         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
74         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
75         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
76         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
77         (ENTRY): Removed.
78         (END): Likewise.
79         (ENTRY_CHK): Likewise.
80         (libc_hidden_builtin_def): Likewise.
81         Don't include ../memcpy.S.
82         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
83         __memcpy_chk_avx512_unaligned_erms and
84         __memcpy_chk_avx512_unaligned.  Use
85         __memcpy_chk_avx_unaligned_erms and
86         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
87         Default to __memcpy_chk_sse2_unaligned.
88         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
89         Change function suffix from unaligned_2 to unaligned.
90         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
91         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
92         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
93         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
94         (ENTRY): Removed.
95         (END): Likewise.
96         (ENTRY_CHK): Likewise.
97         (libc_hidden_builtin_def): Likewise.
98         Don't include ../mempcpy.S.
99         (mempcpy): New.  Add a weak alias.
100         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
101         __mempcpy_chk_avx512_unaligned_erms and
102         __mempcpy_chk_avx512_unaligned.  Use
103         __mempcpy_chk_avx_unaligned_erms and
104         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
105         Default to __mempcpy_chk_sse2_unaligned.
107 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
109         [BZ #19881]
110         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
111         into ...
112         * sysdeps/x86_64/memset.S: This.
113         (__bzero): Removed.
114         (__memset_tail): Likewise.
115         (__memset_chk): Likewise.
116         (memset): Likewise.
117         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
118         defined.
119         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
120         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
121         (__memset_zero_constant_len_parameter): Check SHARED instead of
122         PIC.
123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
124         memset-avx2 and memset-sse2-unaligned-erms.
125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
126         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
127         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
128         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
129         (__bzero): Enabled.
130         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
131         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
132         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
133         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
134         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
135         (memset): Removed.
136         (__memset_chk): Likewise.
137         (MEMSET_SYMBOL): New.
138         (libc_hidden_builtin_def): Replace __memset_sse2 with
139         __memset_sse2_unaligned.
140         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
141         __memset_chk_sse2 and __memset_chk_avx2 with
142         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
143         Use __memset_chk_sse2_unaligned_erms or
144         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
145         __memset_chk_avx512_unaligned_erms and
146         __memset_chk_avx512_unaligned.
148 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
150         * math/gen-auto-libm-test.c (fp_format_desc): remove
151         suffix member.
152         (output_generic_value): Remove usage of suffix member,
153         and the resulting unuse of the fp_format argument.
154         (output_for_one_input_case): Remove unused fp_format
155         parameter.
157         * math/auto-libm-test-out: Regenerate.
159         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
160         usage with TEST_COND_ibm128.
161         (TEST_COND_flt_32): Remove.
162         (TEST_COND_dbl_64): Remove.
163         (TEST_COND_ldbl_96_intel): Remove.
164         (TEST_COND_ldbl_96_m68k): Remove.
165         (TEST_COND_ldbl_128): Remove.
167 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
169         * auto-libm-test-in:
170         Replace flt-32 usage with binary32.
171         Replace dbl-64 usage with binary64.
172         Replace ldbl-intel-96 usage with intel96.
173         Replace ldbl-m68k-96 usage with m68k96.
174         Replace ldbl-128ibm usage with ibm128.
175         Replace ldbl-128 usage with binary128.
177         * auto-libm-test-out: Regenerate.
179 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
181         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
182         (parse_ulps): Dynamically generate type name matching
183         string from all_floats.
184         (get_ulps): Generate the ulps as an array instead.
185         (output_ulps): Dynamically compose the type based
186         on the number of supported formats, and print
187         the indices as type specific helper macros.
189         * math/libm-test.inc: Remove comment about CHOOSE.
190         (ulp_data): Generate the type in libm-test-ulps.h.
191         (ULP_IDX): New macro.
192         (find_ulps): Update usage of max_ulp.
194         * math/test-double-vlen2.h (CHOOSE): Remove.
195         * math/test-double-vlen4.h (CHOOSE): Likewise.
196         * math/test-double-vlen8.h (CHOOSE): Likewise.
197         * math/test-float.c (CHOOSE): Likewise.
198         * math/test-float-finite.c (CHOOSE): Likewise.
199         * math/test-double.c (CHOOSE): Likewise.
200         * math/test-double-finite.c (CHOOSE): Likewise.
201         * math/test-idouble.c (CHOOSE): Likewise.
202         * math/test-ifloat.c (CHOOSE): Likewise.
203         * math/test-ildoubl.c (CHOOSE): Likewise.
204         * math/test-ldouble-finite.c (CHOOSE): Likewise.
205         * math/test-ldouble.c (CHOOSE): Likewise.
207         * math/test-float.h (TEST_FLOAT): Remove.
208         * math/test-double.h (TEST_DOUBLE): Likewise.
209         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
211 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
213         * math/gen-libm-test.pl: (apply_lit): New subroutine.
214         (parse_args): Strip C suffix from floating point literals
215         typed with 'f' and wrap them with LIT().
217         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
218         (test_ff_f_data_nexttoward): Rename to
219         (test_fj_f_data): New struct.
220         (nexttoward_test_data): Relabel tests as
221         TEST_fj_f instead of TEST_ff_f.
223 2016-06-08  Florian Weimer  <fweimer@redhat.com>
225         Emacs bug 23726.
226         * malloc/malloc.c (dumped_main_arena_start): Update comment.
227         (__libc_realloc): Correct size computation for dumped fake mmapped
228         chunks.
230 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
232         [BZ #20219]
233         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
234         to itself.
235         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
237         [BZ #20218]
238         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
239         to itself.
240         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
242 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
244         [BZ #20195]
245         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
246         check to ...
247         (init_cpu_features): Here.
249 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
251         [BZ #20214]
252         * sysdeps/unix/sysv/linux/bits/in.h
253         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
254          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
255         Define to 1.
256         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
257          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
258         Define to 0.
259         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
260         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
262 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
264         [BZ #20198]
265         * stdlib/Makefile (tests): Add tst-quick_exit, and
266         tst-thread-quick_exit.
267         [ifeq ($(have-cxx-thread_local),yes)]
268         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
269         (CFLAGS-tst-thread-quick_exit.o): Likewise.
270         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
271         (LDLIBS-tst-thread-quick_exit): Likewise.
272         [ifneq ($(have-cxx-thread_local),yes)]
273         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
274         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
275         If run_dtors is true call __call_tls_dtors.
276         (exit): Call __run_exit_handlers with run_dtors set to true.
277         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
278         definition.
279         * stdlib/quick_exit.c (quick_exit): Remove function.
280         (__new_quick_exit): New function.
281         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
282         function.
283         * stdlib/tst-quick_exit.cc: New file.
284         * stdlib/tst-thread-quick_exit.cc: New file.
285         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
286         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
287         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
288         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
289         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
290         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
291         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
292         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
293         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
294         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
295         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
296         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
297         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
298         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
299         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
300         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
305         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
306         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
307         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
308         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
309         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
312         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
313         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
314         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
316 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
318         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
319         a typo in comments.
321 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
323         [BZ #20213]
324         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
325         argument to itself.
326         * math/libm-test.inc (asin_test_data): Add sNaN tests.
328 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
330         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
331         required flags.
332         (CFLAGS-pwritev64.c): Likewise.
333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
335         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
336         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
337         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
338         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
339         syscall from auto-generation.
340         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
341         [WORDSIZE == 64] (pwritev64): Remove macro.
342         [!PWRITEV] (PWRITEV): Likewise.
343         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
344         [!PWRITEV] (PWRITE): Likewise.
345         [!PWRITEV] (OFF_T): Likewise.
346         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
347         (LO_HI_LONG): Remove macro.
348         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
349         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
350         (PWRITEV): Remove macro.
351         (PWRITEV_REPLACEMENTE): Likewise.
352         (PWRITE): Likewise.
353         (OFF_T): Likewise.
354         (pwritev64): New function.
355         * nptl/tst-cancel4.c (tf_writev): Add test.
357         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
358         required flags.
359         (CFLAGS-preadv64.c): Likewise.
360         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
361         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
362         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
363         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
364         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
365         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
366         syscall from auto-generation.
367         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
368         [WORDSIZE == 64] (preadv64): Remove macro.
369         [!PREADV] (PREADV): Likewise.
370         [!PREADV] (PREADV_REPLACEMENT): Likewise.
371         [!PREADV] (PREAD): Likewise.
372         [!PREADV] (OFF_T): Likewise.
373         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
374         (LO_HI_LONG): Remove macro.
375         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
376         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
377         (PREADV): Remove macro.
378         (PREADV_REPLACEMENTE): Likewise.
379         (PREAD): Likewise.
380         (OFF_T): Likewise.
381         (preadv64): New function.
382         * nptl/tst-cancel4.c (tf_preadv): Add test.
384 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
386         [BZ #20212]
387         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
388         argument to itself.
389         * math/libm-test.inc (acos_test_data): Add sNaN tests.
391 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
393         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
394         New symbol defined as libc_hidden_def.
395         (strcasestr): Became a weak alias to __strcasestr.
396         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
397         according to multi-arch support.  Move __stpncpy hidden
398         definition from here to...
399         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
400         symbol stpncpy.
401         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
402         libc_hidden_builtin_def.
403         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
404         memset symbol to use when multi-arch support is available.
406 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
408         * dlfcn/tst-rec-dlopen.c: Include string.h.
410 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
412         * manual/install.texi: Remove mention of --without-tls
413         * INSTALL: Regenerate.
415 2016-06-05  Florian Weimer  <fweimer@redhat.com>
417         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
418         Remove.
419         (call_function, interposed_malloc_called): New variables.
420         (malloc): New function.
421         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
422         and clear call_function as needed.
424 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
426         * include/wchar.h (__wmemset): Use __typeof.
428 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
430         * include/wchar.h (__wmemset): Declare function without typeof.
432 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
434         [BZ #20205]
435         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
436         exponent when incrementing negative subnormal with low mantissa
437         word zero.
438         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
439         Add another test.
441 2016-06-03  Florian Weimer  <fweimer@redhat.com>
443         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
444         __wmemset instead of wmemset.
446 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
448         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
449         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
450         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
451         __USE_KERNEL_IPV6_DEFS to 0.
452         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
453         Update comment.
455 2016-06-01  Florian Weimer  <fweimer@redhat.com>
457         [BZ #19861]
458         Do not use IFUNC resolver with potentially unrelocated symbol.
459         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
460         (DEFINE_FORK): Remove macro and inline definition.
461         (fork_alias): Renamed from fork_ifunc.
462         (__fork_alias): Renamed from __fork_ifunc.
464 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
466         [BZ 19653]
467         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
468         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
470 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
472         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
473         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
474         i386-linux-gnu).
475         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
476         Set to no.
477         * sysdeps/mach/hurd/configure: Refresh.
479 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
481         [BZ #20178]
482         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
483         on failure instead of exit.
485 2016-05-30  Roland McGrath  <roland@hack.frob.com>
487         [BZ #3629]
488         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
489         of POSIX.1-2008.
491 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
493         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
494           Use PLT entry for calling _hurd_self_sigstate.
496 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
498         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
499         available logical processors with SMT level type sharing L2
500         cache for Intel processors.
502 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
504         [BZ #20160]
505         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
506         argument to itself before returning the result.
507         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
508         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
511         Likewise.
512         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
513         Likewise.
514         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
515         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
516         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
517         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
518         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
519         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
521         [BZ #20160]
522         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
523         argument to itself before returning the result.
524         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
525         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
526         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
528         Likewise.
529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
530         Likewise.
531         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
532         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
533         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
534         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
535         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
536         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
538 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
540         * libm-test.inc: Replace usage of M_El with
541         (lit_e): New macro.
543 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
545         * libm-test.inc: Replace usage of M_PI_4l with
546         (lit_pi_4_d): New macro.
548 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
550         * libm-test.inc: Replace usage of M_PIl with
551         (lit_pi): New macro.
553 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
555         * libm-test.inc: Replace usage of M_PI2l with
556         (lit_pi_2_d): New macro.
558         * math/test-double.h (LITM): New macro.
559         * math/test-float.h (LITM): Likewise.
560         * math/test-ldouble.h (LITM): Likewise.
562 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
564         * libm-test.inc (M_PI_34l): Rename to
565         (lit_pi_3_m_4_d): New Macro.
566         (M_PI_34_LOG10El): Rename to
567         (lit_pi_3_m_4_ln10_m_d): New Macro.
568         (M_PI2_LOG10El): Rename to
569         (lit_pi_2_ln10_m_d):  New Macro.
570         (M_PI4_LOG10El): Rename to
571         (lit_pi_4_ln10_m_d):  New Macro.
572         (M_PI_LOG10El): Rename to
573         (lit_pi_ln10_d):  New Macro.
575 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
577         [BZ #20157]
578         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
579         determine whether to negate low half if [_ARCH_PPCGR], and integer
580         comparison otherwise.
581         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
582         determine whether to negate low half.
584         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
585         (NO_TEST_INLINE_DOUBLE): Likewise.
586         (TEST_COND_x86_64): Likewise.
587         (TEST_COND_x86): Likewise.
588         (M_PI_6l): Likewise.
590 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
592         * math/libm-test.inc:
593         (TEST_FLOAT): Change usage to TEST_COND_binary32.
594         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
595         (TEST_LDOUBLE): Update usage to evaluate as true if
596         the guarded tests match the property being tested.
597         (LDBL_MAX_EXP): Change to MAX_EXP.
598         (LDBL_MIN_EXP): Change to MIN_EXP.
599         (LDBL_MANT_DIG): Change to MANT_DIG, except for
600         nexttoward tests.
602 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
604         * math/libm-test.inc:
605         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
606         (TYPE_MIN): Likewise.
607         (TYPE_TRUE_MIN): Likewise.
608         (TYPE_MAX): Likewise.
609         (MIN_EXP): Likewise.
610         (MAX_EXP): Likewise.
611         (MANT_DIG): Likewise.
613         (FSTR_MAX): New macro.
614         (__CONCATX): Likewise.
615         (QTYPE_STR): Likewise.
616         (TEST_COND_binary32): Likewise.
617         (TEST_COND_binary64): Likewise.
618         (TEST_COND_binary128): Likewise.
619         (TEST_COND_ibm128): Likewise.
620         (TEST_COND_intel96): Likewise.
621         (TEST_COND_m68k96): Likewise.
623         (TEST_COND_flt_32): Redefine as equivalent format test macro.
624         (TEST_COND_dbl_64): Likewise.
625         (TEST_COND_ldbl_96_intel): Likewise.
626         (TEST_COND_ldbl_96_m68k): Likewise.
627         (TEST_COND_ldbl_128): Likewise.
628         (TEST_COND_ldbl_128ibm): Likewise.
630         (plus_zero): Redefine using LIT macro.
631         (minus_zero): Likewise.
632         (plus_infty): Redefine as (INF).
633         (minux_infty): Redefine as (-INF).
634         (max_value): Redefine as TYPE_MAX.
635         (min_value): Redefine as TYPE_MIN.
636         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
638         (print_float): Refactor to use snprintf to convert FLOAT values
639         to string. This brings it closer to dropin replacement of strtof
640         for the TS 18661 defined types.
641         (update_stats): Likewise.
642         (print_complex_function_ulps): Likewise.
643         (print_max_error): Likewise.
644         (print_complex_max_error): Likewise.
645         (check_float_internal): Likewise.
647         * math/test-float.h (PREFIX): New macro.
648         (LIT): Likewise.
649         (TYPE_STR): Likewise.
650         (FTOSTR): Likewise.
652         * math/test-double.h (PREFIX): New macro.
653         (LIT): Likewise.
654         (TYPE_STR): Likewise.
655         (FTOSTR): Likewise.
657         * math/test-ldouble.h (PREFIX): New macro.
658         (LIT): Likewise.
659         (TYPE_STR): Likewise.
660         (FTOSTR): Likewise.
662 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
664         [BZ #20156]
665         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
666         to itself when zero or not finite.
667         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
668         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
669         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
670         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
672 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
674         [BZ #20153]
675         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
676         x * x + x for infinities and NaNs.
678         [BZ #20151]
679         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
680         argument to itself before returning result.
681         (__ieee754_y0l): Likewise.
682         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
683         (__ieee754_y1l).
685         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
686         (atan_test_data): Likewise.
687         (ceil_test_data): Likewise.
688         (cos_test_data): Likewise.
689         (cosh_test_data): Likewise.
690         (erf_test_data): Likewise.
691         (exp2_test_data): Likewise.
692         (fabs_test_data): Likewise.
693         (floor_test_data): Likewise.
694         (ilogb_test_data): Likewise.
695         (j0_test_data): Likewise.
696         (j1_test_data): Likewise.
697         (jn_test_data): Likewise.
698         (lgamma_test_data): Likewise.
699         (lrint_test_data): Likewise.
700         (llrint_test_data): Likewise.
701         (logb_test_data): Likewise.
702         (lround_test_data): Likewise.
703         (llround_test_data): Likewise.
704         (nearbyint_test_data): Likewise.
705         (rint_test_data): Likewise.
706         (round_test_data): Likewise.
707         (sin_test_data): Likewise.
708         (sincos_test_data): Likewise.
709         (sinh_test_data): Likewise.
710         (sqrt_test_data): Likewise.
711         (tan_test_data): Likewise.
712         (tanh_test_data): Likewise.
713         (tgamma_test_data): Likewise.
714         (trunc_test_data): Likewise.
715         (y0_test_data): Likewise.
716         (y1_test_data): Likewise.
717         (yn_test_data): Likewise.
719         * math/libm-test.inc: Update comment about NaN testing.
720         (TEST_SNAN): New macro.
721         (snan_value): Likewise.
722         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
723         (fpclassify_test_data): Add sNaN tests.
724         (isfinite_test_data): Likewise.
725         (isinf_test_data): Likewise.
726         (isnan_test_data): Likewise.
727         (isnormal_test_data): Likewise.
728         (issignaling_test_data): Likewise.
729         (signbit_test_data): Likewise.
730         * math/gen-libm-test.pl (%beautify): Add snan_value.
731         (show_exceptions): Add argument $test_snan.
732         (parse_args): Handle snan_value as non-finite.  Update call to
733         show_exceptions.
734         * math/Makefile (libm-test-no-inline-cflags): Add
735         -fsignaling-nans.
737 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
739         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
740         (CFLAGS-oldsendmsg.c): Add rule.
741         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
742         Correct recvmsg symbol name.
743         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
744         Likewise.
746 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
748         * sysdeps/unix/sysv/linux/Makefile
749         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
750         oldsendmmsg.
751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
752         sendmmsg.
753         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
756         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
761         Likewise.
762         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
763         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
764         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
765         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
766         iovlen and controllen fields to adjust to POSIX specification.
767         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
769         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
770         and change to correct expected type.
771         (msghdr.msg_controllen): Likewise.
772         (cmsghdr.cmsg_len): Likewise.
773         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
774         expected POSIX assumption about the size.
775         (msghdr.msg_controllen): Likewise.
776         (msghdr.__glibc_reserved1): Likewise.
777         (msghdr.__glibc_reserved2): Likewise.
778         (cmsghdr.cmsg_len): Likewise.
779         (cmsghdr.__glibc_reserved1): Likewise.
780         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
781         Add ptw-oldrecvmsg and ptw-oldsendmsg.
782         (CFLAGS-sendmsg.c): Remove rule.
783         (CFLAGS-recvmsg.c): Likewise.
784         (CFLAGS-oldsendmsg.c): Add rule.
785         (CFLAGS-oldrecvmsg.c): Likewise.
786         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
787         recvmsg and sendmsg.
788         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
789         Likewise.
790         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
791         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
792         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
793         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
794         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
795         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
796         Likewise.
797         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
798         Likewise.
799         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
800         Likewise.
801         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
802         Likewise.
803         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
804         Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
806         Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
808         (GLIBC_2.24): Likewise.
809         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
810         Likewise.
811         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
812         Likewise.
813         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
814         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
815         Likewise.
816         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
817         Likewise.
818         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
819         Likewise.
820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
821         (GLIBC_2.24): Likewise.
822         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
823         Likewise.
824         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
825         Likewise.
826         * sysdeps/unix/sysv/linux/Makefile
827         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
828         (CFLAGS-sendmsg.c): Add rule.
829         (CFLAGS-recvmsg.c): Likewise.
830         (CFLAGS-oldsendmsg.c): Likewise.
831         (CFLAGS-oldrecvmsg.c): Likewise.
832         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
833         initialization.
834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
835         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
836         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
837         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
838         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
839         iovlen and controllen fields to adjust to POSIX specification.
840         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
841         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
842         added recvmsg and sendmsg.
843         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
845         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
848         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
854         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
856         Likewise.
857         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
859         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
860         Likewise.
861         Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
867         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
869         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
871         Likewise.
872         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
873         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
876         from auto-generation.
877         (sendmsg): Likewise.
878         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
879         (sendmsg): Likewise.
880         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
881         (sendmsg): Likewise.
882         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
883         (sendmsg): Likewise.
884         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
885         (sendmsg): Likewise.
886         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
887         (sendmsg): Likewise.
888         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
889         Likewise.
890         (sendmsg): Likewise.
891         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
892         (sendmsg): Likewise.
893         * sysdeps/unix/sysv/linux/i386/kernel-features.h
894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
895         Remove.
896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
897         Likewise.
898         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
899         Undefine.
900         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
901         Likewise.
902         * sysdeps/unix/sysv/linux/kernel-features.h
903         (__ASSUME_SENDMSG_SYSCALL): Define.
904         (__ASSUME_RECVMSG_SYSCALL): Likewise.
905         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
907         Remove.
908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
909         Likewise.
910         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
911         Undefine.
912         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
913         Likewise.
914         * sysdeps/unix/sysv/linux/s390/kernel-features.h
915         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
916         Remove.
917         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
918         Likewise.
919         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
920         Undefine.
921         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
922         Likewise.
923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
924         (__ASSUME_SENDMSG_SYSCALL): Undefine.
925         (__ASSUME_RECVMSG_SYSCALL): Likewise.
926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
927         (__ASSUME_SENDMSG_SYSCALL): Likewise.
928         (__ASSUME_RECVMSG_SYSCALL): Likewise.
929         * sysdeps/unix/sysv/linux/sh/kernel-features.h
930         (__ASSUME_SENDMSG_SYSCALL): Likewise.
931         (__ASSUME_RECVMSG_SYSCALL): Likewise.
933 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
935         * stdlib/gen-tst-strtod-round.c: Add backslash to
936         compile command in comment.
937         (printfp): Remove the literal suffix, and define an infinite
938         value as INF to avoid expansion clash with INFINITY.
939         (round_str): Remove the literal suffix.
940         (round_for_all): Likewise, remove the now duplicate ldbl-64
941         entry, and remove some magic constants.
943         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
944         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
945         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
946         (_CONCAT): New macro.
947         (CONCAT): Likewise.
948         (CHOOSE_ld): Likewise.
949         (CHOOSE_f): Likewise.
950         (CHOOSE_d): Likewise.
951         (FTYPE_MEMBER): Likewise.
952         (BOOL_MEMBER): Likewise.
953         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
954         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
955         (_XNTRY): Likewise.
956         (XNTRY): Likewise.
957         (_ENTRY): Likewise.
958         (ENTRY): Likewise.
959         (test_exactness): Generate members via macro.
960         (test_results): Likewise.
961         (test): Update members.
962         (TEST): Redefine using new macros.
963         (INF): New macro.
964         (fetestmodes): New structure.
965         (do_test): Refactor to be type generic.
966         (test_in_one_mode): Refactor duplicate code into
967         (GEN_ONE_TEST): New macro.
969         * stdlib/tst-strtod-round-data.h: Regenerate.
971         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
972         Extend to pass additional arbitrary parameters to
973         generators.
975 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
977         [BZ #15479]
978         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
979         floating-point state after first floating-point operation on
980         input.  Restore full floating-point state instead of just rounding
981         mode.
982         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
983         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
984         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
985         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
986         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
988         [BZ #15479]
989         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
990         floating-point state after first floating-point operation on
991         input.  Restore full floating-point state instead of just rounding
992         mode.
993         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
994         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
995         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
996         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
997         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
999 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1001         [BZ #19727]
1002         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1003         valid high surrogate.
1004         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1005         of an utf16 surrogate.
1006         * iconv/gconv_simple.c (BODY): Likewise.
1007         * iconvdata/bug-iconv12.c: New file.
1008         * iconvdata/Makefile (tests): Add bug-iconv12.
1010 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1012         [BZ #19726]
1013         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1014         outptrp in case of an illegal input.
1015         * iconv/tst-iconv6.c: New file.
1016         * iconv/Makefile (tests): Add tst-iconv6.
1018 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1020         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1021         an error in case of a value in range of an utf16 low surrogate.
1023 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1025         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1026         an error in case of a value in range of an utf16 low surrogate.
1028 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1030         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1031         Move to ...
1032         * sysdeps/s390/Makefile: ... here.
1033         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1034         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1035         (BRANCH_ON_COUNT): New define.
1036         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1037         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1038         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1039         run on s390-32, too.
1040         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1041         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1042         run on s390-32, too.
1043         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1044         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1045         run on s390-32, too.
1047 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1049         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1050         etf3eh or new vector loop-variant.
1052 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1054         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1055         etf3eh or new vector loop-variant.
1057 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1059         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1060         or new vector loop-variant.
1062 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1064         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1065         Rename to TR_LOOP and usage of tr instead of troo instruction.
1067 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1069         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1072 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1074         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1075         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1076         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1077         New override define.
1078         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1080 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1082         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1083         * sysdeps/s390/configure.ac: Add test for S390 vector register
1084         support in gcc.
1085         * sysdeps/s390/configure: Regenerated.
1087 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1089         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1090         Install file from $(objpfx)gconv-modules.
1091         ($(objpfx)gconv-modules): Concatenate architecture specific file
1092         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1093         * sysdeps/s390/gconv-modules: New file.
1094         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1095         Deleted.
1096         ($(objpfx)gconv-modules-s390): Deleted.
1097         (sysdeps-gconv-modules): New variable.
1099 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1101         [BZ #15479]
1102         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1103         of immediate operand to rounding instruction.
1104         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1105         Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1107         Likewise.
1108         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1109         Likewise.
1111 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1113         * math/libm-test.inc (MIN_EXP): Directly define as
1114         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1116 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1118         * math/libm-test.inc (MANT_DIG): Directly define as
1119         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1121 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1123         * stdlib/gen-tst-strtod-round.c (main):
1124           Change usage to more closely match the generated
1125           output.  Add usage and compilation instructions.
1126           (string_to_fp): Add and use FILE* parameter as
1127           output target.
1128           (print_fp): Likewise.
1129           (round_str): Likewise.
1130           (round_for_all): Likewise.
1131         * stdlib/tst-strtod-round.c (tests): Move into
1132         * stdlib/tst-strtod-round-data.h: New file.
1134 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1136         [BZ #15479]
1137         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1138         (__round): Do not force "inexact" exception.
1139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1140         variable.
1141         (__round): Do not force "inexact" exception.
1142         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1143         (__roundf): Do not force "inexact" exception.
1144         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1145         (__roundl): Do not force "inexact" exception.
1146         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1147         (__roundl): Do not force "inexact" exception.
1148         * math/libm-test.inc (round_test_data): Do not allow spurious
1149         "inexact" exceptions.
1151         [BZ #15479]
1152         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1153         exception in comment.
1154         (huge): Remove variable.
1155         (__floor): Do not force "inexact" exception.
1156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1157         "inexact" exception in comment.
1158         (huge): Remove variable.
1159         (__floor): Do not force "inexact" exception.
1160         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1161         exception in comment.
1162         (huge): Remove variable.
1163         (__floorf): Do not force "inexact" exception.
1164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1165         exception in comment.
1166         (huge): Remove variable.
1167         (__floorl): Do not force "inexact" exception.
1169         [BZ #15479]
1170         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1171         exception in comment.
1172         (huge): Remove variable.
1173         (__ceil): Do not force "inexact" exception.
1174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1175         "inexact" exception in comment.
1176         (huge): Remove variable.
1177         (__ceil): Do not force "inexact" exception.
1178         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1179         (__ceilf): Do not force "inexact" exception.
1180         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1181         exception in comment.
1182         (huge): Remove variable.
1183         (__ceill): Do not force "inexact" exception.
1185 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1187         * config.h.in (BIND_NOW): New.
1188         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1189         * configure: Regenerated.
1190         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1191         indirect branch via the GOT slot.
1193 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1195         [BZ #19765]
1196         * sysdeps/s390/mempcpy.S: New File.
1197         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1199         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1200         Add mempcpy variants.
1201         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1202         (memcpy): Adjust to be usable from mempcpy entry point.
1203         (__memcpy_mvcle): Likewise.
1204         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1205         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1206         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1207         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1208         (__memcpy_z10): Likewise.
1209         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1211 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1213         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1214         Remove __GI_ symbol.
1215         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1216         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1217         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1218         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1219         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1220         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1222 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1224         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1225         Use cghi instead of chi to compare 64bit value.
1227 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1229         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1230         Jump to 1MB check before executing mvc-loop.
1232 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1234         [BZ #6527]
1235         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1236         unconditionally.
1237         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1239 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1241         * stdlib/tst-strtod6.c (do_test): Use new type generic
1242         invocation of the test function.
1243         (test): Refactor into ...
1244         (TEST_STRTOD): New macro base function.
1246 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1248         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1249         (TEST_STRTOD): New macro.
1250         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1252 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1254         * stdlib/tst-strtod6.c (do_test): Use new type generic
1255         invocation of the test function.
1256         (test): Refactor into ...
1257         (TEST_STRTOD): New macro base function.
1259 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1261         CVE-2016-4429
1262         [BZ #20112]
1263         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1264         payload.
1266 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1268         [BZ #20111]
1269         * bits/sockaddr.h (_SS_SIZE): Define.
1270         * bits/socket.h (_SS_SIZE): Remove.
1271         (_SS_PADSIZE): Adjust to account for all padding.
1272         (struct sockaddr_storage): Update comment.  Avoid implicit
1273         padding.
1274         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1275         (_SS_PADSIZE): Adjust to account for all padding.
1276         (struct sockaddr_storage): Update comment.  Avoid implicit
1277         padding.
1278         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1279         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1280         (_SS_PADSIZE): Adjust to account for all padding.
1281         (struct sockaddr_storage): Update comment.  Avoid implicit
1282         padding.
1283         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1284         __SS_SIZE is 126 in this version.
1285         * inet/tst-sockaddr.c: New file.
1286         * inet/Makefile (tests): Add tst-sockaddr.c
1287         (tst-sockaddr.c): Compile with non-strict aliasing.
1289 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1291         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1292         [XPG3 || XPG4].
1293         (NL_ARGMAX): Also expect for [XPG3].
1294         (NL_LANGMAX): Likewise.
1295         (NL_MSGMAX): Likewise.
1296         (NL_NMAX): Likewise.
1297         (NL_SETMAX): Likewise.
1298         (NL_TEXTMAX): Likewise.
1299         (NZERO): Likewise.
1300         (TMP_MAX): Likewise.
1301         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1302         variable.
1304         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1305         (PF_MAX): Update value.
1306         (AF_KCM): New macro.
1307         (SOL_NETBEUI): Likewise.
1308         (SOL_LLC): Likewise.
1309         (SOL_DCCP): Likewise.
1310         (SOL_NETLINK): Likewise.
1311         (SOL_TIPC): Likewise.
1312         (SOL_RXRPC): Likewise.
1313         (SOL_PPPOL2TP): Likewise.
1314         (SOL_BLUETOOTH): Likewise.
1315         (SOL_PNPIPE): Likewise.
1316         (SOL_RDS): Likewise.
1317         (SOL_IUCV): Likewise.
1318         (SOL_CAIF): Likewise.
1319         (SOL_ALG): Likewise.
1320         (SOL_NFC): Likewise.
1321         (SOL_KCM): Likewise.
1322         (MSG_BATCH): New enum value and macro.
1324 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1326         [BZ #18185]
1327         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1328         sharing L2 cache to 2 for Knights Landing.
1330 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1332         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1333         (FTW_DP): Do not expect for [XPG3 || XPG4].
1334         (FTW_SL): Do not expect for [XPG3].
1335         (FTW_SLN): Likewise.
1336         (FTW_PHYS): Likewise.
1337         (FTW_MOUNT): Likewise.
1338         (FTW_DEPTH): Likewise.
1339         (FTW_CHDIR): Likewise.
1340         (nftw): Likewise.
1341         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1342         variable.
1344 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1346         * manual/errno.texi: Fix various typos & grammar errors.
1348 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1350         * manual/intro.texi: Fix duplicated typo.
1352 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1354         [BZ #13304]
1355         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1356         <float.h>, <math_private.h> and <stdlib.h>.
1357         (add_split): New function.
1358         (mul_split): Likewise.
1359         (ext_val): New typedef.
1360         (store_ext_val): New function.
1361         (mul_ext_val): New function.
1362         (compare): New function.
1363         (add_split_ext): New function.
1364         (__fmal): After checking for Inf, NaN and zero, compute result as
1365         an exact sum of scaled double values in round-to-nearest before
1366         adding those up and adjusting for other rounding modes.
1367         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1368         tests of fma.
1369         * math/auto-libm-test-out: Regenerated.
1371 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1373         [BZ #20119]
1374         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1375         processor level type mask for CPUID with EAX == 11.
1377 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1379         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1380         logical threads if the HTT bit is 0.
1381         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1382         (index_cpu_HTT): Likewise.
1383         (reg_HTT): Likewise.
1385 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1387         [BZ #20115]
1388         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1389         Remove alignments on jump targets.
1391 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1393         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1394         (getpwent): Likewise.
1395         (setpwent): Likewise.
1396         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1397         variable.
1399         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1400         (remque): Likewise.
1401         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1402         variable.
1404 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1406         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1407         not being tested.
1409 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1411         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1412         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1413         call.
1414         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1415         (__condvar_cleanup1): Likewise.
1417 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1419         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1420         New
1421         (__pthread_unwind): Renamed to ...
1422         (PTHREAD_UNWIND): This.
1423         (__pthread_enable_asynccancel): Replace
1424         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1426 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1428         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1429         (CLONE_NEWCGROUP): New macro.
1431         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1432         (Q_GETNEXTQUOTA): New macro.
1434 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1436         [BZ #19907]
1437         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1438         buffer updated by the previous run.
1439         * string/test-memcpy.c (do_one_test): Likewise.
1440         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1441         * string/test-memmove.c (do_one_test): Likewise.
1443 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1445         [BZ #20094]
1446         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1447         not [__USE_XOPEN].
1448         (unlockpt): Likewise.
1449         (ptsname): Likewise.
1450         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1451         variable.
1453         [BZ #20076]
1454         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1455         instead of [__USE_UNIX98].
1456         (S_ISSOCK): Likewise.
1457         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1458         variable.
1460         [BZ #20074]
1461         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1462         [__USE_POSIX].
1463         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1464         variable.
1466         [BZ #20051]
1467         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1468         (ttyslot): Do not declare.
1469         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1470         (ttyslot): New prototype.
1471         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1472         variable.
1473         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1475 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1477         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1479 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1481         Fix race condition in tst-mallocfork2, use fewer resources.
1482         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1483         to current process group.
1484         (signal_sender): Yield in the non-sleeping case.
1486 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1488         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1489         (ecvt): Likewise.
1490         (fcvt): Likewise.
1491         (gcvt): Likewise.
1492         (getsubopt): Likewise.
1493         (grantpt): Likewise.
1494         (initstate): Likewise.
1495         (l64a): Likewise.
1496         (mktemp): Likewise.
1497         (mkstemp): Likewise.
1498         (ptsname): Likewise.
1499         (random): Likewise.
1500         (realpath): Likewise.
1501         (setstate): Likewise.
1502         (srandom): Likewise.
1503         (ttyslot): Likewise.
1504         (unlockpt): Likewise.
1505         (valloc): Likewise.
1507         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1508         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1509         variable.
1511 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1513         [BZ #20072]
1514         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1515         init_cpu_features only if SHARED is defined.
1516         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1518 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1520         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1521         non-inclusive caches on Intel processors.
1523 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1525         * malloc/malloc.c (dumped_main_arena_start)
1526         (dumped_main_arena_end): New variables.
1527         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1528         (do_check_chunk): Skip dumped fake mmapped chunks.
1529         (munmap_chunk): Likewise.
1530         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1531         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1532         mmapped chunks.
1533         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1534         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1535         and dumped_main_arena_end to cover the dumped heap.
1537 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1539         * conform/data/time.h-data (getdate_err): Do not expect for
1540         [XPG3].
1541         (getdate): Likewise.
1542         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1543         variable.
1545         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1546         (F_ULOCK): Likewise.
1547         (F_TEST): Likewise.
1548         (F_TLOCK): Likewise.
1549         (useconds_t): Likewise.
1550         (intptr_t): Do not expect for [XPG3] or [XPG4].
1551         (brk): Do not expect for [XPG3]
1552         (fchown): Likewise.
1553         (fchdir): Likewise.
1554         (ftruncate): Likewise.
1555         (getdtablesize): Likewise.
1556         (gethostid): Likewise.
1557         (getpagesize): Likewise.
1558         (getpgid): Likewise.
1559         (getsid): Likewise.
1560         (getwd): Likewise.
1561         (lchown): Likewise.
1562         (lockf): Likewise.
1563         (readlink): Likewise.
1564         (sbrk): Likewise.
1565         (setpgrp): Likewise.
1566         (setregid): Likewise.
1567         (setreuid): Likewise.
1568         (symlink): Likewise.
1569         (sync): Likewise.
1570         (truncate): Likewise.
1571         (ualarm): Likewise.
1572         (usleep): Likewise.
1573         (vfork): Likewise.
1574         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1575         variable.
1577         [BZ #20054]
1578         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1579         not [__USE_UNIX98].
1580         * conform/data/unistd.h-data (gethostname): Do not expect for
1581         [XPG3].
1583         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1584         [!POSIX] (S_IFBLK): Likewise.
1585         [!POSIX] (S_IFCHR): Likewise.
1586         [!POSIX] (S_IFIFO): Likewise.
1587         [!POSIX] (S_IFREG): Likewise.
1588         [!POSIX] (S_IFDIR): Likewise.
1589         [!POSIX] (S_IFLNK): Likewise.
1590         [!POSIX] (S_IFSOCK): Likewise.
1591         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1592         variable.
1593         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1595 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1597         * sysdeps/aarch64/memset.S (__memset):
1598         Rewrite of optimized memset.
1600 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1602         [BZ #19703]
1603         Partially async-signal-safe fork for single-threaded processes.
1604         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1605         variable.  Do not acquire and reset/release malloc and libio locks
1606         in single-threaded processes.
1607         * malloc/tst-mallocfork2.c: New file.
1608         * malloc/Makefile (tests): Add it.
1610 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1612         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1613         argument.  Use scratch buffer instead of extend_alloca.
1614         (gethosts): Use scratch buffer instead of extend_alloca.
1615         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1616         extend_alloca.
1617         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1619 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1621         [BZ #20055]
1622         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1623         instead of [__USE_UNIX98].
1624         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1625         [__USE_UNIX98].
1626         * conform/data/termios.h-data (tcgetsid): Do not expect for
1627         [XPG3].
1628         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1629         variable.
1630         (test-xfail-XPG4/termios.h/conform): Likewise.
1632 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1634         Do not use mcheck in localedef.
1635         * locale/programs/localedef.c (turn_on_mcheck)
1636         (__malloc_initialize_hook): Remove.
1638 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1640         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1641         * sysdeps/s390/s390-64/Makefile: Likewise.
1643 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1645         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1646         Remove ifunc-defines.sym.
1647         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1648         Likewise.
1649         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1650         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1651         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1652         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1653         rtld-global-offsets.sym.
1654         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1655         * sysdeps/x86/cpu-features-offsets.sym: This.
1656         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1657         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1659 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1661         [BZ #20073]
1662         * io/sys/stat.h (fchmod): Declare for
1663         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1664         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1665         variable.
1667         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1668         [XPG3] (S_IFSOCK): Likewise.
1669         [XPG3] (S_ISVTX): Likewise.
1670         [XPG3] (S_ISLNK): Likewise.
1671         [XPG3] (S_ISSOCK): Likewise.
1672         [XPG3] (fchmod): Likewise.
1673         [XPG3] (lstat): Likewise.
1674         [XPG3] (mknod): Likewise.
1676         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1677         [XPG3].  Expect type long and XFAIL for [XPG4].
1678         (st_blocks): Likewise.
1680         [BZ #20044]
1681         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1682         (pthread_atfork): New prototype.
1683         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1684         variable.
1686         [BZ #20043]
1687         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1688         prototype.
1690 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1692         [BZ #20017]
1693         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1694         gmtime.
1696 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1698         [BZ #19994]
1699         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1700         flag in _res.options.
1702 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1704         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1705         [XPG3 || XPG4].
1706         (blksize_t): Likewise.
1707         (clockid_t): Likewise.
1708         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1709         variable.
1710         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1712 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1714         * sysdeps/unix/sysv/linux/s390/init-first.c:
1715         Add VDSO_SYMBOL(getcpu).
1716         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1717         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1718         Add VDSO_SYMBOL(getcpu).
1719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1720         New define HAVE_GETCPU_VSYSCALL.
1721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1723 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1725         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1726         instead of <sysdeps/x86_64/cacheinfo.c>.
1727         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1728         * sysdeps/x86/cacheinfo.c: Here.
1730 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1732         * malloc/malloc-internal.h: Adjust header file guard.
1734 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1736         [BZ #19787]
1737         * inet/getnameinfo.c (check_sprintf_result): New function.
1738         (CHECKED_SNPRINTF): New macro.
1739         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1740         to the host buffer.
1741         (gni_host_local): Use checked_copy to copy the host name.
1742         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1743         (gni_serv_local): Use checked_copy to copy the service name.
1744         (getnameinfo): Remove unnecessary truncation of result buffers.
1746 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1748         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1749         in case of inet_ntop failure.
1751 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1753         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1754         avoid long lines.
1755         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1756         variables.
1757         (gni_host_inet, gni_host_local): Add comment.
1758         (gni_host): Add comment.  Use temporary to avoid long lines.
1760 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1762         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1763         registers specifiers where general purpose registers specifiers should
1764         have been used.
1766 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1768         [BZ #19779]
1769         CVE-2016-1234
1770         Avoid copying names of directory entries.
1771         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1772         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1773         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1774         (struct readdir_result): New type.
1775         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1776         (GL_READDIR): New macros.
1777         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1778         (convert_dirent, convert_dirent64): New functions.
1779         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1780         convert_dirent64.  Adjust references to the readdir result.
1781         * sysdeps/unix/sysv/linux/i386/glob64.c:
1782         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1783         * posix/bug-glob2.c (LONG_NAME): Define.
1784         (filesystem): Add LONG_NAME.
1785         (my_DIR): Increase the size of room_for_dirent.
1787 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #20041]
1790         * misc/sys/select.h (__need_timespec): Only define if
1791         [__USE_XOPEN2K].
1792         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1793         variable.
1794         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1795         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1796         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1798 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1799             Segher Boessenkool  <segher@gcc.gnu.org>
1801         [BZ #20004]
1802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1803         (__novec_swapcontext): Add missing load.
1805 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1807         [BZ #20023]
1808         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1809         <time.h>.
1810         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1811         variable.
1812         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1814 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1817         flags CLONE_VM compare.
1819 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1821         [BZ #20031]
1822         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1823         completely empty.
1825 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1827         [BZ #19573]
1828         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1829         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1830         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1831         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1832         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1833         (hesiod_free_list): Mark as hidden.
1834         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1835         res_set, res_get.
1836         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1837         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1838         (hesiod_init): Remove obsolete res_ninit call.
1839         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1840         (hesiod_bind): Do not call init.
1841         (get_txt_records): Use res_mkquery, res_send instead of
1842         res_nmkquery, res_nsend.
1843         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1844         instead of _nss_hesiod_init.
1845         (_nss_hesiod_initgroups_dyn): Likewise.
1846         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1847         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1848         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1850 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1852         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1853         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1855 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1857         * hesiod/hesiod.h: Remove RCS keyword.
1858         * hesiod/hesiod_p.h: Likewise.
1860         * hesiod/hesiod.c: Likewise.
1862 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1864         [BZ #12450]
1865         * locale/iso-639.def: Add Samogitian/sgs.
1867 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1869         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1871         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1873 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1874             Carlos O'Donell  <carlos@redhat.com>
1876         [BZ #19072]
1877         * grp/Makefile (headers): Add grp-merge.h
1878         (routines): Add grp-merge.
1879         * grp/getgrgid_r.c: Include grp-merge.h.
1880         (DEEPCOPY_FN): Define.
1881         (MERGE_FN): Define.
1882         * grp/getgrname_r.c: Include grp-merge.h.
1883         (DEEPCOPY_FN): Define.
1884         (MERGE_FN): Define.
1885         * grp/grp-merge.c: New file.
1886         * grp/grp-merge.h: New file.
1887         * include/grp-merge.h: New file.
1888         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1889         __copy_grp@GLIBC_PRIVATE.
1890         * manual/nss.texi (Actions in the NSS configuration): Describe
1891         return, continue, and merge.
1892         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1893         (DEEPCOPY_FN): Define.
1894         (MERGE_FN): Define.
1895         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1896         (DEEPCOPY_FN): Define.
1897         (MERGE_FN): Define.
1898         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1899         [!MERGE_FN]: Define __merge_einval.
1900         (CHECK_MERGE): Define.
1901         (REENTRANT_NAME): Process merge if do_merge is true.
1902         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1903         (__nss_getent_r): Likewise.
1904         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1905         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1907 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1909         [BZ #20012]
1910         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1911         length to calculate the buffer to read.
1912         (fmemopen_write): Set the buffer position based on bytes written.
1913         (fmemopen_seek): Return EINVAL for invalid whence modes.
1915         [BZ #19957]
1916         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1917         tst-getpid2.
1918         (test): Add tst-clone2.
1919         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1920         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1921         pid/tid fields for CLONE_VM.
1922         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1923         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1924         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1925         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1926         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1927         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1928         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1929         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1931         Likewise.
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1933         Likewise.
1934         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1935         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1936         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1937         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1938         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1939         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1940         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1941         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1943 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1945         [BZ #19642]
1946         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1947         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1948         (gni_serv_local, gni_serv): New functions extracted from
1949         getnameinfo.
1950         (getnameinfo): Call gni_host and gni_serv to perform the
1951         processing.  Always free scratch buffer.
1953 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1955         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1956         remaining bytes in the dest string, with zeros.
1958 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1960         [BZ #20010]
1961         CVE-2016-3706
1962         * sysdeps/posix/getaddrinfo.c
1963         (convert_hostent_to_gaih_addrtuple): New function.
1964         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1965         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1966         AF_INET data.
1968 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1970         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1971         callback function gl_readdir.
1972         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1973         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1974         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1975         memcpy to copy the name.
1976         * manual/pattern.texi (Calling Glob): Document requirements for
1977         implementations of the gl_readdir callback function.
1978         * manual/examples/mkdirent.c: New example.
1979         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1980         per the manual guidance.
1981         * posix/tst-gnuglob.c (my_readdir): Likewise.
1983 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1985         [BZ #20014]
1986         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1987         not [__USE_POSIX].
1988         (getchar_unlocked): Likewise.
1989         (putc_unlocked): Likewise.
1990         (putchar_unlocked): Likewise.
1991         (flockfile): Likewise.
1992         (ftrylockfile): Likewise.
1993         (funlockfile): Likewise.
1994         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1995         variable.
1996         (test-xfail-XPG4/stdio.h/conform): Likewise.
1998         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1999         Expect constant.
2000         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2001         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2002         variable.
2003         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2004         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2006         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2007         [__USE_LARGEFILE64] (off64_t): Likewise.
2008         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2009         variable.
2011 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2013         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2015 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2017         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2018         * resolv/res_init.c: Likewise.
2019         * resolv/res_mkquery.c: Likewise.
2021 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2023         * resolv/res_init.c (isascii): Do not define.  Use definition in
2024         <ctype.h>.
2025         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2026         (LOG_AUTH): Remove.
2027         (SPRINTF): Remove, adjust caller.
2028         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2030 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2032         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2033         SUNSECURITY conditional.
2034         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2036 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2038         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2039         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2040         Remove BSD-related preprocessor conditionals.
2041         * conf/portability.h: Remove.
2043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2045         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2046         * resolv/res_data.c: Likewise.
2048 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2050         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2051         * resolv/res_data.c: Remove code conditional on ultrix.
2053 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2055         * resolv/res_init.c (RFC1535): Do not define.  Remove
2056         RFC1535 preprocessor conditionals.
2057         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2058         because there configuration options which make the resolver
2059         behavior different.
2061 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2063         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2064         RESOLVSORT preprocessor conditionals.
2065         * resolv/nss_dns/dns-host.c: Likewise.
2066         * resolv/res_init.c: Likewise.
2068 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2070         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2071         is never defined.
2073 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2075         * inet/inet_lnaof.c: Remove SCSS keyword.
2076         * inet/inet_mkadr.c: Likewise.
2077         * inet/inet_net.c: Likewise.
2078         * inet/inet_netof.c: Likewise.
2079         * inet/rcmd.c: Likewise.
2080         * inet/rexec.c: Likewise.
2081         * inet/ruserpass.c: Likewise.
2083 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2085         * resolv/inet_addr.c: Remove _LIBC conditionals.
2086         * resolv/res_data.c: Likewise.
2087         * resolv/res_init.c: Likewise.
2088         * resolv/res_mkquery.c: Likewise.
2089         * resolv/res_libc.c: Update comment.
2090         * resolv/README: Update.
2092 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2094         * resolv/gethnamaddr.c: Remove SCSS keyword.
2095         * resolv/herror.c: Likewise.
2096         * resolv/inet_addr.c: Likewise.
2097         * resolv/inet_net_ntop.c: Likewise.
2098         * resolv/inet_net_pton.c: Likewise.
2099         * resolv/inet_neta.c: Likewise.
2100         * resolv/inet_ntop.c: Likewise.
2101         * resolv/inet_pton.c: Likewise.
2102         * resolv/ns_date.c: Remove RCS keyword.
2103         * resolv/ns_name.c: Likewise.
2104         * resolv/ns_netint.c: Likewise.
2105         * resolv/ns_parse.c: Likewise.
2106         * resolv/ns_print.c: Likewise.
2107         * resolv/ns_samedomain.c: Likewise.
2108         * resolv/ns_ttl.c: Likewise.
2109         * resolv/nsap_addr.c: Likewise.
2110         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2111         * resolv/res_data.c: Remove RCS keyword.
2112         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2113         * resolv/res_init.c: Likewise.
2114         * resolv/res_mkquery.c: Likewise.
2115         * resolv/res_query.c: Likewise.
2116         * resolv/res_send.c: Likewise.
2118 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2120         * conform/data/stdio.h-data (fdopen): Expect also for
2121         [XPG3 || XPG4].
2123         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2124         (fseeko): Likewise.
2125         (ftello): Likewise.
2126         (ftrylockfile): Likewise.
2127         (funlockfile): Likewise.
2128         (getc_unlocked): Likewise.
2129         (getchar_unlocked): Likewise.
2130         (putc_unlocked): Likewise.
2131         (putchar_unlocked): Likewise.
2133 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2135         [BZ #19868]
2136         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2137         DNS packet syntax checks (which were not needed before).  Skip
2138         over non-PTR records.
2140 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2142         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2143         definition.  Include <stddef.h> instead.
2145 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2147         [BZ #19831]
2148         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2149         function.
2150         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2151         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2153 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2155         [BZ #19862]
2156         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2157         (getanswer_r): Do not call syslog.
2158         (gaih_getanswer_slice): Likewise.
2159         * resolv/gethnamaddr.c (AskedForGot): Remove.
2160         (getanswer): Do not call syslog.
2161         (gethostbyaddr): Likewise.
2163 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2165         * conform/data/signal.h-data (union sigval): Expect also if
2166         [XOPEN2K].
2167         (struct sigevent): Likewise.
2168         (SIGEV_NONE): Likewise.
2169         (SIGEV_SIGNAL): Likewise.
2170         (SIGEV_THREAD): Likewise.
2171         (SIGRTMIN): Likewise.
2172         (SIGRTMAX): Likewise.
2173         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2174         variable.
2175         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2177 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2179         [BZ #19830]
2180         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2181         (gaih_getanswer_slice): Likewise.
2182         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2183         Also check for availability of RR metadata.
2185 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2187         [BZ #19825]
2188         * resolv/res_send.c (send_vc): Remove early *resplen2
2189         initialization.  Set *resplen2 on socket error.  Call
2190         close_and_return_error for other errors.
2192 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2194         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2195         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2196         (SCM_IUCV_TRGCLS): New define.
2198 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2200         [BZ #20005]
2201         * libio/fmemopen.c (fmemopen_write): Update internal position after
2202         write.
2203         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2204         * stdio-common/tst-fmemopen4.c: New file..
2206 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2208         [BZ #19996]
2209         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2210         not [__USE_XOPEN2K].
2211         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2212         variable.
2214         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2215         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2216         variable.
2218         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2219         [__USE_XOPEN2K8].
2220         [__USE_LARGEFILE64] (off64_t): Likewise.
2221         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2222         variable.
2224 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2226         [BZ #19989]
2227         * libio/stdio.h (cuserid): Do not declare if
2228         [__USE_XOPEN2K && !__USE_GNU].
2229         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2230         variable.
2232 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2234         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2235         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2237         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2238         ifunc'ed strcspn.
2239         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2240         [EALIGN]: Removed.
2241         [END]: Likewise
2242         [STRSPN]: Define instead of the above to control symbol name.
2243         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2244         New file.
2245         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2246         Likewise.
2247         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2248         Likewise.
2249         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2250         Likewise.
2251         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2252         [INITIAL_MASK]: New macro.
2253         [STRCSPN]: Likewise.
2254         [UPDATE_MASK]: Likewise.
2255         [USE_AS_STRCSPN]: Lisewise.
2257 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2259         [BZ #19931]
2260         * stdio-common/tst-vfprintf-width-prec.c: New file.
2261         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2262         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2263         (generated): Add mtrace-related files.
2264         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2265         (tst-%-mem.out): New pattern rule, replaces
2266         tst-printf-bz18872-mem.out.
2267         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2268         specifier, deallocate any previously allocated work buffer.
2270 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2272         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2273         Add nop before __startcontext, add explaining comments.
2275 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2277         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2278         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2279         completely different API.
2281         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2282         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2283         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2284         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2285         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2286         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2287         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2288         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2289         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2290         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2292 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2294         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2296 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2298         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2299         when it is the default of 0.
2301 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2303         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2304         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2305         (sysdep_routines): Add new strcasestr targets.
2306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2307         (__libc_ifunc_impl_list): Likewise.
2308         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2309         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2310         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2311         * sysdeps/powerpc/powerpc64/power8/Makefile:
2312         New file to add strcasestr-ppc64 to sysdep_routines.
2313         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2314         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2316 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2318         * benchtests/Makefile (wcsmbs-benchset): Include only for
2319         native builds and runs.
2320         (LOCALES): Likewise.
2321         (bench-build): Build timing-type here instead of the bench
2322         target.  Generate locale only for native builds.
2323         * benchtests/README: Add note for cross-building.
2325         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2327         * benchtests/README: Update README to include instructions on
2328         using bench-build.
2330         * Makefile.in (bench-build): New target.
2331         * Rules (PHONY): Add bench-build target.
2332         * benchtests/Makefile (bench): Depend on bench-build.
2333         (bench-build): New target.
2335 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2337         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2338         profil_reply_port.
2339         (profile_waiter): Do not initialize profil_reply_port.
2340         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2341         frequency instead of tick length in us.
2343 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2345         [BZ #18712]
2346         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2347         (__old_mempcpy_small): Likewise.
2348         (__old_strcpy_small): Likewise.
2349         (__old_stpcpy_small): Likewise.
2350         (__old_strpbrk_c2): Fix compat symbol name.
2351         (__old_strpbrk_c3): Likewise.
2352         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2353         (__mempcpy_small): Remove.
2354         (__strcpy_small): Remove.
2355         (__stpcpy_small): Remove.
2357 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2359         [BZ #19400]
2360         * locale/iso-639.def: Add the Talossan/tzl language.
2362 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2364         [BZ #16983]
2365         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2366         comment.  Add "ln" to strchr check on postal_fmt.
2368 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2370         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2371         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2372         tel_dom_fmt.
2374 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2376         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2377         (sysdep_routines): Added __strlen_power8.
2378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2379         __strlen_power8 entry.
2380         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2381         Implementation for POWER8.
2382         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2383         for __strlen_power8.
2384         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2385         Implementation for POWER8.
2387 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2389         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2391 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2393         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2394         Goldmont and Airmont processors.
2396 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2398         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2399         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2400         (__STRING2_SMALL_GET32): Remove.
2401         (memset): Remove.
2402         (__memset_1): Remove.
2403         (__memset_gc): Remove.
2404         (__mempcpy): Remove.
2405         (mempcpy): Remove.
2406         (__mempcpy_args): Remove.
2407         (strchr): Remove.
2408         (strcpy): Remove.
2409         (strcpy_args): Remove.
2410         (__stpcpy_args): Remove.
2411         (__strcmp_cc): Remove.
2412         (__strcmp_gc): Remove.
2413         (strstr): Remove.
2415 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2417         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2418         * nis/nis_call.c (nis_server_cache_add): Likewise.
2420 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2422         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2424 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2426         * malloc/arena.c (__malloc_fork_lock_parent)
2427         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2428         internal_function attribute.
2430 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2432         * stdio-common/printf_fp.c (__printf_fp_l):
2433         Rename ___printf_fp_l to __printf_fp_l and
2434         remove strong alias. Use libc_hidden_def instead
2435         of ldbl_hidden_def macro.
2437 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2439         Remove malloc hooks from fork handler.  They are no longer needed
2440         because malloc runs right before fork, and no malloc calls from
2441         other fork handlers are not possible anymore.
2442         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2443         declarations.
2444         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2445         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2446         (atfork_recursive_cntr): Remove.
2447         (__malloc_fork_lock_parent): Do not override malloc hooks and
2448         thread_arena.
2449         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2450         thread_arena.
2451         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2452         thread_arena instead of save_arena.
2454 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2456         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2457         (thread_atfork, thread_atfork_static): Remove.
2458         * sysdeps/mach/hurd/malloc-machine.h:
2459         (thread_atfork, thread_atfork_static): Remove.
2461 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2463         [BZ #19431]
2464         Run the malloc fork handler as late as possible to avoid deadlocks.
2465         * malloc/malloc-internal.h: New file.
2466         * malloc/malloc.c: Include it.
2467         * malloc/arena.c (ATFORK_MEM): Remove.
2468         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2469         Update comment.
2470         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2471         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2472         Remove outdated comment.
2473         (ptmalloc_init): Do not call thread_atfork.  Remove
2474         thread_atfork_static.
2475         * malloc/tst-malloc-fork-deadlock.c: New file.
2476         * Makefile (tests): Add tst-malloc-fork-deadlock.
2477         (tst-malloc-fork-deadlock): Link against libpthread.
2478         * manual/memory.texi (Aligned Memory Blocks): Update safety
2479         annotation comments.
2480         * sysdeps/nptl/fork.c (__libc_fork): Call
2481         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2482         __malloc_fork_unlock_child.
2483         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2485 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2487         [BZ #19613]
2488         Remove union wait.
2489         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2490         (w_stopsig, w_stopval): Remove.
2491         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2492         stat_loc argument.
2493         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2494         (__WAIT_STATUS_DEFN): Remove.
2495         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2496         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2497         (wait, wait3, wait4): Use int * for the stat_loc argument.
2498         * posix/wait.c (__wait): Likewise.
2499         * posix/wait3.c (__wait3): Likewise.
2500         * posix/wait4.c (__wait4): Likewise.
2501         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2502         (__WAIT_STATUS_DEFN): Remove.
2503         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2504         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2505         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2506         argument.
2507         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2508         * sysdeps/posix/wait3.c (__wait3): Likewise.
2509         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2510         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2511         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2512         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2513         stat_loc argument.
2514         * manual/process.texi (BSD Wait Functions): Remove union wait.
2516 2016-04-13  Andreas Schwab  <schwab@suse.de>
2518         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2519         (test-extras): Add tst-tlsalign-vars.
2520         * math/Makefile: Wrap long lines.
2521         (libm-vec-test-wrappers): Define.
2522         (test-extras): Add $(libm-vec-test-wrappers).
2523         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2524         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2525         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2526         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2527         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2528         (extra-test-objs): Add corresponding objects.
2530 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2532         [BZ #19928]
2533         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2534         New.
2535         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2536         times of shared cache size.
2537         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2538         (VMOVNT): New.
2539         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2540         (VMOVNT): Likewise.
2541         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2542         (VMOVNT): Likewise.
2543         (VMOVU): Changed to movups for smaller code sizes.
2544         (VMOVA): Changed to movaps for smaller code sizes.
2545         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2546         comments.
2547         (PREFETCH): New.
2548         (PREFETCH_SIZE): Likewise.
2549         (PREFETCHED_LOAD_SIZE): Likewise.
2550         (PREFETCH_ONE_SET): Likewise.
2551         Rewrite to use forward and backward loops, which move 4 vector
2552         registers at a time, to support overlapping addresses and use
2553         non temporal store if size is above the threshold and there is
2554         no overlap between destination and source.
2556 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2558         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2559         Include dl-vdso.
2560         * sysdeps/unix/sysv/linux/mips/Versions: Add
2561         __vdso_clock_gettime.
2562         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2563         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2564         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2565         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2566         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2567         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2568         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2569         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2572 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2574         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2575         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2578         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2579         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2582         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2583         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2584         syscalls generation.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2586         [__NR_pwrite64] (__NR_write): Remove define.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2588         [__NR_pwrite64] (__NR_write): Remove define.
2589         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2590         Remove define.
2591         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2592         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2593         Remove define.
2594         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2595         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2596         Linux implementation as base.
2597         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2599         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2600         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2605         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2606         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2607         syscall generation.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2609         [__NR_pread64] (__NR_pread): Remove define.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2611         [__NR_pread64] (__NR_pread): Likewise.
2612         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2613         define.
2614         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2615         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2616         Remove define.
2617         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2618         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2619         Linux implementation as base.
2620         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2621         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2622         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2624         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2625         definition.
2626         (__ALIGNMENT_COUNT): Likewise.
2627         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2628         (__ALIGNMENT_COUNT): Likewise.
2629         (SYSCALL_LL): New define.
2630         (SYSCALL_LL64): Likewise.
2631         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2632         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2633         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2634         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2636         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2637         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2638         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2639         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2640         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2641         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2643 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2645         [BZ #19865]
2646         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2647         original buffer before retry.
2649 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2651         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2652         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2653         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2654         GLRO(dl_auxv) list.
2655         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2656         including <ldsodefs.h>.
2657         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2659 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2661         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2662         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2663         $(CPPFLAGS).
2665 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2667         [BZ #17950]
2668         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2669         Add -mfpmath=387.
2671 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2673         * sysdeps/i386/configure.ac: Change == to = when calling test.
2674         * sysdeps/x86_64/configure.ac: Likewise.
2675         * sysdeps/i386/configure: Regenerated.
2676         * sysdeps/x86_64/configure: Likewise.
2678 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2680         [BZ #16137]
2681         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2682         * benchtests/bench-strcoll.c (input_files): Likewise.
2683         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2684         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2685         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2687 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2689         [BZ #19929]
2690         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2691         [__USE_XOPEN2K8 && !__USE_GNU].
2692         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2693         variable.
2695         [BZ #19925]
2696         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2697         define if [!__USE_MISC && __USE_XOPEN2K].
2698         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2699         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2700         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2701         Likewise.
2702         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2703         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2704         variable.
2705         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2707 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2709         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2710         (sysdep_routines): Add new strspn targets.
2711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2712         (__libc_ifunc_impl_list): Add strspn.
2713         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2714         New file.
2715         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2716         Likewise.
2717         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2718         Likewise.
2719         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2720         Likewise.
2722 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2724         * misc/hsearch_r.c: Include <limits.h>.
2726 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2728         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2730 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2732         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2733         (MEMCPY_SYMBOL): New.
2734         (MEMPCPY_SYMBOL): Likewise.
2735         (MEMMOVE_CHK_SYMBOL): Likewise.
2736         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2737         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2738         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2739         Provide alias for memcpy in libc.a and ld.so.
2741 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2743         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2744         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2745         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2746         Disabled fro now.
2747         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2748         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2750 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2752         * benchtests/Makefile (string-benchset): Add memcpy-large,
2753         memmove-large and memset-large.
2754         * benchtests/bench-memcpy-large.c: New file.
2755         * benchtests/bench-memmove-large.c: Likewise.
2756         * benchtests/bench-memmove-large.c: Likewise.
2757         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2759 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2761         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2762         32-bit displacement to avoid long nop between instructions.
2764 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2766         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2767         a comment on VMOVU and VMOVA.
2769 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2771         [BZ #19633]
2772         Use specified locale for number formatting in strfmon_l.
2773         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2774         (__nl_lookup_word): New inline functions.
2775         * include/printf.h (__print_fp_l): Declare.
2776         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2777         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2778         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2779         (___printf_fp): New function.
2780         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2781         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2782         * stdlib/tst-strfmon_l.c (do_test): New test.
2783         * stdlib/Makefile (tests): Add kt.
2784         (LOCALES): Build additional locales.
2785         (tst-strfmon_l.out): Require locales.
2787 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2789         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2790         if not in libc.
2791         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2792         Likewise.
2793         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2794         Likewise.
2795         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2796         Likewise.
2798 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2800         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2801         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2802         with unaligned_erms.
2803         (__memmove_erms): Skip if source == destination.
2804         (__memmove_unaligned_erms): Don't check source == destination
2805         first.
2807 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2809         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2810         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2812 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2814         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2815         * string/strspn.c (strspn): Likewise.
2817 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2819         * benchtests/bench-memset.c (do_test): Support 64-byte
2820         alignment.
2821         (test_main): Test 64-byte alignment.
2823 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2825         * benchtests/bench-memmove.c (test_main): Test 64-byte
2826         alignment.
2828 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2830         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2832 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2834         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2835         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2836         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2838         * string/strpbrk.c (strpbrk): Rewrite function.
2839         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2840         (__strpbrk_c2): Likewise.
2841         (__strpbrk_c3): Likewise.
2842         * string/string-inlines.c
2843         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2844         Likewise.
2845         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2846         Likewise.
2848         * string/strspn.c (strcspn): Rewrite function.
2849         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2850         (__strspn_c1): Remove inline function.
2851         (__strspn_c2): Likewise.
2852         (__strspn_c3): Likewise.
2853         * string/string-inlines.c
2854         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2855         compatibility symbol.
2856         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2857         Likewise.
2858         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2859         Likewise.
2860         * string/string-inlines.c: Include generic version.
2862 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2863             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2865         * string/Version (libc): Add GLIBC_2.24.
2866         * string/strcspn.c (strcspn): Rewrite function.
2867         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2868         (__strcspn_c1): Remove inline function.
2869         (__strcspn_c2): Likewise.
2870         (__strcspn_c3): Likewise.
2871         * string/string-inline.c
2872         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2873         compatibility symbol.
2874         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2875         Likewise.
2876         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2877         Likewise.
2878         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2880 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2882         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2883         Use ahi instead of aghi to adjust stack pointer.
2885 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2887         [BZ #19853]
2888         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2889         TEST to take significant digits as second parameter.
2890         [TEST]: Redefine in terms of TEST_N taking 30
2891         significant digits.
2892         (do_test): Add test case to demonstrate precision
2893         failure in the ldbl-128ibm printf.
2894         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2895         (__mpn_extract_long_double): Carry 7 extra intermediate
2896         bits of precision to aide computing difference when
2897         signs differ.
2899 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2901         [BZ #19881]
2902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2903         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2904         memset-avx512-unaligned-erms.
2905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2906         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2907         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2908         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2909         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2910         __memset_sse2_unaligned_erms, __memset_erms,
2911         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2912         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2913         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2914         file.
2915         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2916         Likewise.
2917         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2918         Likewise.
2919         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2920         Likewise.
2922 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2924         [BZ #19776]
2925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2926         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2927         memmove-avx512-unaligned-erms.
2928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2929         (__libc_ifunc_impl_list): Test
2930         __memmove_chk_avx512_unaligned_2,
2931         __memmove_chk_avx512_unaligned_erms,
2932         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2933         __memmove_chk_sse2_unaligned_2,
2934         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2935         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2936         __memmove_avx512_unaligned_erms, __memmove_erms,
2937         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2938         __memcpy_chk_avx512_unaligned_2,
2939         __memcpy_chk_avx512_unaligned_erms,
2940         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2941         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2942         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2943         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2944         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2945         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2946         __mempcpy_chk_avx512_unaligned_erms,
2947         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2948         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2949         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2950         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2951         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2952         __mempcpy_erms.
2953         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2954         file.
2955         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2956         Likwise.
2957         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2958         Likwise.
2959         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2960         Likwise.
2962 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2964         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2965         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2966         (La_s390_64_regs): Likewise.
2967         (La_s390_32_retval): Append vector register lrv_v24.
2968         (La_s390_64_retval): Likeweise.
2969         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2970         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2971         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2972         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2974 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2976         [BZ #19916]
2977         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2978         to create a non-vector/vector version for _dl_runtime_resolve and
2979         _dl_runtime_profile. Move implementation to ...
2980         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2981         (_dl_runtime_resolve) Save and restore fpr/vrs.
2982         (_dl_runtime_profile) Save and restore vrs and fix some issues
2983         if _dl_call_pltexit is called.
2984         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2985         Choose the correct resolver function if running on a machine with vx.
2986         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2987         to create a non-vector/vector version for _dl_runtime_resolve and
2988         _dl_runtime_profile. Move implementation to ...
2989         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2990         (_dl_runtime_resolve) Save and restore fpr/vrs.
2991         (_dl_runtime_profile) Save and restore vrs and fix some issues
2992         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2993         Choose the correct resolver function if running on a machine with vx.
2995 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2997         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2999 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3001         [BZ #19509]
3002         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3003         skip_map != NULL.
3004         * elf/tst-dlsym-error.c: New file.
3005         * elf/Makefile (tests): Add tst-dlsym-error.
3006         (tst-dlsym-error): Link against libdl.
3008 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3011         (__ASSUME_FUTIMESAT): Remove macro.
3012         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3014 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3016         [BZ #19879]
3017         CVE-2016-3075
3018         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3019         copy name.
3021 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3023         [BZ #19837]
3024         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3025         error if parse_line fails.
3027 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3029         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3030         (index_cpu_ERMS): Likewise.
3031         (reg_ERMS): Likewise.
3033 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3035         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3036         PER_LINUX_FDPIC): Add.
3038 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3041         memcpy-avx512-no-vzeroupper.
3042         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3043         to ...
3044         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3045         (MEMCPY): Don't define.
3046         (MEMCPY_CHK): Likewise.
3047         (MEMPCPY): Likewise.
3048         (MEMPCPY_CHK): Likewise.
3049         (MEMPCPY_CHK): Renamed to ...
3050         (__mempcpy_chk_avx512_no_vzeroupper): This.
3051         (MEMPCPY_CHK): Renamed to ...
3052         (__mempcpy_chk_avx512_no_vzeroupper): This.
3053         (MEMCPY_CHK): Renamed to ...
3054         (__memmove_chk_avx512_no_vzeroupper): This.
3055         (MEMCPY): Renamed to ...
3056         (__memmove_avx512_no_vzeroupper): This.
3057         (__memcpy_avx512_no_vzeroupper): New alias.
3058         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3060 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3062         [BZ #18858]
3063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3064         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3065         and mempcpy-avx512-no-vzeroupper.
3066         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3067         New.
3068         (MEMPCPY): Likewise.
3069         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3070         (MEMPCPY_CHK): New.
3071         (MEMPCPY): Likewise.
3072         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3073         (MEMPCPY): Likewise.
3074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3075         (MEMPCPY): Likewise.
3076         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3077         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3078         Likewise.
3079         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3080         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3082 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3083              Amit Pawar  <Amit.Pawar@amd.com>
3085         [BZ #19583]
3086         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3087         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3088         processors.  Set Fast_Copy_Backward for AMD Excavator
3089         processors.
3090         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3091         New.
3092         (index_arch_Fast_Unaligned_Copy): Likewise.
3093         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3094         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3096 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3098         [BZ #19791]
3099         * resolv/res_send.c (close_and_return_error): New function.
3100         (send_dg): Initialize *resplen2 after reopen failure.  Call
3101         close_and_return_error for error returns.  On error paths without
3102         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3103         successful return.
3105 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3107         [BZ# 19860]
3108         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3109         zero if the compiler does not provide the AVX512F bit.
3111 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #19848]
3114         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3115         from 8 to 4.
3116         (__ieee754_powl): Compare integer exponent against 4 not 8.
3117         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3118         from 8 to 4.
3119         (__ieee754_powl): Compare integer exponent against 4 not 8.
3120         * math/auto-libm-test-in: Add more tests of pow.
3121         * math/auto-libm-test-out: Regenerated.
3122         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3127         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3128         Make code unconditional.
3129         [!__NR_utimensat]: Remove conditional code.
3130         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3131         Make code unconditional.
3132         [!__NR_utimensat]: Remove conditional code.
3133         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3134         Make code unconditional.
3135         [!__NR_utimensat]: Remove conditional code.
3137 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3139         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3140         Make code unconditional.
3142 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3144         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3145         call-clobbered %eax on retry path.
3146         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3148 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3150         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3151         Don't set %rcx twice before "rep movsb".
3153 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3155         [BZ #19583]
3156         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3157         inline.  Check family before setting family, model and
3158         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3159         bits here.
3160         (init_cpu_features): Replace HAS_CPU_FEATURE and
3161         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3162         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3163         for Intel processors with usable AVX2.  Call get_common_indeces
3164         for other processors with family == NULL.
3165         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3166         (CPU_FEATURES_ARCH_P): Likewise.
3167         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3168         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3170 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3172         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3173         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3174         $(shared-thread-library) instead of hardcoding the path to libpthread.
3176 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3178         * sysdeps/unix/sysv/linux/kernel-features.h
3179         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3180         * sysdeps/unix/sysv/linux/getdents.c
3181         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3182         [!have_no_getdents64_defined]: Likewise.
3183         (__GETDENTS): Remove __have_no_getdents64 conditional.
3185 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3188         Remove macro.
3189         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3190         <kernel-features.h>.
3191         (signalfd) [__NR_signalfd4]: Make code unconditional.
3192         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3194 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3196         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3197         style.
3199 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3201         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3202         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3203         __pthread_unwind.
3204         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3205         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3207         (__condvar_cleanup1): Likewise.
3209 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3211         [BZ #19822]
3212         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3213         move it to the final $@ location.
3215 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3217         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3218         access where posix_spawn success and pid argument is null.
3219         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3220         success case.
3222 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3224         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3226         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3228         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3229         and __fcntl.
3230         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3231         __fcntl only.
3232         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3233         adding attribute_hidden to __open and __fcntl.
3235         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3236         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3237         depend on libc-modules.h,
3238         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3240 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3242         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3243         Remove macro.
3244         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3245         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3246         entry.
3248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3249         Remove macro.
3250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3251         include <kernel-features.h>.
3252         [!__ASSUME_FALLOCATE]: Remove conditional code.
3253         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3255 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3257         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3258         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3259         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3260         (_ZGVdN4v_cos_avx2): Likewise.
3261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3262         (_ZGVdN4v_cos): Likewise.
3263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3264         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3266         (_ZGVdN4v_exp_avx2): Likewise.
3267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3268         (_ZGVdN4v_exp): Likewise.
3269         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3270         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3271         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3272         (_ZGVdN4v_log_avx2): Likewise.
3273         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3274         (_ZGVdN4v_log): Likewise.
3275         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3276         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3278         (_ZGVdN4vv_pow_avx2): Likewise.
3279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3280         (_ZGVdN4vv_pow): Likewise.
3281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3282         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3284         (_ZGVdN4v_sin_avx2): Likewise.
3285         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3286         (_ZGVdN4v_sin): Likewise.
3287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3288         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3289         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3290         (_ZGVdN4vvv_sincos_avx2): Likewise.
3291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3292         (_ZGVdN4vvv_sincos): Likewise.
3293         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3294         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3296         (_ZGVbN4v_cosf_sse4): Likewise.
3297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3298         (_ZGVdN8v_cosf_avx2): Likewise.
3299         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3300         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3301         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3302         (_ZGVbN4v_expf_sse4): Likewise.
3303         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3304         (_ZGVdN8v_expf_avx2): Likewise.
3305         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3306         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3308         (_ZGVbN4v_logf_sse4): Likewise.
3309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3310         (_ZGVdN8v_logf_avx2): Likewise.
3311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3312         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3313         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3314         (_ZGVbN4vv_powf_sse4): Likewise.
3315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3316         (_ZGVdN8vv_powf_avx2): Likewise.
3317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3318         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3320         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3322         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3323         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3324         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3325         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3326         (_ZGVbN4v_sinf_sse4): Likewise.
3327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3328         (_ZGVdN8v_sinf_avx2): Likewise.
3329         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3330         Use JUMPTARGET to call callee.
3331         (WRAPPER_IMPL_SSE2_ff): Likewise.
3332         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3333         (WRAPPER_IMPL_AVX): Likewise.
3334         (WRAPPER_IMPL_AVX_ff): Likewise.
3335         (WRAPPER_IMPL_AVX_fFF): Likewise.
3336         (WRAPPER_IMPL_AVX512): Likewise.
3337         (WRAPPER_IMPL_AVX512_ff): Likewise.
3338         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3339         Likewise.
3340         (WRAPPER_IMPL_SSE2_ff): Likewise.
3341         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3342         (WRAPPER_IMPL_AVX): Likewise.
3343         (WRAPPER_IMPL_AVX_ff): Likewise.
3344         (WRAPPER_IMPL_AVX_fFF): Likewise.
3345         (WRAPPER_IMPL_AVX512): Likewise.
3346         (WRAPPER_IMPL_AVX512_ff): Likewise.
3347         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3349 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3351         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3352         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3353         qualifier.
3354         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3355         internal_function qualifiers.
3357 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3359         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3360         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3361         * math/atest-exp.c (exp_mpn): Mark chk unused.
3362         * math/atest-exp2.c (exp_mpn): Likwise.
3363         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3364         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3366 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3369         Remove macro.
3370         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3371         <kernel-features.h>.
3372         [__NR_ppoll]: Make code unconditional.
3373         [!__ASSUME_PPOLL]: Remove conditional code.
3375         * sysdeps/unix/sysv/linux/kernel-features.h
3376         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3377         (__ASSUME_ACCEPT4): Likewise.
3378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3379         Define.
3380         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3381         Likewise.
3382         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3383         Likewise.
3384         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3385         Likewise.
3386         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3387         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3389         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3390         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3393         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3394         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3396         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3397         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3399         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3400         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3402         Likewise.
3403         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3404         Likewise.
3405         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3406         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3407         0x040300].
3408         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3409         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3410         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3411         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3412         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3413         0x030300].
3414         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3415         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3416         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3417         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3418         0x040300].
3419         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3422         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3423         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3424         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3425         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3426         0x030300].
3427         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3428         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3429         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3430         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3431         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3432         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3433         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3434         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3435         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3436         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3437         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3438         0x040300].
3439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3441         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3442         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3443         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3444         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3445         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3446         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3447         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3449         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3450         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3451         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3453         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3454         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3456         Likewise.
3457         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3458         Likewise.
3460 2016-03-15  Andreas Schwab  <schwab@suse.de>
3462         [BZ #19257]
3463         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3464         statp->_u._ext.nscount as loop count.
3466 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3468         * math/test-signgam-finite-c99.c: Also #undef
3469         __LIBC_INTERNAL_MATH_INLINES.
3470         * math/test-signgam-main.c: Likewise.
3472 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3474         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3475         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3476         (MADV_FREE): Likewise.
3477         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3478         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3479         EPOLLEXCLUSIVE.
3481 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3483         * timezone/README: Remove mention of checktab.awk. Mention wiki
3484         SharedSourceFiles.
3486 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3488         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3489         WUNTRACED.
3491 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3493         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3494         order to match the type of p when calling atomic_exchange_acq().
3496 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3498         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3499         cfi_offset calls.
3500         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3501         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3502         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3503         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3504         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3506 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3508         * timezone/checktab.awk: Removed.
3510 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3512         * manual/math.texi (Errors in Math Functions): Document relaxed
3513         accuracy goals for IBM long double.
3514         * math/libm-test.inc (test_exceptions): Always allow spurious
3515         "underflow" and "inexact" exceptions for IBM long double.
3517 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3519         [BZ #19762]
3520         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3521         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3522         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3523         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3524         (bit_arch_*): This for feature array.
3525         (bit_*): Renamed to ...
3526         (bit_cpu_*): This for cpu array.
3527         (index_*): Renamed to ...
3528         (index_arch_*): This for feature array.
3529         (index_*): Renamed to ...
3530         (index_cpu_*): This for cpu array.
3531         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3532         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3533         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3534         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3535         bit_##name with index_cpu_##name and bit_cpu_##name.
3536         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3537         bit_##name with index_arch_##name and bit_arch_##name.
3539 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3541         [BZ #19792]
3542         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3543         Terminate FDE before return label.
3545 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3547         [BZ #19790]
3548         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3549         (rintl): Define as macro.
3550         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3551         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3552         of fesetround.  Ensure results are evaluated before end of scope.
3553         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3554         USE_AS_NEARBYINTL and include s_rintl.c.
3555         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3556         Disable exception traps in new environment.
3557         (libc_feholdsetround_ppc_ctx): Likewise.
3559 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3561         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3562         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3563         (tst_audit10_aux) [__AVX512F__]: ... here.
3565 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3567         * include/sys/auxv.h: New file.
3569 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3571         [BZ #19759]
3572         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3574 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3576         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3577         operand modifier.
3578         (feclearexcept): Likewise.
3580 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3583         to reflect the entire 32-bit HWCAP.
3584         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3585         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3587 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3589         [BZ #19783]
3590         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3591         $(test-via-rtld-prefix).
3592         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3594 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3596         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3597         union wait.  Report any non-zero exit status as error.
3599 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3601         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3602         configured with --enable-hardcoded-path-in-tests.
3604 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3606         [BZ #19677]
3607         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3608         (__ieee754_remainderl): Put zero low parts in canonical form.
3609         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3610         file.  Based on
3611         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3612         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3613         with wrapper round test-fmodrem-ldbl-128ibm.c.
3614         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3615         file.
3616         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3617         Likewise.
3618         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3619         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3621 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3623         [BZ #19610]
3624         * elf/ldconfig.c (opt_link): Update comment.
3625         (options): Update help string for option -X.
3626         (search_dir): Unlink stale symbolic link only if updating symbolic
3627         links.
3628         * elf/tst-ldconfig-X.sh: New file.
3629         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3630         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3632 2016-03-07  Andreas Schwab  <schwab@suse.de>
3634         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3635         needed arguments.
3637 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3639         [BZ #15333]
3640         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3641         to lstat64.
3643 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3645         * libio/filedoalloc.c (isatty): Remove.
3646         (local_isatty): Add comment.  Call __isatty directly.
3647         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3648         * libio/wfiledoalloc.c (isatty): Remove.
3649         (_IO_wfile_doallocate): Update comment.
3651 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3653         [BZ #19269]
3654         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3655         tst-audit4-aux.o.
3656         (tst-audit10): Depend on tst-audit10-aux.o.
3657         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3658         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3659         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3660         instead of inline AVX code.
3661         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3662         instead of inline AVX512 code.
3663         * sysdeps/x86_64/tst-audit4-aux.c: New file
3664         * sysdeps/x86_64/tst-audit10-aux.c: New file
3666         [BZ #19648]
3667         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3669 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3671         [BZ #14750]
3672         [BZ #10354]
3673         [BZ #18433]
3674         * include/sched.h (__clone): Add hidden prototype.
3675         (__clone2): Likewise.
3676         * include/unistd.h (__dup): Likewise.
3677         * posix/Makefile (tests): Add tst-spawn2.
3678         * posix/tst-spawn2.c: New file.
3679         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3680         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3681         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3682         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3683         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3684         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3685         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3686         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3687         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3688         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3689         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3691         Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3693         Likewise.
3694         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3695         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3696         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3697         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3698         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3699         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3700         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3701         * sysdeps/unix/sysv/linux/nptl-signals.h
3702         (____nptl_is_internal_signal): New function.
3703         * sysdeps/unix/sysv/linux/spawni.c: New file.
3705         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3706         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3707         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3708         * posix/tst-execvp2.c (do_test): Likewise.
3709         * posix/tst-execvp3.c (do_test): Likewise.
3710         * posix/tst-execvp4.c (do_test): Likewise.
3711         * posix/tst-execvpe1.c: New file.
3712         * posix/tst-execvpe2.c: Likewise.
3713         * posix/tst-execvpe3.c: Likewise.
3714         * posix/tst-execvpe4.c: Likewise.
3715         * posix/tst-execvpe5.c: Likewise.
3716         * posix/tst-execvpe6.c: Likewise.
3718         [BZ #19534]
3719         * posix/execl.c (execl): Remove dynamic memory allocation.
3720         * posix/execle.c (execle): Likewise.
3721         * posix/execlp.c (execlp): Likewise.
3723 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3725         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3726         Replace .text with .text.avx512.
3727         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3728         Likewise.
3730 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3732         * sysdeps/generic/libnsl.abilist: New file.
3733         * sysdeps/generic/libutil.abilist: New file.
3735 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3737         [BZ #19762]
3738         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3739         HAS_ARCH_FEATURE with Fast_Rep_String.
3740         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3741         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3742         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3743         Likewise.
3744         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3745         Likewise.
3746         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3747         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3748         Likewise.
3749         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3750         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3751         Likewise.
3753 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3755         [BZ #19745]
3756         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3757         with *%rax in call.
3759 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3761         [BZ #19745]
3762         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3763         with *__libc_start_main@GOTPCREL(%rip) in call.
3765 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3767         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3768         inside conditional for nonempty $(CXX).
3770         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3771         nonempty.
3773         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3774         to test for empty $(CXX) rather than $(CXX) of "no".
3776 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3778         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3780 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3781             H.J. Lu  <hongjiu.lu@intel.com>
3783         [BZ #18880]
3784         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3785         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3786         enable __memcpy_ssse3_back.
3788 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3790         [BZ #19758]
3791         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3792         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3794 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3796         [BZ #19490]
3797         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3798         (__fentry__): Likewise.
3800 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3802         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3803         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3805 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3807         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3808         __mcount_internal directly.
3809         (C_LABEL(__fentry__)): Likewise.
3810         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3811         directly.
3813 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3815         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3816         (__start_context): Call __setcontext directly.
3818 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3820         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3821         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3822         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3823         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3825         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3826         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3827         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3828         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3829         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3830         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3831         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3832         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3833         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3834         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3835         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3836         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3838         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3839         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3840         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3842         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3843         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3844         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3845         Remove conditional code.
3846         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3847         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3848         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3849         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3850         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3851         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3852         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3853         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3854         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3855         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3856         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3857         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3859 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3861         * NEWS (2.23): Fix typo in bug 19048 text.
3863 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3865         [BZ #14259]
3866         * Makeconfig: Rename msgcatdir to localedir.
3867         Rename inst_msgcatdir to inst_localedir.
3868         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3869         * config.make.in: Add localedir.
3870         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3871         (ldd-rewrite): Likewise.
3872         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3873         (install-others): Use inst_localedir.
3874         (CPPFLAGS): Use localedir.
3875         * locale/Makefile (locale-CPPFLAGS): Likewise.
3876         * po/Makefile (mo-installed): Use inst_localedir.
3878         [BZ #19575]
3879         * localedata/charmaps/GB18030: Update comments regarding PAU to
3880         non-PUA mappings.
3882 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3884         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3885         test for header.
3886         * sysdeps/unix/sysv/linux/configure: Regenerated.
3887         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3888         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3889         Remove conditional code.
3890         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3892         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3893         Define to 3.2.0.
3894         (arch_minimum_kernel): Likewise.
3895         * sysdeps/unix/sysv/linux/configure: Regenerated.
3896         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3897         Define to 2.6.32.
3898         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3899         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3900         (arch_minimum_kernel): Define to 2.6.32.
3901         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3902         * README: Document Linux 3.2 requirement.
3903         * manual/install.texi (Linux): Document Linux 3.2 headers
3904         requirement.
3905         * INSTALL: Regenerated.
3907 2016-02-24  Andreas Schwab  <schwab@suse.de>
3909         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3910         if !NO_LONG_DOUBLE.
3912 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3914         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3915         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3917 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3919         [BZ #19512]
3920         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3922 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3924         * posix/tst-dir.c: Include libc-internal.h.
3926 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3928         [BZ #19056]
3929         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3930         * manual/filesys.texi (Reading/Closing Directory): Mention
3931         deprecaion.
3932         * posix/tst-dir.c (main): Disable deprecation warning in test.
3934 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3936         [BZ #19679]
3937         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3938         Renamed to ...
3939         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3940         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3941         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3942         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3943         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3944         * sysdeps/x86_64/dl-trampoline.h
3945         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3946         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3948 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3950         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3952 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3954         * elf/elf.h (R_386_GOT32X): New.
3955         (R_386_NUM): Update.
3956         (R_X86_64_GOTPCRELX: New.
3957         (R_X86_64_REX_GOTPCRELX): New.
3958         (R_X86_64_NUM): Update.
3960 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3962         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3964 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3966         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3967         assign attr->stackaddr to it, and adjust it down when
3968         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3969         [_STACK_GROWS_UP]: Delete assert.
3970         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3971         Implement stack grows up logic.
3972         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3973         stack grows up logic.
3975 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3977         * NEWS: Update with 2.24 template.
3979 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3981         [BZ #19678]
3982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3983         Ensure +0.0 is returned when taking the next value below the least
3984         positive value.
3986 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3988         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3989         available.  Do not define NO_THREADS.
3990         * malloc/malloc.c: Do not check NO_THREADS.
3991         * malloc/arena.c: Likewise.
3993 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3995         * malloc/malloc.c (__libc_mallinfo): Update comment.
3996         (struct malloc_par): Remove max_total_mem member, it was always 0.
3997         (int_mallinfo): Store 0 into usmblks (no functional change).
3998         * malloc/hooks.c (struct malloc_state): Document that
3999         max_total_mem is always 0.
4000         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4001         always 0.
4002         * manual/memory.texi (Statistics of Malloc): Likewise.
4004 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4006         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4007         * malloc/arena.c (arena_max): Remove.
4008         (heap_trim, _int_new_arena): Do not update arena_max.
4010 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4012         * resolv/res_init.c (res_ninit): Update comment.
4014 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4016         [BZ #19505]
4017         * posix/spawn_int.h: Add headers and include guard.
4018         (__spawn_valid_fd): New function.
4019         * posix/spawn_faction_addopen.c
4020         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4021         * posix/spawn_faction_addclose.c
4022         (posix_spawn_file_actions_addclose): Likewise.
4023         * posix/spawn_faction_adddup2.c
4024         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4025         second file descriptor.
4026         * posix/spawn_valid_fd.c: New file.
4027         * posix/tst-posix_spawn-fd.c: New file.
4028         * posix/Makefile (routines): Add spawn_valid_fd.
4029         (tests): Add tst-posix_spawn-fd.
4031 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4033         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4034         (do_test): Limit the number of arenas, so that we can use fewer
4035         outer threads.  Limit timeout to 3 seconds, in preparation for a
4036         larger TIMEOUT value.
4038 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4040         [BZ #19674]
4041         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4042         sign in overflowing and underflowing results when overflow or
4043         underflow is detected early.  Include sign in result before rather
4044         than after scaling.
4046         [BZ #19603]
4047         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4048         (__ieee754_remainderl): Adjust sign of integer version of low part
4049         when taking absolute value of high part.
4050         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4051         * math/libm-test.inc (remainder_test_data): Add another test.
4052         (remquo_test_data): Likewise.
4054 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4056         [BZ #19602]
4057         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4058         equal high parts and both low parts zero specially.
4059         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4060         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4061         Add test-fmodl-ldbl-128ibm.
4063         [BZ #19595]
4064         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4065         common logic for all cases of shifting subnormal results.  Do not
4066         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4067         exponent to ldbl_insert_mantissa in subnormal case.
4069         [BZ #19594]
4070         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4071         on high and low parts then adjust result and use
4072         ldbl_canonicalize_int if needed.
4074         [BZ #19593]
4075         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4076         on high part and __floor or __ceil on low part then use
4077         ldbl_canonicalize_int if needed.
4079         [BZ #19592]
4080         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4081         high and low parts then use ldbl_canonicalize_int if needed.
4083         [BZ #17899]
4084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4085         New function.
4086         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4087         on high and low parts then use ldbl_canonicalize_int if needed.
4089 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         * configure: Regenerated.
4093         * po/libc.pot: Regenerated.
4095         * po/be.po: Updated translation.
4096         * po/bg.po: Likewise.
4097         * po/ca.po: Likewise.
4098         * po/cs.po: Likewise.
4099         * po/da.po: Likewise.
4100         * po/el.po: Likewise.
4101         * po/eo.po: Likewise.
4102         * po/es.po: Likewise.
4103         * po/fi.po: Likewise.
4104         * po/fr.po: Likewise.
4105         * po/gl.po: Likewise.
4106         * po/hr.po: Likewise.
4107         * po/hu.po: Likewise.
4108         * po/ia.po: Likewise.
4109         * po/id.po: Likewise.
4110         * po/it.po: Likewise.
4111         * po/ja.po: Likewise.
4112         * po/lt.po: Likewise.
4113         * po/nb.po: Likewise.
4114         * po/nl.po: Likewise.
4115         * po/pt_BR.po: Likewise.
4116         * po/rw.po: Likewise.
4117         * po/sk.po: Likewise.
4118         * po/sl.po: Likewise.
4119         * po/sv.po: Likewise.
4120         * po/tr.po: Likewise.
4121         * po/zh_CN.po: Likewise.
4122         * po/zh_TW.po: Likewise.
4124         * version.h (RELEAES): Set to "development".
4125         (VERSION): Set to 2.23.90.
4127         * version.h (RELEASE): Set to "stable".
4128         (VERSION): Set to 2.23.
4129         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4131         * NEWS: Updated fixed bugs.
4133 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4134             Wilco Dijkstra  <wdijkstr@arm.com>
4136         [BZ #19462]
4137         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4138         (_STRING_INLINE_unaligned): This.
4139         * include/string.h: Include <string_private.h>.
4140         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4141         _STRING_INLINE_unaligned.
4142         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4143         (_STRING_INLINE_unaligned): New.
4144         * sysdeps/aarch64/string_private.h: New file.
4145         * sysdeps/generic/string_private.h: Likewise.
4146         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4147         * sysdeps/s390/string_private.h: Likewise.
4148         * sysdeps/x86/string_private.h: Likewise.
4149         * sysdeps/m68k/m680x0/m68020/bits/string.h
4150         (_STRING_ARCH_unaligned): Renamed to ...
4151         (_STRING_INLINE_unaligned): This.
4152         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4153         to ...
4154         (_STRING_INLINE_unaligned): This.
4155         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4156         to ...
4157         (_STRING_INLINE_unaligned): This.
4158         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4159         to ...
4160         (_STRING_INLINE_unaligned): This.
4162 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4163             H.J. Lu  <hongjiu.lu@intel.com>
4165         [BZ #19590]
4166         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4167         relocation.
4169 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4171         [BZ #18665]
4172         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4173         *herrno_p.
4174         (gaih_getanswer): Document functional behviour. Return tryagain
4175         if any result is tryagain.
4176         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4177         when freed.
4178         * resolv/res_send.c: Add copyright text.
4179         (__libc_res_nsend): Document that MAXPACKET is expected.
4180         (send_vc): Document. Remove buffer reuse.
4181         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4182         size of the buffer. Add Dprint for truncated UDP buffer.
4184 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4186         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4187         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4188         * INSTALL: Regenerate.
4190 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4191             Jonathan Wakely  <jwakely@redhat.com>
4192             Carlos O'Donell  <carlos@redhat.com>
4194         [BZ 19439]
4195         * math/Makefile (tests): Add test-math-isinff.
4196         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4197         * math/bits/mathcalls.h [__USE_MISC]: Use
4198         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4199         functions not in C++11 and which don't conflict e.g. isinff,
4200         isinfl etc.
4201         * math/test-math-isinff.cc: New file.
4203 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4205         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4207 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4209         [BZ #19529]
4210         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4212 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4214         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4216 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4218         [BZ #19550]
4219         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4220         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4221         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4222         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4223         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4224         New syscall entry.
4225         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4226         New syscall entry.
4227         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4228         syscall entry.
4230 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4232         [BZ #18240]
4233         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4234         unsigned int wraparound.
4236 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4238         [BZ #18240]
4239         * misc/bug18240.c: New test.
4240         * misc/Makefile (tests): Add it.
4242 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4243             Joseph Myers  <joseph@codesourcery.com>
4245         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4246         load in branch delay slot when less than a word of input left.
4248 2016-01-27  Andreas Schwab  <schwab@suse.de>
4250         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4251         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4252         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4253         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4255 2016-01-26  David S. Miller  <davem@davemloft.net>
4257         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4259 2016-01-25  David S. Miller  <davem@davemloft.net>
4261         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4262         __sqrtl_finite.
4263         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4264         instead using versioned_symbol.
4265         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4266         of entries.
4268         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4269         __sqrtl_finite to GLIBC_2.23
4271 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4273         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4275 2016-01-25  Andreas Schwab  <schwab@suse.de>
4277         [BZ #17514]
4278         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4279         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4280         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4281         * nptl/tst-mutex-errorcheck.c: New file.
4283 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4285         [BZ #18560]
4286         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4287         (IPCOP_semop): Likewise.
4288         (IPCOP_semget): Likewise.
4289         (IPCOP_semctl): Likewise.
4290         (IPCOP_msgsnd): Likewise.
4291         (IPCOP_msgrcv): Likewise.
4292         (IPCOP_msgget): Likewise.
4293         (IPCOP_msgctl): Likewise.
4294         (IPCOP_shmat): Likewise.
4295         (IPCOP_shmdt): Likewise.
4296         (IPCOP_shmget): Likewise.
4297         (IPCOP_shmctl): Likewise.
4299 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4301         * string/tst-endian.c: Include <libc-internal.h>.
4302         (do_test): Ignore tautological-compare warnings around
4303         "htobeXX (beXXtoh (i)) != i" and
4304         "htoleXX (leXXtoh (i)) != i" if-statements.
4306 2016-01-24  David S. Miller  <davem@davemloft.net>
4308         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4309         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4310         alias.
4311         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4312         __sqrtl_finite.
4314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4316 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4318         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4319         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4320         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4322 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4324         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4325         (thread_func): Use new function to simplify barrier check.
4326         (do_test): Use new function to simplify checking barrier exit
4327         code, and actually join the child thread.
4329 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4331         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4332         semicolon.
4333         (__libc_tend): Likewise.
4334         (__libc_tabort): Likewise.
4336 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4338         * sysdeps/nios2/libm-test-ulps: Update.
4339         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4340         (__gtsf2): Likewise.
4341         (__unorddf2): Likewise.
4342         (__unordsf2): Likewise.
4343         (__ledf2): Likewise.
4345 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4347         * nis/nis_table.c (__follow_path): Disable diagnostic for
4348         uninitialized variable that is a false positive for gcc 4.7.
4349         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4351 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4353         * sysdeps/nacl/lowlevellock-futex.h
4354         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4355         Always evaluate PRIVATE argument.
4357 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4359         [BZ #19490]
4360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4361         (pthread_cond_broadcast): Use ENTRY/END
4362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4363         (pthread_cond_signal): Likewise.
4364         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4365         Likewise.
4366         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4367         Likewise.
4368         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4369         Likewise.
4371 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4373         * sysdeps/ieee754/dbl-64/s_finite.c
4374         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4375         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4376         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4377         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4378         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4381         (__gtsf2): Add as optional for libc.so.
4382         (__unordsf2): Likewise.
4383         (__signbit): Remove for libc.so.
4384         (__signbitl): Likewise.
4386 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4388         * iconvdata/bug-iconv11.c (test_ibm93x):
4389         Use %zu printf format specifier for size_t argument.
4391 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4393         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4394         already-recorded ulps.
4395         * sysdeps/arm/libm-test-ulps: Regenerated.
4396         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4397         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4398         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4400 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4401             Paul Pluzhnikov  <ppluzhnikov@google.com>
4403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4404         assembler not supporting AVX-512.
4406 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4408         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4410 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4412         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4413         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4415         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4417         * sysdeps/arm/libm-test-ulps: Regenerated.
4419 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4421         [BZ #19451]
4422         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4424 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4426         [BZ #19486]
4427         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4428         * sysdeps/generic/fix-fp-int-convert-overflow.h
4429         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4430         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4431         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4432         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4433         Likewise.
4434         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4435         Avoid conversions to long int where inexact exceptions
4436         could be raised.
4437         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4438         Likewise.
4439         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4440         Avoid conversions to long long int where inexact exceptions
4441         could be raised.
4442         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4443         Likewise.
4445 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4447         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4448         * configure: Regenerated.
4450 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4452         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4454 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4456         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4457         outside of comment.
4459 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4461         * nptl/tst-barrier1.c: Add description on first line.
4462         * nptl/tst-barrier2.c: Likewise.
4463         * nptl/tst-barrier3.c: Likewise.
4464         * nptl/tst-barrier4.c: Likewise.
4465         * nptl/tst-barrier5.c: Likewise.
4467 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4469         [BZ #18868]
4470         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4472 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4476         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4477         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4478         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4479         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4480         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4481         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4482         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4483         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4484         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4486 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4488         [BZ #13065]
4489         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4490         new implementation.
4491         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4492         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4493         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4494         (BARRIER_IN_THRESHOLD): New macro.
4495         * nptl/pthread_barrierattr_setpshared.c
4496         (pthread_barrierattr_setpshared): Clean up.
4497         * nptl/tst-barrier4.c: Correct comment.
4498         * nptl/tst-barrier5.c: New file.
4499         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4500         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4501         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4502         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4503         * nptl/lowlevelbarrier.sym: Remove.
4504         * nptl/DESIGN-barrier.txt: Remove.
4505         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4506         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4507         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4508         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4509         error.
4510         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4511         implementation.
4513 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4515         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4516         (do_child): Mask SIGRTMIN while thr is running.
4518 2016-01-15  Martin Sebor  <msebor@redhat.com>
4520         [BZ #19432]
4521         * iconvdata/Makefile: Add bug-iconv11.
4522         * iconvdata/bug-iconv11.c: New test.
4523         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4524         * iconvdata/ibm933.c: Same.
4525         * iconvdata/ibm935.c: Same.
4526         * iconvdata/ibm937.c: Same.
4527         * iconvdata/ibm939.c: Same.
4529 2016-01-15  Martin Sebor  <msebor@redhat.com>
4531         [BZ #19443]
4532         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4533         [DEBUG] (_ufc_set_bits): Declare used.
4534         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4535         [DEBUG] (print_all): Declare used.
4536         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4537         operands of the ternary ?: expression to target type.
4538         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4539         calling the undeclared abort.
4540         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4542 2016-01-15  Martin Sebor  <msebor@redhat.com>
4544         [BZ #18755]
4545         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4546         warnings.
4547         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4548         (__gai_create_helper_thread): Same.
4549         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4550         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4551         to suppress -Wmaybe-uninitialized warnings.
4553 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4555         [BZ #19465]
4556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4557         inside if.
4558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4559         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4562 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4564         [BZ #19466]
4565         * time/tst-mktime2.c (time_t_max): Removed.
4566         (time_t_min): Likewise.
4567         (TYPE_SIGNED): New.
4568         (TYPE_MINIMUM): Likewise.
4569         (TYPE_MAXIMUM): Likewise.
4570         (TIME_T_MIN): Likewise.
4571         (TIME_T_MAX): Likewise.
4572         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4573         and TIME_T_MIN.
4574         (do_test): Likewise.
4576 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4578         [BZ #19467]
4579         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4580         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4582 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4584         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4586 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4588         * benchtests/Makefile (PYTHON): Define.
4589         (bench-func): Use $(PYTHON) to run python scripts.
4590         ($(objpfx)bench-%.c): Likewise.
4592 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4594         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4595         leading slash when `file_name' is "/".
4597 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4599         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4600         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4607         enum constant and macro.
4608         (PTRACE_SETSIGMASK): Likewise.
4609         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4610         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4611         (PTRACE_GETSIGMASK): Likewise.
4612         (PTRACE_SETSIGMASK): Likewise.
4613         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4614         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4615         Likewise.
4616         (PTRACE_SETSIGMASK): Likewise.
4617         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4618         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4619         (PTRACE_GETSIGMASK): Likewise.
4620         (PTRACE_SETSIGMASK): Likewise.
4621         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4623         Likewise.
4624         (PTRACE_SETSIGMASK): Likewise.
4625         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4626         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4627         Likewise.
4628         (PTRACE_SETSIGMASK): Likewise.
4629         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4630         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4631         Likewise.
4632         (PTRACE_SETSIGMASK): Likewise.
4633         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4635 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4636             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4638         [BZ #19439]
4639         * math/bits/mathcalls.h
4640         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4641         prototype.
4642         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4644 2016-01-11  Andreas Schwab  <schwab@suse.de>
4646         [BZ #19253]
4647         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4648         cache when TZDEFRULES was used.
4649         * time/tst-tzname.c: New file.
4650         * time/Makefile (test): Add tst-tzname.
4651         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4652         * timezone/Makefile (test-zones): Add $(posixrules-file).
4653         ($(testdata)/$(posixrules-file)): New rule.
4655 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4657         Fix doc quoting problems with Texinfo 5
4658         Without this change, in the info file output, Texinfo 5 quotes code
4659         in text with undirected single quotes 'like this' and generates
4660         code examples that with many PDF readers cannot be cut out of PDFs
4661         and pasted into code.
4662         * manual/libc.texinfo: Configure the libc manual like the GNU
4663         Emacs manual, by using @documentencoding and setting
4664         txicodequoteundirected and txicodequotebacktick.  This way,
4665         Texinfo 5 quotes code in text with directed single quotes ‘like
4666         this’ and produces examples that can be cut out of PDFs.  This
4667         change causes Texinfo 5 to generate info files that contain UTF-8
4668         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4669         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4671 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4673         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4674         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4675         barriers to their respective compiler built-ins.
4676         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4677         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4678         * sysdeps/powerpc/sysdep.h: Likewise.
4679         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4680         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4681         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4683 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4685         * scripts/config.guess: Revert previous shebang change.
4686         * scripts/config.sub: Likewise.
4687         * scripts/mkinstalldirs: Likewise.
4689 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4691         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4692         PPC_FEATURE2_HAS_IEEE128.
4693         * sysdeps/powerpc/dl-procinfo.c:
4694         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4696 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4698         [BZ #19415]
4699         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4700         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4701         (_dl_lookup_address): Rewrite using function resolver trampoline.
4702         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4703         two bits in address.
4705 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4707         * longlong.h: Change !__SHMEDIA__ to
4708         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4709         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4711 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4712             Joseph Myers  <joseph@codesourcery.com>
4713             Mark Shinwell  <shinwell@codesourcery.com>
4714             Andrew Stubbs  <ams@codesourcery.com>
4715             Rich Felker <dalias@libc.org>
4717         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4719 2016-01-07  Richard Henderson  <rth@redhat.com>
4721         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4723 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4725         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4726         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4727         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4728         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4729         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4731 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4732             Joseph Myers  <joseph@codesourcery.com>
4734         * timezone/private.h: Update from tzcode 2015g.
4735         * timezone/tzfile.h: Likewise.
4736         * timezone/tzselect.ksh: Likewise.
4737         * timezone/zdump.c: Likewise.
4738         * timezone/zic.c: Likewise.
4739         * timezone/ialloc.c: Remove file.
4740         * timezone/scheck.c: Likewise.
4741         * timezone/Makefile (extra-objs): Remove variable.
4742         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4743         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4744         -Wno-maybe-uninitialized.
4745         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4746         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4747         (CFLAGS-ialloc.c): Remove variable.
4748         (CFLAGS-scheck.c): Likewise.
4749         * timezone/README: Update list of files from tzcode.
4751 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4753         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4754         instead of __fxprintf when _LIBC is undefined.
4756 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4758         * catgets/test-gencat.sh: Remove space after shebang.
4759         * conform/GlibcConform.pm: Likewise.
4760         * conform/check-header-lists.sh: Likewise.
4761         * conform/conformtest.pl: Likewise.
4762         * conform/linknamespace.pl: Likewise.
4763         * conform/list-header-symbols.pl: Likewise.
4764         * debug/catchsegv.sh: Likewise.
4765         * elf/genrtldtbl.awk: Likewise.
4766         * elf/tst-pathopt.sh: Likewise.
4767         * elf/tst-rtld-load-self.sh: Likewise.
4768         * grp/tst_fgetgrent.sh: Likewise.
4769         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4770         * iconvdata/gen-8bit-gap.sh: Likewise.
4771         * iconvdata/gen-8bit.sh: Likewise.
4772         * iconvdata/run-iconv-test.sh: Likewise.
4773         * intl/tst-gettext.sh: Likewise.
4774         * intl/tst-gettext2.sh: Likewise.
4775         * intl/tst-gettext4.sh: Likewise.
4776         * intl/tst-gettext6.sh: Likewise.
4777         * intl/tst-translit.sh: Likewise.
4778         * io/ftwtest-sh: Likewise.
4779         * libio/test-freopen.sh: Likewise.
4780         * locale/gen-translit.pl: Likewise.
4781         * malloc/tst-mtrace.sh: Likewise.
4782         * manual/check-safety.sh: Likewise.
4783         * manual/libc-texinfo.sh: Likewise.
4784         * manual/tsort.awk: Likewise.
4785         * manual/xtract-typefun.awk: Likewise.
4786         * nptl/tst-cancel-wrappers.sh: Likewise.
4787         * nptl/tst-tls6.sh: Likewise.
4788         * posix/globtest.sh: Likewise.
4789         * posix/tst-getconf.sh: Likewise.
4790         * posix/wordexp-tst.sh: Likewise.
4791         * scripts/check-c++-types.sh: Likewise.
4792         * scripts/check-local-headers.sh: Likewise.
4793         * scripts/config.guess: Likewise.
4794         * scripts/config.sub: Likewise.
4795         * scripts/cpp: Likewise.
4796         * scripts/cross-test-ssh.sh: Likewise.
4797         * scripts/documented.sh: Likewise.
4798         * scripts/evaluate-test.sh: Likewise.
4799         * scripts/gen-libc-abis: Likewise.
4800         * scripts/gen-sorted.awk: Likewise.
4801         * scripts/list-fixed-bugs.py: Likewise.
4802         * scripts/merge-test-results.sh: Likewise.
4803         * scripts/mkinstalldirs: Likewise.
4804         * scripts/rellns-sh: Likewise.
4805         * scripts/test-installation.pl: Likewise.
4806         * scripts/update-copyrights: Likewise.
4807         * stdio-common/tst-printf.sh: Likewise.
4808         * stdio-common/tst-unbputc.sh: Likewise.
4809         * stdlib/tst-fmtmsg.sh: Likewise.
4810         * stdlib/tst-setcontext3.sh: Likewise.
4811         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4812         * sysdeps/unix/make-syscalls.sh: Likewise.
4814 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4816         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4817         asm stw with atomic_exchange_rel.  Add explanatory comment.
4818         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4819         Likewise.
4821 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4823         [BZ #19122]
4824         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4825         * sysdeps/generic/dl-unistd.h: New file.
4826         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4828 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4830          [BZ #19122]
4831          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4832          * sysdeps/generic/dl-mman.h: New file.
4833          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4835 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4837         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4838         trailing whitespace removed.
4839         * scripts/config.guess: Update to version 2016-01-01.
4840         * scripts/config.sub: Update to version 2016-01-01.
4841         * scripts/move-if-change: Update from gnulib.
4843 2016-01-04  Anton Blanchard  <anton@samba.org>
4845         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4846         for array indices.
4847         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4849 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4851         * NEWS: Update copyright dates.
4852         * catgets/gencat.c (print_version): Likewise.
4853         * csu/version.c (banner): Likewise.
4854         * debug/catchsegv.sh: Likewise.
4855         * debug/pcprofiledump.c (print_version): Likewise.
4856         * debug/xtrace.sh (do_version): Likewise.
4857         * elf/ldconfig.c (print_version): Likewise.
4858         * elf/ldd.bash.in: Likewise.
4859         * elf/pldd.c (print_version): Likewise.
4860         * elf/sotruss.sh: Likewise.
4861         * elf/sprof.c (print_version): Likewise.
4862         * iconv/iconv_prog.c (print_version): Likewise.
4863         * iconv/iconvconfig.c (print_version): Likewise.
4864         * locale/programs/locale.c (print_version): Likewise.
4865         * locale/programs/localedef.c (print_version): Likewise.
4866         * login/programs/pt_chown.c (print_version): Likewise.
4867         * malloc/memusage.sh (do_version): Likewise.
4868         * malloc/memusagestat.c (print_version): Likewise.
4869         * malloc/mtrace.pl: Likewise.
4870         * manual/libc.texinfo: Likewise.
4871         * nptl/version.c (banner): Likewise.
4872         * nscd/nscd.c (print_version): Likewise.
4873         * nss/getent.c (print_version): Likewise.
4874         * nss/makedb.c (print_version): Likewise.
4875         * posix/getconf.c (main): Likewise.
4876         * scripts/test-installation.pl: Likewise.
4877         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4879         * All files with FSF copyright notices: Update copyright dates
4880         using scripts/update-copyrights.
4881         * intl/plural.c: Regenerated.
4882         * locale/programs/charmap-kw.h: Likewise.
4883         * locale/programs/locfile-kw.h: Likewise.
4885 2016-01-02  Helge Deller  <deller@gmx.de>
4887         [BZ #19285]
4888         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4889         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4890         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4891         (MADV_xxK_PAGES): Remove.
4893 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4895         [BZ #15421]
4896         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4897         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4898         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4899         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4901 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4903         [BZ #19408]
4904         * sysdeps/unix/sysv/linux/personality.c: New file.
4905         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4906         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4907         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4908         (sysdep_routines): Add personality.
4909         (tests): Add tst-personality.
4910         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4911         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4912         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4913         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4914         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4915         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4916         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4919         Likewise.
4920         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4921         Likewise.
4922         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4923         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4924         Likewise.
4926 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4928         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4929         (PATH_ARM_SYSTYPE): Remove.
4930         (PATH_CPUINFO): Likewise.
4931         (IO_BASE_FOOTBRIDGE): Likewise.
4932         (IO_SHIFT_FOOTBRIDGE): Likewise.
4933         (struct platform): Likewise.
4934         (init_iosys): Remove compatibility code for 2.4 kernels.
4935         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4937 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4939         * malloc/tst-malloc-thread-fail.c: New file.
4940         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4941         (tst-malloc-thread-fail): Link against libpthread.
4943 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4945         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4946         (get_parser): New function.
4947         (main): New function.
4949 2015-12-29  Rob Wu  <rob@robwu.nl>
4951         [BZ #19369]
4952         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4954 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4956         [BZ #19270]
4957         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4959 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4961         [BZ #15421]
4962         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4964 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4966         [BZ #13690]
4967         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4968         after releasing it.
4969         (__lll_robust_unlock): Likewise.
4970         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4972         (lll_robust_unlock): Likewise.
4973         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4974         Prevent warnings in callers.
4976 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4978         * malloc/arena.c (list_lock): Update comment.
4980 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4982         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4983         __parse_hwcap_and_convert_at_platform to libc.a.
4985 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4987         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4988         platform and feature support for POWER9.
4989         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4990         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4991         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4992         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4993         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4994         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4995         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4996         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4998 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5000         Harmonize generic stdio-lock support with nptl
5002         This fixes build when _IO_funlockfile is a macro, fixes build where
5003         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5004         stack unwind.
5006         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5007         _IO_release_lock ): Use cleanup attribute on new
5008         _IO_acquire_lock_file variable instead of assuming that
5009         _IO_release_lock will be called.
5010         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5011         _IO_acquire_lock_needs_exceptions_enabled.
5012         (_IO_acquire_lock_clear_flags2): New macro.
5014 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5016         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5018 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5020         [BZ #19182]
5021         * malloc/arena.c (list_lock): Document lock ordering requirements.
5022         (free_list_lock): New lock.
5023         (ptmalloc_lock_all): Comment on free_list_lock.
5024         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5025         (detach_arena): Update comment.  free_list_lock is now needed.
5026         (_int_new_arena): Use free_list_lock around detach_arena call.
5027         Acquire arena lock after list_lock.  Add comment, including FIXME
5028         about incorrect synchronization.
5029         (get_free_list): Switch to free_list_lock.
5030         (reused_arena): Acquire free_list_lock around detach_arena call
5031         and attached threads counter update.  Add two FIXMEs about
5032         incorrect synchronization.
5033         (arena_thread_freeres): Switch to free_list_lock.
5034         * malloc/malloc.c (struct malloc_state): Update comments to
5035         mention free_list_lock.
5037 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5039         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5040         Remove functions.
5041         (sloww, sloww1): Accept argument to offset quadrant.
5042         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5043         quadrant.
5044         (__sin, __cos): Consolidate common code into new functions.
5045         (reduce_sincos_1, do_sincos_1): New functions.
5046         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5049         code to new functions.
5050         (reduce_sincos_2, do_sincos_2): New functions.
5051         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5054         common code for sincos.
5055         (__cos) [!IN_SINCOS]: Likewise.
5056         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5057         New function.
5058         (__sincos): Use it.
5060 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5062         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5063         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5064         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5066 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5068         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5071         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5072         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5073         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5074         index_Prefer_No_VZEROUPPER): New feature.
5075         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5076         Prefer_No_VZEROUPPER for Knights Landing.
5078 015-12-18  Torvald Riegel  <triegel@redhat.com>
5080         * math/atest-exp2.c (mp_exp_m1): Remove.
5082 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5084         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5085         syscalls.
5086         (__SYSCALL0): New macro.
5087         (__SYSCALL1): Likewise.
5088         (__SYSCALL2): Likewise.
5089         (__SYSCALL3): Likewise.
5090         (__SYSCALL4): Likewise.
5091         (__SYSCALL5): Likewise.
5092         (__SYSCALL6): Likewise.
5093         (__SYSCALL_CONCAT_X): Likewise.
5094         (__SYSCALL_CONCAT): Likewise.
5095         (__SYSCALL_DIST): Likewise.
5096         (__SYSCALL_CALL): Likewise.
5098 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5100         [BZ #19363]
5101         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5103 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5105         [BZ #19375]
5106         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5107         negative subnormals.
5109 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5112         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5113         (INTERNAL_SYSCALL_NCS): Use it.
5114         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5116 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5118         [BZ #19243]
5119         * malloc/arena.c (get_free_list): Remove assert and adjust
5120         reference count handling.  Add comment about reused_arena
5121         interaction.
5122         (reused_arena): Add comments abount get_free_list interaction.
5123         * malloc/tst-malloc-thread-exit.c: New file.
5124         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5125         (tst-malloc-thread-exit): Link against libpthread.
5127 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5129         [BZ #19367]
5130         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5131         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5132         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5133         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5134         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5136 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5138         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5139         Silvermont optimizations for Knights Landing.
5141 2015-12-15  Andreas Schwab  <schwab@suse.de>
5143         [BZ #17197]
5144         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5145         immediately after emitting SI.
5146         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5147         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5148         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5149         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5150         * iconvdata/bug-iconv10.c: New file.
5151         * iconvdata/Makefile (tests): Add bug-iconv10.
5152         ($(objpfx)bug-iconv10.out): New rule.
5154 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5156         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5157         aliasing violation.
5159 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5161         [BZ #18472]
5162         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5163         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5164         conditionals for them.
5165         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5166         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5168         sys/kdaemon.h.
5169         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5170         compat-only syscall, obsoleted in glibc 2.23.
5171         (create_module): Likewise.
5172         (get_kernel_syms): Likewise.
5173         (query_module): Likewise.
5174         (uselib): Likewise.
5175         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5177 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5179         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5180         <linux/version.h>.
5181         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5182         conditional code.
5183         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5184         and ioshift_name initialization.
5186 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5189         Fix indentation.
5191 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5193         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5195 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5197         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5199 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5200             Jakub Wilk  <jwilk@debian.org>
5202         [BZ #19347]
5203         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5204         to change the group of the device to the tty group.
5206 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5208         Split large string section; add truncation advice
5209         * manual/examples/strncat.c: Remove.
5210         This example was misleading, as the code would have undefined
5211         behavior if "hello" was longer than SIZE.  Anyway, the manual
5212         shouldn't encourage strncpy+strncat for this sort of thing.
5213         * manual/string.texi (Copying Strings and Arrays): Split into
5214         three sections Copying Strings and Arrays, Concatenating Strings,
5215         and Truncating Strings, as this section was way too long.  All
5216         cross-referenced changed.  Add advice about string-truncation
5217         functions.  Remove misleading strncat example.
5219 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5221         * manual/nss.texi (NSS Modules Interface): Document
5222         NSS_STATUS_NOTFOUND and SUCCESS.
5224 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5226         [BZ 18568]
5227         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5228         201505L, for Unicode 8.
5230 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5232         * locale/C-translit.h: Regenerate.
5234 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5236         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5237         and U+0153.
5239 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5241         [BZ #19351]
5242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5243         expanding log(1+z), compare z rather than its square with epsilon
5244         to determine when to avoid evaluating the expansion.
5246         [BZ #19350]
5247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5248         Increase overflow threshold.
5250         [BZ #19349]
5251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5252         when small.
5254         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5256         New macro.
5257         [__LINUX_KERNEL_VERSION >= 0x040300]
5258         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5260         Likewise.
5261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5262         Likewise.
5263         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5264         Likewise.
5265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5266         Likewise.
5267         [__LINUX_KERNEL_VERSION >= 0x040300]
5268         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5269         [__LINUX_KERNEL_VERSION >= 0x040300]
5270         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5271         [__LINUX_KERNEL_VERSION >= 0x040300]
5272         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5273         [__LINUX_KERNEL_VERSION >= 0x040300]
5274         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5275         [__LINUX_KERNEL_VERSION >= 0x040300]
5276         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5278         Likewise.
5279         [__LINUX_KERNEL_VERSION >= 0x040300]
5280         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5282         Likewise.
5283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5284         Likewise.
5285         [__LINUX_KERNEL_VERSION >= 0x040300]
5286         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5288         Likewise.
5289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5290         Likewise.
5291         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5293         Likewise.
5294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5295         Likewise.
5296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5297         Likewise.
5298         [__LINUX_KERNEL_VERSION >= 0x040300]
5299         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5301         Likewise.
5302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5303         Likewise.
5304         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5305         Likewise.
5306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5307         Likewise.
5308         [__LINUX_KERNEL_VERSION >= 0x040300]
5309         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5310         [__LINUX_KERNEL_VERSION >= 0x040300]
5311         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5312         [__LINUX_KERNEL_VERSION >= 0x040300]
5313         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5314         [__LINUX_KERNEL_VERSION >= 0x040300]
5315         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5316         [__LINUX_KERNEL_VERSION >= 0x040300]
5317         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5319         Likewise.
5320         [__LINUX_KERNEL_VERSION >= 0x040300]
5321         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5323         Likewise.
5324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5325         Likewise.
5326         [__LINUX_KERNEL_VERSION >= 0x040300]
5327         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5329         Likewise.
5330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5331         Likewise.
5332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5333         (__ASSUME_SOCKET_SYSCALL): Likewise.
5334         (__ASSUME_BIND_SYSCALL): Likewise.
5335         (__ASSUME_CONNECT_SYSCALL): Likewise.
5336         (__ASSUME_LISTEN_SYSCALL): Likewise.
5337         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5338         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5339         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5340         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5341         (__ASSUME_SEND_SYSCALL): Likewise.
5342         (__ASSUME_SENDTO_SYSCALL): Likewise.
5343         (__ASSUME_RECV_SYSCALL): Likewise.
5344         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5345         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5346         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5347         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5348         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5349         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5350         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5352         Likewise.
5353         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5354         Likewise.
5355         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5356         Likewise.
5357         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5358         Likewise.
5359         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5360         Likewise.
5361         [__LINUX_KERNEL_VERSION >= 0x020625]
5362         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5363         [__LINUX_KERNEL_VERSION >= 0x020625]
5364         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5365         [__LINUX_KERNEL_VERSION >= 0x020625]
5366         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5367         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5368         Likewise.
5369         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5370         Likewise.
5371         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5372         Likewise.
5373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5374         Likewise.
5375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5376         Likewise.
5377         [__LINUX_KERNEL_VERSION >= 0x020625]
5378         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5379         [__LINUX_KERNEL_VERSION >= 0x020625]
5380         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5381         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5382         Likewise.
5383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5384         Likewise.
5386 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5388         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5389         record the current if the current ABI and CPU support the FP64
5390         extension.
5391         (has-modd-spreg): Define to record the current if the current ABI and
5392         CPU support 32-bit floating point values in odd FPU registers.
5393         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5394         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5395         $(has-modd-spreg) equals yes.
5396         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5397         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5398         $(has-modd-spreg) equal yes.
5400 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5402         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5403         basename.
5405 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5407         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5408         (bench-string): ... here.
5409         (bench): Add bench-string.
5410         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5411         to *-benchset to reflect what they are.
5412         (benchset): Adjust.
5414         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5415         cos-inputs.
5417 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5419         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5420         __attribute__ ((__simd__)) for vector math function declarations.
5422 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5424         Fix typo in strncat, wcsncat manual entries
5425         * manual/string.texi (Copying and Concatenation): Fix typos in
5426         sample implementations of strncat and wcsncat, by having them use
5427         the old value of the destination length, not the new one.
5429 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5431         [BZ #16961]
5432         [BZ #16962]
5433         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5434         string on the stack for strtod.
5435         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5436         a string on the stack for strtof.
5437         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5438         constructing a string on the stack for strtold.
5439         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5440         __strtold_nan to GLIBC_PRIVATE.
5441         * math/test-nan-overflow.c: New file.
5442         * math/test-nan-payload.c: Likewise.
5443         * math/Makefile (tests): Add test-nan-overflow and
5444         test-nan-payload.
5446 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5448         Consistency about byte vs character in string.texi
5449         * manual/string.texi (String and Array Utilities):
5450         Distinguish more carefully among bytes, multibyte characters,
5451         and wide characters.  Use "byte" when talking about C 'char',
5452         to distinguish it more clearly from multibyte characters.
5453         Say "wide character" or "multibyte character" instead of
5454         "character", when a wide or multibyte character is intended.
5455         Similarly for "multibyte string" versus "string".
5456         Define these terms more carefully.
5458 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5460         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5461         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5462         Likewise.
5463         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5464         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5465         * sysdeps/sh/math_private.h: New file.
5466         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5467         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5468         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5469         long double function name.
5470         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5471         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5472         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5476         Remove __finitel, __isinfl, and __isnanl.
5477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5478         Likewise.
5479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5481         Remove __finitel.
5482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5483         Likewise.
5484         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5486 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5488         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5489         installed libmvec_nonshared.a.
5491 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5493         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5494         (sysdep_routines): Likewise.
5495         (sysdep-rtld-routines): Likewise.
5496         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5497         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5498         * sysdeps/powerpc/Versions: Added new
5499         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5500         * sysdeps/powerpc/hwcapinfo.c: New file.
5501         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5502         and parse hwcap, hwcap2 and platform number information.
5503         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5504         to store HWCAP+HWCAP2 and platform number.
5505         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5506         for HWCAP+HWCAP2 and platform number in the TCB.
5507         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5508         the HWCAP, HWCAP2 and platform number in the TCB.
5509         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5510         (TLS_INIT_TP): Included calls to add the hwcap and
5511         at_platform values in the TCB in TP initialization.
5512         (TLS_DEFINE_INIT_TP): Likewise.
5513         (THREAD_GET_HWCAP): New macro.
5514         (THREAD_SET_HWCAP): Likewise.
5515         (THREAD_GET_AT_PLATFORM): Likewise.
5516         (THREAD_SET_AT_PLATFORM): Likewise.
5517         * sysdeps/powerpc/powerpc32/dl-machine.h:
5518         (dl_platform_init): New function that calls
5519         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5520         powerpc32.
5521         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5522         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5523         this functionality, static linking case.
5524         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5525         linking case.
5526         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5527         __parse_hwcap_and_convert_at_platform for the static linking case.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5529         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5530         ABI list for GLIBC 2.23.
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5532         Likewise.
5533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5534         Likewise.
5536 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5538         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5539         * configure: Regenerate.
5540         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5541         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5543 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5545         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5546         * iconvdata/ibm933.c: Likewise.
5547         * iconvdata/ibm935.c: Likewise.
5548         * iconvdata/ibm937.c: Likewise.
5549         * iconvdata/ibm939.c: Likewise.
5551 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5553         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5554         pthread_join.
5555         * nptl/tst-cancel21.c (tf): Likewise.
5557 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5559         [BZ #19313]
5560         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5561         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5562         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5563         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5564         Likewise.
5565         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5566         Likewise.
5567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5568         Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5570         Likewise.
5571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5572         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5573         unsigned long int with __CPU_MASK_TYPE.
5575 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5577         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5579 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5581         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5582         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5583         t512.x.
5584         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5586 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5588         [BZ #19214]
5589         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5590         argument to return extended model.  Update family and model
5591         with extended family and model when family == 0x0f.
5592         (init_cpu_features): Updated.
5594 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5596         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5597         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5599         * sysdeps/mach/hurd/mmap64.c: New file.
5601 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5603         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5604         rights for its main user thread in NEWTASK.
5606 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5608         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5609         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5611 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5613         [BZ #14259]
5614         * Makeconfig: Rename localedir to complocaledir.
5615         Rename inst_localedir to inst_complocaledir.
5616         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5617         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5618         * configure.ac: Use libc_cv_complocaledir.
5619         * configure: Regenerate.
5620         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5621         -DCOMPLOCALEDIR.
5622         * locale/findlocale.c: Use COMPLOCALEDIR.
5623         * locale/loadarchive.c: Likewise.
5624         * locale/programs/locale.c: Likewise.
5625         * locale/programs/localedef.c: Likewise.
5626         * locale/programs/locarchive.c: Likewise.
5627         * localedata/Makefile: Use inst_complocaledir.
5628         * sysdeps/gnu/configure: Regenerate.
5629         * sysdeps/hppa/configure: Regenerate.
5630         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5631         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5633         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5634         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5635         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5636         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5638 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5640         [BZ #19058]
5641         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5642         AS_NEEDED.
5643         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5644         workaround.
5645         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5646         libmvec-static-only-routines): Added new file.
5647         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5649 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5651         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5652         of interrupted RPC instead of restoring it.
5654         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5655         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5656         libc_hidden_def.
5657         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5658         into initialized data instead of common. Define rtld_hidden_data_def.
5659         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5660         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5661         libc_hidden_def.
5662         (if_freenameindex): Add libc_hidden_weak.
5663         (if_nameindex): Add libc_hidden_weak.
5664         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5665         __open64.
5666         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5667         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5668         * sysdeps/mach/nanosleep.c: Include <time.h>
5669         (__nanosleep): Rename to __libc_nanosleep.
5670         (__nanosleep): Add weak_alias.
5671         (nanosleep): Update alias.
5673 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5675         * stdlib/strtod_nan.c: New file.
5676         * stdlib/strtod_nan_double.h: Likewise.
5677         * stdlib/strtod_nan_float.h: Likewise.
5678         * stdlib/strtod_nan_main.c: Likewise.
5679         * stdlib/strtod_nan_narrow.h: Likewise.
5680         * stdlib/strtod_nan_wide.h: Likewise.
5681         * stdlib/strtof_nan.c: Likewise.
5682         * stdlib/strtold_nan.c: Likewise.
5683         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5684         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5685         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5686         * wcsmbs/wcstod_nan.c: Likewise.
5687         * wcsmbs/wcstof_nan.c: Likewise.
5688         * wcsmbs/wcstold_nan.c: Likewise.
5689         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5690         strtold_nan.
5691         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5692         wcstof_nan.
5693         * include/stdlib.h (__strtof_nan): Declare and use
5694         libc_hidden_proto.
5695         (__strtod_nan): Likewise.
5696         (__strtold_nan): Likewise.
5697         (__wcstof_nan): Likewise.
5698         (__wcstod_nan): Likewise.
5699         (__wcstold_nan): Likewise.
5700         * include/wchar.h (____wcstoull_l_internal): Declare.
5701         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5702         (____strtoull_l_internal): Remove declaration.
5703         (STRTOF_NAN): Define macro.
5704         (SET_MANTISSA): Remove macro.
5705         (STRTOULL): Likewise.
5706         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5707         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5708         (STRTOF_NAN): Define macro.
5709         (SET_MANTISSA): Remove macro.
5710         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5711         (SET_MANTISSA): Remove macro.
5712         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5713         macro.
5714         (SET_MANTISSA): Remove macro.
5715         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5716         macro.
5717         (SET_MANTISSA): Remove macro.
5718         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5719         (SET_MANTISSA): Remove macro.
5720         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5721         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5722         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5724         [BZ #19266]
5725         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5726         upper case and lower case letters inside NAN(), not using TOLOWER.
5727         * stdlib/tst-strtod-nan-locale-main.c: New file.
5728         * stdlib/tst-strtod-nan-locale.c: Likewise.
5729         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5730         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5731         Depend on $(gen-locales).
5732         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5733         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5734         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5735         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5736         Depend on $(gen-locales).
5737         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5739 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5741         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5743         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5745         __finitel, __isinfl, and __isnanl.
5746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5747         Likewise.
5748         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5750         __finitel.
5751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5752         Likewise.
5753         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5755 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5757         * malloc/memusage.c (me): Remove redundant getenv call.
5759 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5761         [BZ #19143]
5762         [BZ #19164]
5763         * nptl/check-cpuset.h: Remove.
5764         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5765         Remove CPU set size check.
5766         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5767         Likewise.
5768         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5769         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5770         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5771         (__pthread_setaffinity_new): Remove CPU set size check.
5772         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5773         (__kernel_cpumask_size): Remove.
5774         (__sched_setaffinity_new): Remove CPU set size check.
5775         * manual/threads.texi (Default Thread Attributes): Remove stale
5776         reference to check_cpuset_attr, determine_cpumask_size in comment.
5777         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5778         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5779         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5780         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5781         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5782         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5783         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5784         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5785         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5786         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5787         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5788         skeleton test file.
5789         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5790         tst-affinity-pid.
5792 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5794         * scripts/update-abilist.sh: New file.
5795         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5796         * Makerules (update-all-abi-%, update-all-abi)
5797         (subdir_update-all-abi): New targets.
5798         * elf/Makefile (update-all-abi): New target.
5800 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5802         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5803         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5804         (__libc_lock_define_initialized): Use it.
5805         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5806         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5807         * malloc/malloc.c (main_arena): Likewise.
5808         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5809         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5811 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5813         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5814         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5815         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5816         (PTRACE_O_MASK): Update value.
5817         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5818         New value in enum __ptrace_setoptions.
5819         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5820         (PTRACE_O_MASK): Update value.
5821         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5822         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5823         (PTRACE_O_MASK): Update value.
5824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5825         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5826         (PTRACE_O_MASK): Update value.
5827         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5828         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5829         (PTRACE_O_MASK): Update value.
5830         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5831         New value in enum __ptrace_setoptions.
5832         (PTRACE_O_MASK): Update value.
5833         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5834         New value in enum __ptrace_setoptions.
5835         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5836         (PTRACE_O_MASK): Update value.
5838         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5839         New macro.
5840         (PACKET_AUXDATA): Likewise.
5841         (PACKET_ORIGDEV): Likewise.
5842         (PACKET_VERSION): Likewise.
5843         (PACKET_HDRLEN): Likewise.
5844         (PACKET_RESERVE): Likewise.
5845         (PACKET_TX_RING): Likewise.
5846         (PACKET_LOSS): Likewise.
5847         (PACKET_VNET_HDR): Likewise.
5848         (PACKET_TX_TIMESTAMP): Likewise.
5849         (PACKET_TIMESTAMP): Likewise.
5850         (PACKET_FANOUT): Likewise.
5851         (PACKET_TX_HAS_OFF): Likewise.
5852         (PACKET_QDISC_BYPASS): Likewise.
5853         (PACKET_ROLLOVER_STATS): Likewise.
5854         (PACKET_FANOUT_DATA): Likewise.
5855         (PACKET_MR_UNICAST): Likewise.
5857         [BZ #19242]
5858         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5859         (TOUPPER): Likewise.
5860         * stdlib/tst-strtol-locale-main.c: New file.
5861         * stdlib/tst-strtol-locale.c: Likewise.
5862         * stdlib/Makefile (tests): Add tst-strtol-locale.
5863         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5864         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5865         Depend on $(gen-locales).
5866         * wcsmbs/tst-wcstol-locale.c: New file.
5867         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5868         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5869         tr_TR.ISO-8859-9.
5870         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5871         Depend on $(gen-locales).
5873 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5875         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5876         __glibc_likely instead of __builtin_expect.  After falling back to
5877         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5878         system interface to register the code pages as occupied.
5880 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5882         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5883         [!ARM_MATH_PRIVATE_H].
5884         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5885         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5886         [!HPPA_MATH_PRIVATE_H].
5887         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5888         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5889         to [!I386_MATH_PRIVATE_H].
5890         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5891         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5892         Change guard to [!M68K_MATH_PRIVATE_H].
5893         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5894         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5895         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5896         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5897         macro.
5898         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5899         [!MIPS_MATH_PRIVATE_H].
5900         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5901         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5902         [!NIO2_MATH_PRIVATE_H].
5903         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5904         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5905         [!TILE_MATH_PRIVATE_H].
5906         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5908         [BZ #15421]
5909         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5910         initialize with 0 and define as weak alias of __signgam.
5911         * include/math.h [!_ISOMAC] (__signgam): Declare.
5912         * math/Makefile (libm-calls): Add w_lgamma_compat.
5913         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5914         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5915         test-signgam-ullong-init.
5916         (tests-static): Add test-signgam-uchar-static,
5917         test-signgam-uchar-init-static, test-signgam-uint-static,
5918         test-signgam-uint-init-static, test-signgam-ullong-static and
5919         test-signgam-ullong-init-static.
5920         (CFLAGS-test-signgam-uchar.c): New variable.
5921         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5922         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5923         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5924         (CFLAGS-test-signgam-uint.c): Likewise.
5925         (CFLAGS-test-signgam-uint-init.c): Likewise.
5926         (CFLAGS-test-signgam-uint-static.c): Likewise.
5927         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5928         (CFLAGS-test-signgam-ullong.c): Likewise.
5929         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5930         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5931         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5932         * math/Versions (libm): Add GLIBC_2.23.
5933         * math/lgamma-compat.h: New file.
5934         * math/test-signgam-main.c: Likewise.
5935         * math/test-signgam-uchar-init-static.c: Likewise.
5936         * math/test-signgam-uchar-init.c: Likewise.
5937         * math/test-signgam-uchar-static.c: Likewise.
5938         * math/test-signgam-uchar.c: Likewise.
5939         * math/test-signgam-uint-init-static.c: Likewise.
5940         * math/test-signgam-uint-init.c: Likewise.
5941         * math/test-signgam-uint-static.c: Likewise.
5942         * math/test-signgam-uint.c: Likewise.
5943         * math/test-signgam-ullong-init-static.c: Likewise.
5944         * math/test-signgam-ullong-init.c: Likewise.
5945         * math/test-signgam-ullong-static.c: Likewise.
5946         * math/test-signgam-ullong.c: Likewise.
5947         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5948         wrapper of w_lgamma_main.c.
5949         * math/w_lgamma_compat.c: New file.
5950         * math/w_lgamma_compatf.c: Likewise.
5951         * math/w_lgamma_compatl.c: Likewise.
5952         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5953         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5954         defining compatibility symbols.
5955         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5956         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5957         wrapper of w_lgammaf_main.c.
5958         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5959         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5960         defining compatibility symbols.
5961         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5962         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5963         wrapper of w_lgammal_main.c.
5964         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5965         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5966         defining compatibility symbols.
5967         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5968         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5969         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5970         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5971         <lgamma-compat.h>.
5972         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5973         (__ieee754_gamma): Define as alias.
5974         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5975         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5976         <lgamma-compat.h>.
5977         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5978         (__ieee754_gammaf): Define as alias.
5979         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5980         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5981         <lgamma-compat.h>.
5982         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5983         (__ieee754_gammal): Define as alias.
5984         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5985         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5986         <math/w_lgamma_compat.c>.
5987         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5988         Define as alias of __lgamma_compat and use in defining lgammal.
5989         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5990         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5991         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5992         (USE_AS_COMPAT): New macro.
5993         (LGAMMA_OLD_VER): Undefine and redefine.
5994         (lgammal): Do not define here.
5995         (gammal): Only define here if [GAMMA_ALIAS].
5996         * conform/linknamespace.pl (@whitelist): Remove signgam.
5997         * sysdeps/nacl/libm.abilist: Update.
5998         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5999         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6000         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6003         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6004         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6005         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6006         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6008         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6009         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6011         Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6013         Likewise.
6014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6015         Likewise.
6016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6017         Likewise.
6018         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6024         Likewise.
6025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6028         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6029         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6031 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6033         [BZ #16364]
6034         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6035         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6037 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6039         * sysdeps/s390/fpu/bits/mathinline.h:
6040         Use __asm__ [__volatile__] instead of asm [volatile].
6041         * sysdeps/s390/abort-instr.h: Likewise.
6042         * sysdeps/s390/atomic-machine.h: Likewise.
6043         * sysdeps/s390/bits/string.h: Likewise.
6044         * sysdeps/s390/dl-tls.h: Likewise.
6045         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6046         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6047         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6048         * sysdeps/s390/fpu/fesetround.c: Likewise.
6049         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6050         * sysdeps/s390/fpu/s_fma.c: Likewise.
6051         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6052         * sysdeps/s390/memusage.h: Likewise.
6053         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6054         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6055         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6056         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6057         * sysdeps/s390/nptl/tls.h: Likewise.
6058         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6059         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6060         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6061         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6062         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6063         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6064         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6065         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6066         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6067         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6068         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6069         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6070         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6071         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6072         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6073         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6074         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6075         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6076         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6078         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6080         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6082 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6083             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6085         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6086         Add lwarx hint, and use macro for acquire instruction.
6087         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6088         Likewise.
6089         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6090         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6091         update to use new atomic macros.
6093 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6095         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6096         (__lll_trylock_elision): Fix setting of adapt_count.
6097         * sysdeps/unix/sysv/linux/powerpc/htm.h
6098         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6099         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6100         (_ABORT_SYSCALL): Renumber, and clarify definition.
6101         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6103 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6106         after system headers to prevent MIN/MAX redefinition.  Define
6107         HAVE_ALLOCA to preserve builtin alloca usage.
6109 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6112         static and don't set or restore rounding.
6113         (__cos)[IN_SINCOS]: Likewise.
6114         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6115         (__sincos): Set and restore rounding mode.  Remove check for infinite
6116         or NaN input.
6118         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6120         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6121         as used.
6123 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6125         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6127 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6129         * config.make.in (have-glob-dat-reloc): New.
6130         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6131         target supports GLOB_DAT relocaton. AC_SUBST.
6132         * configure: Regenerated.
6133         * elf/Makefile (tests): Add tst-prelink.
6134         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6135         (tst-prelink-ENV): New.
6136         ($(objpfx)tst-prelink-conflict.out): Likewise.
6137         ($(objpfx)tst-prelink-cmp.out): Likewise.
6138         * sysdeps/x86/tst-prelink.c: Moved to ...
6139         * elf/tst-prelink.c: Here.
6140         * sysdeps/x86/tst-prelink.exp: Moved to ...
6141         * elf/tst-prelink.exp: Here.
6142         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6143         (tst-prelink-ENV): Removed.
6144         ($(objpfx)tst-prelink-conflict.out): Likewise.
6145         ($(objpfx)tst-prelink-cmp.out): Likewise.
6146         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6148 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6150         [BZ #14551]
6151         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6152         (__mpn_construct_long_double): If high part overflows to infinity,
6153         set errno and recompute overflowed result of the correct sign.
6154         * sysdeps/ieee754/ldbl-128ibm/Makefile
6155         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6156         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6157         $(libm).
6158         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6160 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6162         [BZ #15479]
6163         [BZ #19238]
6164         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6165         floating-point state after first operation on input.  Restore full
6166         state rather than just rounding mode.
6167         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6168         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6169         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6171         [BZ #19235]
6172         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6173         add 0.5 to integer arguments.
6174         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6175         Likewise.
6176         (.LC2): New object.
6178 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6180         * scripts/pylintrc (reports): Set to no.
6182 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6184         * elf/dl-load.c (open_verify): Take new argument FD.
6185         Skip __open call if passed FD is not -1.
6186         (_dl_map_object, open_path): Update callers.
6187         * elf/dl-sysdep-open.h: New file.
6188         * elf/dl-load.c: Include it.
6189         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6190         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6191         * sysdeps/nacl/dl-sysdep-open.h: New file.
6192         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6193         from libc to rtld.
6195 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6197         [BZ #19228]
6198         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6199         and restore full floating-point state.
6200         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6201         Likewise.
6202         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6203         Likewise.
6204         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6205         Likewise.
6206         * math/test-nearbyint-except-2.c: New file.
6207         * math/Makefile (tests): Add test-nearbyint-except-2.
6209 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6211         [BZ #19178]
6212         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6213         (tst-prelink-ENV): New.
6214         ($(objpfx)tst-prelink-conflict.out): Likewise.
6215         ($(objpfx)tst-prelink-cmp.out): Likewise.
6216         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6217         * sysdeps/x86/tst-prelink.c: New file.
6218         * sysdeps/x86/tst-prelink.exp: Likewise.
6220 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6222         * math/auto-libm-test-in: Add another test of pow.
6223         * math/auto-libm-test-out: Regenerated.
6224         * math/libm-test.inc (pow_test_data): Add another test.
6226 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6228         [BZ #19219]
6229         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6230         weak_alias to nearbyintl.
6232 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6234         * sysdeps/aarch64/bits/string.h: New file.
6235         (_STRING_ARCH_unaligned): Define.
6237 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6239         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6240         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6241         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6242         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6245 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6247         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6248         for original name of the DSO.  Add it to the name list of the DSO
6249         if it is actually given.
6250         (_dl_map_object): Keep track of whether an audit module rewrote
6251         the file name.  If yes, pass the original name to
6252         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6253         debugging is enabled, log the change of the file name.
6254         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6255         _dl_map_object_from_fd.
6256         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6257         * elf/tst-audit11.c: New file
6258         * elf/tst-auditmod11.c: New file.
6259         * elf/tst-audit11mod1.c: New file.
6260         * elf/tst-audit11mod2.c: New file.
6261         * elf/tst-audit11mod2.map: New file.
6262         * elf/tst-audit12.c: New file
6263         * elf/tst-auditmod12.c: New file.
6264         * elf/tst-audit12mod1.c: New file.
6265         * elf/tst-audit12mod2.c: New file.
6266         * elf/tst-audit12mod2.map: New file.
6267         * elf/tst-audit12mod3.c: New file.
6269 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6271         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6272         Don't create weak aliases,
6273         because versioned symbols are created later.
6274         * sysdeps/s390/s390-32/setjmp.S
6275         (setjmp, _setjmp): Remove weak and rename to an unique name
6276         in SHARED case due to existing versioned symbols.
6277         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6279         (getcontext): Create weak alias only in non SHARED case.
6280         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6282 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6284         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6285         (__ASSUME_*_SYSCALL) Define new macros.
6286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6287         Remove socketcall syscalls.
6288         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6289         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6290         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6291         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6292         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6293         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6295 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6297         [BZ #12926]
6298         Terminate process on invalid netlink response.
6299         * sysdeps/unix/sysv/linux/netlinkaccess.h
6300         (__netlink_assert_response): Declare.
6301         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6302         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6303         (sysdep_routines): Add netlink_assert_response.
6304         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6305         __netlink_assert_response.
6306         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6307         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6308         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6309         __netlink_assert_response.
6311 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6313         [BZ #19178]
6314         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6315         (RTYPE_CLASS_PLT): Likewise.
6316         (RTYPE_CLASS_COPY): Likewise.
6317         (RTYPE_CLASS_TLS): Likewise.
6318         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6319         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6320         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6321         DL_DEBUG_PRELINK.
6323 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6325         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6326         calls with argument -0.5.
6327         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6329         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6330         (libc_cv_z_nodlopen): Likewise.
6331         (libc_cv_z_initfirst): Likewise.
6332         * configure: Regenerated.
6334 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6336         Simplify abilist format to be line-based.
6337         * scripts/abilist.awk: Collect descriptors in the descs variable.
6338         (emit): Write descs variable and sort it
6339         externally, with sort.
6340         * sysdeps/**/*.abilist: Convert to new format.
6342 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6344         [BZ #11460]
6345         * io/Makefile (routines): Add fts64.
6346         (tests): Add tst-fts and tst-fts-lfs.
6347         (CFLAGS-fts64.c): New.
6348         * io/Versions (GLIBC_2.23): New.
6349         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6350         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6351         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6352         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6353         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6354         (FTSENT64): Likewise.
6355         (fts64_children): Likewise.
6356         (fts64_close): Likewise.
6357         (fts64_open): Likewise.
6358         (fts64_read): Likewise.
6359         (fts64_set): Likewise.
6360         * io/fts64.c: New file.
6361         * io/tst-fts.c: New test.
6362         * io/tst-fts-lfs.c: Likewise.
6363         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6364         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6365         fts64_set.
6366         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6367         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6368         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6369         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6370         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6371         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6373         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6394         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6395         * sysdeps/wordsize-64/fts.c: New file.
6396         * sysdeps/wordsize-64/fts64.c: Likewise.
6397         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6398         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6399         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6400         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6402 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6404         * math/libm-test.inc (NON_FINITE): New macro.
6405         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6406         * math/gen-libm-test.pl (show_exceptions): Add argument
6407         $non_finite.
6408         (parse_args): Update call to show_exceptions.
6409         * math/test-math-finite.h: New file.
6410         * math/test-math-no-finite.h: Likewise.
6411         * math/test-double-finite.c: Likewise.
6412         * math/test-float-finite.c: Likewise.
6413         * math/test-ldouble-finite.c: Likewise.
6414         * math/test-double.c: Include "test-math-no-finite.h".
6415         * math/test-float.c: Include "test-math-no-finite.h".
6416         * math/test-ldouble.c: Include "test-math-no-finite.h".
6417         * math/test-math-inline.h (TEST_FINITE): New macro.
6418         * math/test-math-vector.h (TEST_FINITE): Likewise.
6419         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6420         (libm-tests): Add test-float-finite and test-double-finite.
6421         ($(objpfx)test-float-finite.o): New dependency on
6422         $(objpfx)libm-test.stmp.
6423         ($(objpfx)test-double-finite.o): Likewise.
6424         ($(objpfx)test-ldouble-finite.o): Likewise.
6425         (libm-test-no-inline-cflags): New variable.
6426         (libm-test-finite-cflags): Likewise.
6427         (CFLAGS-test-float-finite.c): Likewise.
6428         (CFLAGS-test-double-finite.c): Likewise.
6429         (CFLAGS-test-ldouble-finite.c): Likewise.
6430         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6431         (CFLAGS-test-double.c): Likewise.
6432         (CFLAGS-test-ldouble.c): Likewise.
6434 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6436         * io/fcntl.c (__fcntl): Add ... to prototype.
6437         * misc/ioctl.c (__ioctl): Likewise.
6438         * misc/syscall.c (syscall): Likewise.
6440 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6442         * scripts/list-fixed-bugs.py: New file.
6444         [BZ #19213]
6445         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6446         returned for argument 1.
6447         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6448         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6449         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6450         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6451         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6452         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6454         [BZ #19211]
6455         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6456         __USE_XOPEN], not if [!__USE_ISOC99].
6457         (lgammaf): Likewise.
6458         (lgammal): Likewise.
6459         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6460         (gammaf): Likewise.
6461         (gammal): Likewise.
6462         * math/test-signgam-finite-c11.c: New file.
6463         * math/test-signgam-finite-c99.c: Likewise.
6464         * math/test-signgam-finite.c: Likewise.
6465         * math/Makefile (tests): Add test-signgam-finite,
6466         test-signgam-finite-c99 and test-signgam-finite-c11.
6467         (CFLAGS-test-signgam-finite.c): New variable.
6468         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6469         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6471         [BZ #19212]
6472         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6473         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6474         500].
6475         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6476         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6477         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6478         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6479         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6480         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6481         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6482         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6483         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6484         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6486         [BZ #19209]
6487         * math/bits/math-finite.h (ldexp): Remove declaration.
6488         (ldexpf): Likewise.
6489         (ldexpl): Likewise.
6491         [BZ #19205]
6492         * math/bits/math-finite.h (acosf): Condition declaration on
6493         [__USE_ISOC99].
6494         (acosl): Likewise.
6495         (acoshf): Likewise.
6496         (acoshl): Likewise.
6497         (asinf): Likewise.
6498         (asinl): Likewise.
6499         (atan2f): Likewise.
6500         (atan2l): Likewise.
6501         (atanhf): Likewise.
6502         (atanhl): Likewise.
6503         (coshf): Likewise.
6504         (coshl): Likewise.
6505         (expf): Likewise.
6506         (expl): Likewise.
6507         (fmodf): Likewise.
6508         (fmodl): Likewise.
6509         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6510         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6511         (j0l): Likewise.
6512         (y0f): Likewise.
6513         (y0l): Likewise.
6514         (j1f): Likewise.
6515         (j1l): Likewise.
6516         (y1f): Likewise.
6517         (y1l): Likewise.
6518         (jnf): Likewise.
6519         (jnl): Likewise.
6520         (ynf): Likewise.
6521         (ynl): Likewise.
6522         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6523         (lgammal_r): Likewise.
6524         (__lgamma_r_finite): New declaration.
6525         (__lgammaf_r_finite): Likewise.
6526         (__lgammal_r_finite): Likewise.
6527         (lgamma): Use __lgamma_r_finite.
6528         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6529         __lgammaf_r_finite.
6530         (lgammal): Condition definition on [__USE_ISOC99].  Use
6531         __lgammal_r_finite.
6532         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6533         __lgamma_r_finite.
6534         (gammaf): Condition definition on [__USE_ISOC99].  Use
6535         __lgammaf_r_finite.
6536         (gammal): Condition definition on [__USE_ISOC99].  Use
6537         __lgammal_r_finite.
6538         (logf): Condition declaration on [__USE_ISOC99].
6539         (logl): Likewise.
6540         (log10f): Likewise.
6541         (log10l): Likewise.
6542         (ldexpf): Likewise.
6543         (ldexpl): Likewise.
6544         (powf): Likewise.
6545         (powl): Likewise.
6546         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6547         __USE_ISOC99].
6548         (remainderf): Condition declaration on [__USE_ISOC99].
6549         (remainderl): Likewise.
6550         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6551         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6552         (scalbl): Likewise.
6553         (sinhf): Condition declaration on [__USE_ISOC99].
6554         (sinhl): Likewise.
6555         (sqrtf): Likewise.
6556         (sqrtl): Likewise.
6558 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6560         * sysdeps/arm/atomic-machine.h
6561         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6562         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6563         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6564         Remove conditional code.
6565         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6566         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6567         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6568         Change conditional to [__ASSEMBLER__].
6569         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6570         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6571         [!__ASSEMBLER__].
6572         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6573         code.
6574         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6575         conditional macro definitions.
6576         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6577         (__arch_compare_and_exchange_val_16_acq): Likewise.
6578         (__arch_compare_and_exchange_val_32_acq): Likewise.
6579         (atomic_exchange_and_add): Likewise.
6580         (atomic_add): Likewise.
6581         (atomic_add_negative): Likewise.
6582         (atomic_add_zero): Likewise.
6583         (atomic_bit_set): Likewise.
6584         (atomic_bit_test_set): Likewise.
6585         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6586         code unconditional.
6587         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6589         * math/test-math-errno.h: New file.
6590         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6591         empty.
6592         (TEST_ERRNO): New macro.
6593         (TEST_EXCEPTIONS): Likewise.
6594         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6595         (TEST_EXCEPTIONS): Likewise.
6596         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6597         * math/test-double.c: Include "test-math-errno.h".
6598         * math/test-float.c: Likewise.
6599         * math/test-ldouble.c: Likewise.
6600         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6601         code unconditional.
6602         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6603         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6604         unconditional.
6605         (test_errno): Only run code if TEST_ERRNO.
6606         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6608 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6610         * nptl/tst-once5.cc: Remove attribution.
6612 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6614         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6615         sqrt, tan, tanh, y0, y1 and yn.
6616         * math/auto-libm-test-out: Regenerated.
6617         * math/libm-test.inc (scalb_test_data): Add more tests.
6618         (scalbn_test_data): Likewise.
6619         (scalbln_test_data): Likewise.
6620         (signbit_test_data): Likewise.
6621         (sin_test_data): Likewise.
6622         (sincos_test_data): Likewise.
6623         (sinh_test_data): Likewise.
6624         (sqrt_test_data): Likewise.
6625         (tan_test_data): Likewise.
6626         (tanh_test_data): Likewise.
6627         (tgamma_test_data): Likewise.
6628         (y0_test_data): Likewise.
6629         (y1_test_data): Likewise.
6630         (yn_test_data): Likewise.
6631         (significand_test_data): Likewise.
6632         * sysdeps/i386/fpu/libm-test-ulps: Update.
6634 2015-11-03  David Kastrup  <dak@gnu.org>
6636         [BZ #18604]
6637         * assert/assert.h (assert): Don't macro-expand failed assertion
6638         expression in error message.
6639         * malloc/malloc.c (assert): Likewise.
6641 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6643         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6644         test.
6645         * configure: Regenerated.
6647 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6649         * math/libm-test.inc (modf_test_data): Add more tests.
6650         (nearbyint_test_data): Likewise.
6651         (nextafter_test_data): Likewise.
6652         (nexttoward_test_data): Likewise.
6653         (pow_test_data): Likewise.
6654         (remainder_test_data): Likewise.
6655         (remquo_test_data): Likewise.
6656         (rint_test_data): Likewise.
6658         [BZ #19201]
6659         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6660         Check for zero remainder in case of large exponents and ensure
6661         correct sign of result in that case.
6662         * math/libm-test.inc (remainder_test_data): Add more tests.
6664         [BZ #6799]
6665         * math/s_nextafter.c: Include <errno.h>.
6666         (__nextafter): Set errno on overflow and underflow.
6667         * math/s_nexttowardf.c: Include <errno.h>.
6668         (__nexttowardf): Set errno on overflow and underflow.
6669         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6670         (__nextafterl): Set errno on overflow and underflow.
6671         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6672         (__nexttoward): Set errno on overflow and underflow.
6673         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6674         (__nexttowardf): Set errno on overflow and underflow.
6675         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6676         (__nextafterf): Set errno on overflow and underflow.
6677         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6678         (__nextafterl): Set errno on overflow and underflow.
6679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6680         (__nexttoward): Set errno on overflow and underflow.
6681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6682         (__nexttowardf): Set errno on overflow and underflow.
6683         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6684         (__nextafterl): Set errno on overflow and underflow.
6685         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6686         (__nexttoward): Set errno on overflow and underflow.
6687         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6688         (__nexttowardf): Set errno on overflow and underflow.
6689         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6690         (__nexttoward): Set errno on overflow and underflow.
6691         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6692         (__nexttowardf): Set errno on overflow and underflow.
6693         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6694         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6695         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6696         (__nextafterl): Set errno on overflow and underflow.
6697         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6698         setting to be missing on overflow.  Add more tests.
6699         (nexttoward_test_data): Likewise.
6701         * configure.ac (libc_cv_initfini_array): Remove configure test.
6702         * configure: Regenerated.
6704 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #19189]
6707         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6708         non-finite argument handle arguments with negative sign.
6710         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6711         result from infinite argument.
6712         (j1_test_data): Likewise.
6713         (jn_test_data): Likewise.
6714         (y0_test_data): Likewise.
6715         (y1_test_data): Likewise.
6716         (yn_test_data): Likewise.
6718         [BZ #16171]
6719         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6720         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6721         * math/w_remainderf.c (dremf): Define as weak alias of
6722         __remainderf.
6723         * math/w_remainderl.c (dreml): Define as weak alias of
6724         __remainderl.
6725         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6726         __remainder.
6727         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6728         __remainderf.
6729         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6730         __remainderl.
6731         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6732         weak alias of remainderl.
6733         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6734         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6735         alias of __remainder.
6736         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6737         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6738         strong alias of __remainderl.
6739         (dreml): Use long_double_symbol.
6740         * math/Makefile (libm-calls): Remove w_drem.
6741         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6742         (CFLAGS-nldbl-drem.c): Remove variable.
6743         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6744         * math/w_drem.c: Remove file.
6745         * math/w_dremf.c: Likewise.
6746         * math/w_dreml.c: Likewise.
6747         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6748         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6749         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6751         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6752         * sysdeps/i386/configure: Regenerated.
6753         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6754         * sysdeps/x86_64/configure: Regenerated.
6756         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6757         test.
6758         (libc_cv_visibility_attribute): Likewise.
6759         (libc_cv_protected_data): Test unconditionally.
6760         (libc_cv_broken_visibility_attribute): Remove configure test.
6761         (libc_cv_have_sdata_section): Test unconditionally.
6762         * configure: Regenerated.
6764         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6765         * include/scratch_buffer.h: Include <stddef.h> instead of
6766         <libc-internal.h>.
6767         (struct scratch_buffer): Use max_align_t instead of
6768         libc_max_align_t.
6770 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6772         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6773         instead of extend_alloca.  Change control flow to avoid a goto.
6774         Remove assert which is trivially always true.
6776 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6778         [BZ #16068]
6779         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6780         (FE_ALL_EXCEPT_X86): New macro.
6781         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6782         FE_ALL_EXCEPT.  Ensure precision control is included in
6783         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6784         handle "denormal operand exception" and clear FZ and DAZ bits.
6785         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6786         (FE_ALL_EXCEPT_X86): New macro.
6787         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6788         FE_ALL_EXCEPT.  Ensure precision control is included in
6789         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6790         handle "denormal operand exception" and clear FZ and DAZ bits.
6791         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6792         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6793         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6794         test-fenv-x87 and test-fenv-sse-2.
6795         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6797         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6798         * math/test-double.h (BUILD_COMPLEX): New macro.
6799         * math/test-float.h (BUILD_COMPLEX): Likewise.
6800         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6802         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6803         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6804         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6806         instead of DBL_DENORM_MIN in comment.
6807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6808         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6809         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6810         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6812         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6814 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6816         [BZ# 19048]
6817         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6818         attached_threads member.
6819         (main_arena): Initialize attached_threads.
6820         * malloc/arena.c (list_lock): Update comment.
6821         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6822         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6823         (deattach_arena): New function.
6824         (_int_new_arena): Initialize arena reference count and deattach
6825         replaced arena.
6826         (get_free_list, reused_arena): Update reference count and deattach
6827         replaced arena.
6828         (arena_thread_freeres): Update arena reference count and only put
6829         unreferenced arenas on the free list.
6831 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6833         [BZ #19181]
6834         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6835         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6836         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6837         * math/test-fenv-clear-main.c: New file.
6838         * math/test-fenv-clear.c: Likewise.
6839         * math/Makefile (tests): Add test-fenv-clear.
6840         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6841         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6842         test-fenv-clear-sse.
6843         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6845         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6846         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6847         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6849 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6851         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6852         static libc.
6854 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6856         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6857         test.
6858         * sysdeps/i386/configure: Regenerated.
6859         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6860         test.
6861         * sysdeps/x86_64/configure: Regenerated.
6862         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6864         memset-avx2 unconditionally instead of conditionally on
6865         [$(config-cflags-avx2) = yes].
6866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6867         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6868         unconditional.
6869         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6870         * sysdeps/x86_64/multiarch/memset_chk.S
6871         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6872         to [IS_IN (libc) && SHARED].
6874 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6876         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6877         configure test.
6878         * sysdeps/arm/configure: Regenerated.
6879         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6880         Define variable if not already defined.
6882         [BZ #17404]
6883         * sysdeps/mips/atomic-machine.h
6884         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6885         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6886         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6888         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6889         unconditional.
6890         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6891         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6892         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6893         unconditional.
6894         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6895         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6896         unconditional.
6897         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6898         * stdlib/setenv.c
6899         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6900         code unconditional.
6901         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6902         Remove conditional code.
6903         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6904         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6905         unconditional.
6906         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6907         code.
6908         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6909         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6910         unconditional.
6911         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6912         code.
6913         * sysdeps/ieee754/ldbl-128/k_tanl.c
6914         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6915         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6916         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6917         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6918         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6919         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6920         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6921         unconditional.
6922         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6923         code.
6924         * sysdeps/ieee754/ldbl-96/k_tanl.c
6925         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6926         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6928         * nptl/tst-initializers1-c11.c: New file.
6929         * nptl/tst-initializers1-gnu11.c: Likewise.
6930         * nptl/Makefile (tests): Add these new tests.
6931         (CFLAGS-tst-initializers1-c11.c): New variable.
6932         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6934         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6935         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6936         instead of -std=gnu99.
6937         * configure.ac (systemtap): Test with -std=gnu11 instead of
6938         -std=gnu99.
6939         * configure: Regenerated.
6940         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6941         in compilation command in comment.
6943         * sysdeps/nptl/configure.ac: Remove file.
6944         * sysdeps/nptl/configure: Remove generated file.
6945         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6946         * configure: Regenerated.
6947         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6948         * config.make.in (have-forced-unwind): Remove variable.
6949         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6950         unconditional.
6951         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6952         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6953         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6954         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6955         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6956         unconditional.
6958 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6960         [BZ #19174]
6961         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6962         .skip_lock_out_of_tbegin_retries.
6963         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6964         (__lll_lock_elision): Likewise, and respect a value of
6965         try_tbegin <= 0.
6967 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6969         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6970         statement.
6972 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6974         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6975         variable.
6976         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6977         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6979         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6980         of -std=c1x -D_ISOC11_SOURCE.
6982         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6983         * configure: Regenerated.
6984         * manual/install.texi (Tools for Compilation): Document
6985         requirement for GCC 4.7 or later.
6986         * INSTALL: Regenerated.
6988 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6990         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6991         on CNT to a conditional jump to 'puntdata'.
6993 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6995         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6996         (libc_cv_gcc_tls_model_attr): Likewise.
6997         * configure: Regenerated.
6999         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7000         * configure: Regenerated.
7001         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7003 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7005         * configure.ac (old_glibc_headers): Remove configure test.
7006         * configure: Regenerated.
7007         * config.make.in (old-glibc-headers): Remove variable.
7008         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7009         (install): Remove dependency on remove-old-headers.
7010         (headers2_0): Remove variable.
7011         (remove-old-headers): Remove rule.
7013         * configure.ac (libc_cv_dot_text): Remove configure test.
7014         (libc_cv_asm_set_directive): Use .text instead of
7015         ${libc_cv_dot_text} in configure test.
7016         * configure: Regenerated.
7018 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7020         [BZ #19168]
7021         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7023 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7025         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7026         not support static linking.
7027         * configure: Regenerate.
7029 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7031         * math/libm-test.inc (check_float_internal): Do not special-case
7032         errors up to 0.5 ulp.
7034         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7035         log2.
7036         * math/auto-libm-test-out: Regenerated.
7037         * math/libm-test.inc (MAX_EXP): New macro.
7038         (ilogb_test_data): Add more tests.
7039         (isfinite_test_data): Likewise.
7040         (isgreater_test_data): Likewise.
7041         (isgreaterequal_test_data): Likewise.
7042         (isinf_test_data): Likewise.
7043         (isless_test_data): Likewise.
7044         (islessequal_test_data): Likewise.
7045         (islessgreater_test_data): Likewise.
7046         (isnan_test_data): Likewise.
7047         (isnormal_test_data): Likewise.
7048         (issignaling_test_data): Likewise.
7049         (isunordered_test_data): Likewise.
7050         (j0_test_data): Likewise.
7051         (j1_test_data): Likewise.
7052         (jn_test_data): Likewise.
7053         (lgamma_test_data): Likewise.
7054         (log_test_data): Likewise.
7055         (log10_test_data): Likewise.
7056         (log1p_test_data): Likewise.
7057         (log2_test_data): Likewise.
7058         (logb_test_data): Likewise.
7059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7061         [BZ #18611]
7062         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7063         avoid excess range and precision on underflow.
7064         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7065         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7066         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7067         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7068         underflow.
7069         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7071         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7072         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7073         * math/auto-libm-test-in: Do not allow missing errno setting for
7074         tests of j1 and jn.
7075         * math/auto-libm-test-out: Regenerated.
7077 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7079         [BZ #15491]
7080         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7081         floating-point environment instead of clearing all exceptions.
7082         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7083         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7084         merging in "invalid" exceptions from frndint.
7085         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7086         * math/test-nearbyint-except.c: New file.
7087         * math/Makefile (tests): Add test-nearbyint-except.
7089 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7091         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7093         * sysdeps/tile/libm-test-ulps: Regenerated.
7095 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7098         (__NR_sync_file_range2): Assume it is always defined.
7099         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7100         (__NR_sync_file_range): Assume it is always defined.
7102 2015-10-22  Andreas Schwab  <schwab@suse.de>
7104         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7105         INTERNAL_SYSCALL_ERRNO.
7106         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7107         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7108         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7109         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7110         Likewise.
7111         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7113 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7115         * io/tst-fcntl.c (fd): New static variable.
7116         (do_prepare): Open temporary file here....
7117         (do_test): ...not here.
7119         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7121 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7123         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7124         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7125         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7126         Moved before "#ifdef __ASSEMBLER__".
7128 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7130         [BZ #19156]
7131         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7132         arguments very close to 0.
7134 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7136         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7137         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7139 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7141         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7142         New.  Defined for GCC 5 and above when not compiling for
7143         profiling.
7144         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7146         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7147         Renamed to ...
7148         (CFLAGS-epoll_pwait.o): This.
7149         (CFLAGS-mmap.c): Renamed to ...
7150         (CFLAGS-mmap.o): This.
7151         (CFLAGS-mmap64.c): Renamed to ...
7152         (CFLAGS-mmap64.o): This.
7153         (CFLAGS-epoll_pwait.os): New.
7154         (CFLAGS-mmap.os): Likewise.
7155         (CFLAGS-mmap64.os): Likewise.
7156         (CFLAGS-semtimedop.os): Likewise.
7157         (CFLAGS-semtimedop.c): Renamed to ...
7158         (CFLAGS-semtimedop.o): This.
7160 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7162         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7163         warning message.
7165 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7167         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7168         * Makefile ($(objpfx)c++-types-check.out): Filter out
7169         $(+gccwarn-c) instead of -Wstrict-prototypes.
7171         * io/fts.c (fts_open): Convert to prototype-style function
7172         definition.
7173         * malloc/mcheck.c (mcheck): Likewise.
7174         (mcheck_pedantic): Likewise.
7175         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7176         internal_function.
7177         (re_search_internal): Likewise.
7178         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7179         prototype-style function definition.
7180         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7181         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7182         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7183         (xdr_utmpptr): Likewise.
7184         (xdr_utmparr): Likewise.
7185         (xdr_utmpidle): Likewise.
7186         (xdr_utmpidleptr): Likewise.
7187         (xdr_utmpidlearr): Likewise.
7189         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7190         log, log10 and log2.
7191         * math/auto-libm-test-out: Regenerated.
7192         * math/libm-test.inc (fmod_test_data): Add more tests.
7193         (fpclassify_test_data): Likewise.
7194         (frexp_test_data): Likewise.
7195         (hypot_test_data): Likewise.
7196         (ilogb_test_data): Likewise.
7198 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7200         * debug/fortify_fail.c (__fortify_fail): Convert to
7201         prototype-style function definition.  Use internal_function.
7202         * libio/genops.c (save_for_backup): Convert to prototype-style
7203         function definition.
7204         * libio/wgenops.c (save_for_wbackup): Likewise.
7205         * login/grantpt.c (grantpt): Likewise.
7206         * login/ptsname.c (ptsname): Likewise.
7207         (__ptsname_r): Likewise.
7208         * login/unlockpt.c (unlockpt): Likewise.
7209         * mach/msgserver.c (__mach_msg_server): Likewise.
7210         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7211         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7212         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7213         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7214         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7215         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7216         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7217         Likewise.
7218         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7219         internal_function.
7220         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7221         prototype-style function definition.
7222         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7223         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7224         (__pthread_create_2_0): Likewise.
7225         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7226         * nptl/register-atfork.c (__register_atfork): Likewise.
7227         * posix/glob.c (glob): Likewise.
7228         * posix/regcomp.c (re_comp): Likewise.
7229         * posix/regexec.c (re_exec): Likewise.
7230         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7231         [!__STDC__]: Remove conditional code.
7232         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7233         [!__STDC__]: Remove conditional code.
7234         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7235         [!__STDC__]: Remove conditional code.
7236         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7237         [!__STDC__]: Remove conditional code.
7238         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7239         [!__STDC__]: Remove conditional code.
7240         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7241         [!__STDC__]: Remove conditional code.
7242         * stdlib/mul.c [__STDC__]: Make code unconditional.
7243         [!__STDC__]: Remove conditional code.
7244         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7245         [!__STDC__]: Remove conditional code.
7246         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7247         [!__STDC__]: Remove conditional code.
7248         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7249         function definition.
7250         (STRTOF): Likewise.
7251         * stdlib/strtod_l.c (__STRTOF): Likewise.
7252         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7253         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7254         (__strtol_l): Likewise.
7255         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7256         [!__STDC__]: Remove conditional code.
7257         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7258         definition.
7259         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7260         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7261         type.
7262         (__strcasecmp): Convert to prototype-style function definition.
7263         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7264         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7265         type.
7266         (__strncasecmp): Convert to prototype-style function definition.
7267         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7268         * sunrpc/xdr.c (xdr_union): Likewise.
7269         * sunrpc/xdr_array.c (xdr_array): Likewise.
7270         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7271         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7272         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7273         Likewise.
7274         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7275         Likewise.
7276         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7277         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7278         Likewise.
7279         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7280         (LOCALE_PARAM_PROTO): Likewise.
7281         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7282         argument type.
7283         (ut_argument_spec): Remove macro.
7284         (ut_argument_spec_iso): Rename to ut_argument_spec.
7285         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7286         prototype-style function definition.
7287         (memcpy_uppcase): Likewise.
7288         (__strftime_internal): Likewise.
7289         (my_strftime): Likewise.
7290         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7291         (LOCALE_PARAM_DECL): Likewise.
7292         [_LIBC] (LOCALE_PARAM): Include argument type.
7293         (__strptime_internal): Convert to prototype-style function
7294         definition.
7295         (strptime): Likewise.
7296         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7297         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7298         type.
7299         (__wcscasecmp): Convert to prototype-style function definition.
7300         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7301         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7302         type.
7303         (__wcsncasecmp): Convert to prototype-style function definition.
7305         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7306         function definition.
7307         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7308         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7309         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7310         * elf/dl-minimal.c (_itoa): Likewise.
7311         * hurd/hurdmalloc.c (malloc): Likewise.
7312         (free): Likewise.
7313         (realloc): Likewise.
7314         * inet/inet6_option.c (inet6_option_space): Likewise.
7315         (inet6_option_init): Likewise.
7316         (inet6_option_append): Likewise.
7317         (inet6_option_alloc): Likewise.
7318         (inet6_option_next): Likewise.
7319         (inet6_option_find): Likewise.
7320         * io/ftw.c (FTW_NAME): Likewise.
7321         (NFTW_NAME): Likewise.
7322         (NFTW_NEW_NAME): Likewise.
7323         (NFTW_OLD_NAME): Likewise.
7324         * libio/iofwide.c (_IO_fwide): Likewise.
7325         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7326         (_IO_str_init_static): Likewise.
7327         (_IO_str_init_readonly): Likewise.
7328         (_IO_str_overflow): Likewise.
7329         (_IO_str_underflow): Likewise.
7330         (_IO_str_count): Likewise.
7331         (_IO_str_seekoff): Likewise.
7332         (_IO_str_pbackfail): Likewise.
7333         (_IO_str_finish): Likewise.
7334         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7335         (_IO_wstr_overflow): Likewise.
7336         (_IO_wstr_underflow): Likewise.
7337         (_IO_wstr_count): Likewise.
7338         (_IO_wstr_seekoff): Likewise.
7339         (_IO_wstr_pbackfail): Likewise.
7340         (_IO_wstr_finish): Likewise.
7341         * locale/programs/localedef.c (normalize_codeset): Likewise.
7342         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7343         (add_locales_to_archive): Likewise.
7344         (delete_locales_from_archive): Likewise.
7345         * malloc/malloc.c (__libc_mallinfo): Likewise.
7346         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7347         * misc/tsearch.c (__tfind): Likewise.
7348         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7349         * nptl/pthread_attr_getdetachstate.c
7350         (__pthread_attr_getdetachstate): Likewise.
7351         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7352         Likewise.
7353         * nptl/pthread_attr_getinheritsched.c
7354         (__pthread_attr_getinheritsched): Likewise.
7355         * nptl/pthread_attr_getschedparam.c
7356         (__pthread_attr_getschedparam): Likewise.
7357         * nptl/pthread_attr_getschedpolicy.c
7358         (__pthread_attr_getschedpolicy): Likewise.
7359         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7360         Likewise.
7361         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7362         Likewise.
7363         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7364         Likewise.
7365         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7366         Likewise.
7367         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7368         (__pthread_attr_init_2_0): Likewise.
7369         * nptl/pthread_attr_setdetachstate.c
7370         (__pthread_attr_setdetachstate): Likewise.
7371         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7372         Likewise.
7373         * nptl/pthread_attr_setinheritsched.c
7374         (__pthread_attr_setinheritsched): Likewise.
7375         * nptl/pthread_attr_setschedparam.c
7376         (__pthread_attr_setschedparam): Likewise.
7377         * nptl/pthread_attr_setschedpolicy.c
7378         (__pthread_attr_setschedpolicy): Likewise.
7379         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7380         Likewise.
7381         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7382         Likewise.
7383         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7384         Likewise.
7385         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7386         Likewise.
7387         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7388         Likewise.
7389         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7390         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7391         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7392         use internal_function.
7393         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7394         prototype-style function definition.
7395         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7396         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7397         internal_function.
7398         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7399         Convert to prototype-style function definition.
7400         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7401         Likewise.
7402         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7403         Likewise.
7404         (__pthread_mutex_unlock): Likewise.
7405         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7406         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7407         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7408         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7409         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7410         * nss/makedb.c (process_input): Likewise.
7411         * posix/fnmatch.c (__strchrnul): Likewise.
7412         (__wcschrnul): Likewise.
7413         (fnmatch): Likewise.
7414         * posix/fnmatch_loop.c (FCT): Likewise.
7415         * posix/glob.c (globfree): Likewise.
7416         (__glob_pattern_type): Likewise.
7417         (__glob_pattern_p): Likewise.
7418         * posix/regcomp.c (re_compile_pattern): Likewise.
7419         (re_set_syntax): Likewise.
7420         (re_compile_fastmap): Likewise.
7421         (regcomp): Likewise.
7422         (regerror): Likewise.
7423         (regfree): Likewise.
7424         * posix/regexec.c (regexec): Likewise.
7425         (re_match): Likewise.
7426         (re_search): Likewise.
7427         (re_match_2): Likewise.
7428         (re_search_2): Likewise.
7429         (re_search_stub): Likewise.  Use internal_function
7430         (re_copy_regs): Likewise.
7431         (re_set_registers): Convert to prototype-style function
7432         definition.
7433         (prune_impossible_nodes): Likewise.  Use internal_function.
7434         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7435         prototype-style function definition.
7436         (inet_net_pton_ipv4): Likewise.
7437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7438         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7439         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7440         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7441         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7442         Make variadic.
7443         * time/strptime_l.c (localtime_r): Convert to prototype-style
7444         function definition.
7445         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7446         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7447         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7448         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7450         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7451         definition.
7452         (_ufc_doit_r): Likewise.
7453         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7454         (_ufc_output_conversion_r): Likewise.
7455         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7456         * inet/rcmd.c (rcmd_af): Likewise.
7457         (rcmd): Likewise.
7458         (ruserok_af): Likewise.
7459         (ruserok): Likewise.
7460         (ruserok2_sa): Likewise.
7461         (ruserok_sa): Likewise.
7462         (iruserok_af): Likewise.
7463         (iruserok): Likewise.
7464         (__ivaliduser): Likewise.
7465         (__validuser2_sa): Likewise.
7466         * inet/rexec.c (rexec_af): Likewise.
7467         (rexec): Likewise.
7468         * inet/ruserpass.c (ruserpass): Likewise.
7469         * locale/programs/xmalloc.c (xcalloc): Likewise.
7470         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7471         * math/w_drem.c (__drem): Likewise.
7472         * math/w_dremf.c (__dremf): Likewise.
7473         * math/w_dreml.c (__dreml): Likewise.
7474         * misc/daemon.c (daemon): Likewise.
7475         * resolv/res_debug.c (p_fqnname): Likewise.
7476         * stdlib/div.c (div): Likewise.
7477         * string/memcmp.c (memcmp_bytes): Likewise.
7478         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7479         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7481         * crypt/cert.c (main): Convert to prototype-style function
7482         definition.
7483         * io/pipe.c (__pipe): Likewise.
7484         * io/pipe2.c (__pipe2): Likewise.
7485         * misc/futimesat.c (futimesat): Likewise.
7486         * misc/utimes.c (__utimes): Likewise.
7487         * posix/execve.c (__execve): Likewise.
7488         * posix/execvp.c (execvp): Likewise.
7489         * posix/execvpe.c (__execvpe): Likewise.
7490         * posix/fexecve.c (fexecve): Likewise.
7491         * socket/socketpair.c (socketpair): Likewise.
7492         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7493         * stdlib/erand48.c (erand48): Likewise.
7494         * stdlib/erand48_r.c (__erand48_r): Likewise.
7495         * stdlib/jrand48.c (jrand48): Likewise.
7496         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7497         * stdlib/lcong48.c (lcong48): Likewise.
7498         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7499         * stdlib/nrand48.c (nrand48): Likewise.
7500         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7501         * stdlib/seed48.c (seed48): Likewise.
7502         * stdlib/seed48_r.c (__seed48_r): Likewise.
7503         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7504         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7505         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7507 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7509         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7510         * configure: Regenerated.
7511         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7512         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7513         unconditional.
7514         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7515         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7516         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7517         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7518         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7519         unconditional.
7520         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7522         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7523         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7525         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7526         function definition.
7527         * crypt/crypt_util.c (__encrypt_r): Likewise.
7528         * libio/genops.c (_IO_no_init): Likewise.
7529         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7530         (_IO_old_fopencookie): Likewise.
7531         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7532         * libio/iogetline.c (_IO_getline): Likewise.
7533         (_IO_getline_info): Likewise.
7534         * libio/iogetwline.c (_IO_getwline): Likewise.
7535         (_IO_getwline_info): Likewise.
7536         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7537         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7538         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7539         (find_entry): Likewise.
7540         (iterate_table): Likewise.
7541         (lookup): Likewise.
7542         * login/forkpty.c (forkpty): Likewise.
7543         * misc/hsearch_r.c (__hsearch_r): Likewise.
7544         * misc/select.c (__select): Likewise.
7545         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7546         Likewise.
7547         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7548         Likewise.
7549         * nptl/old_pthread_cond_timedwait.c
7550         (__pthread_cond_timedwait_2_0): Likewise.
7551         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7552         * nptl/pthread_barrierattr_getpshared.c
7553         (pthread_barrierattr_getpshared): Likewise.
7554         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7555         Likewise.
7556         * nptl/pthread_mutex_setprioceiling.c
7557         (pthread_mutex_setprioceiling): Likewise.
7558         * nptl/pthread_mutexattr_getprioceiling.c
7559         (pthread_mutexattr_getprioceiling): Likewise.
7560         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7561         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7562         Likewise.
7563         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7564         Likewise.
7565         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7566         Likewise.
7567         * socket/recvfrom.c (__recvfrom): Likewise.
7568         * socket/sendto.c (__sendto): Likewise.
7569         * socket/setsockopt.c (__setsockopt): Likewise.
7570         * stdio-common/_itoa.c (_itoa): Likewise.
7571         * stdio-common/_itowa.c (_itowa): Likewise.
7572         * stdio-common/reg-printf.c (__register_printf_specifier):
7573         Likewise.
7574         (__register_printf_function): Likewise.
7575         * stdio-common/tempname.c (__path_search): Likewise.
7576         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7577         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7578         * stdlib/random_r.c (__initstate_r): Likewise.
7579         * stdlib/setenv.c (__add_to_environ): Likewise.
7580         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7581         * streams/getpmsg.c (getpmsg): Likewise.
7582         * streams/putmsg.c (putmsg): Likewise.
7583         * streams/putpmsg.c (putpmsg): Likewise.
7584         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7585         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7586         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7587         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7588         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7589         * sunrpc/svc_udp.c (cache_get): Likewise.
7590         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7591         * sysdeps/mach/hurd/getcwd.c
7592         (__canonicalize_directory_name_internal): Likewise.
7593         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7594         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7595         * sysdeps/mach/hurd/select.c (__select): Likewise.
7596         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7597         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7598         * sysdeps/sparc/nptl/pthread_barrier_init.c
7599         (__pthread_barrier_init): Likewise.
7600         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7601         (__pthread_cond_timedwait): Likewise.
7602         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7603         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7604         Likewise.
7605         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7606         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7607         Likewise.
7608         * sysvipc/semtimedop.c (semtimedop): Likewise.
7609         * time/setitimer.c (__setitimer): Likewise.
7610         * time/strftime_l.c (emacs_strftime): Likewise.
7612 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7614         * config.make.in (have-ssp): Delete.
7615         (stack-protector): New variable.
7616         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7617         cache test for -fstack-protector-strong.  Export stack_protector to
7618         the best ssp flag.
7619         * configure: Regenerated.
7620         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7621         * nscd/Makefile (CFLAGS-nscd): Likewise.
7622         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7624 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7626         [BZ #19122]
7627         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7628         attribute_hidden.
7630 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7632         [BZ #18743]
7633         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7634         code to...
7635         (ELIDE_LOCK): ...here.
7636         (__get_new_count): New function with part of the code from
7637         __elide_lock that updates the value of adapt_count after a
7638         transaction abort.
7639         (__elided_trylock): Moved this code to...
7640         (ELIDE_TRYLOCK): ...here.
7642 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7644         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7645         * configure: Regenerate.
7646         * INSTALL: Regenerate.
7647         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7648         and tweak grammar.
7650 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7652         * login/programs/pt_chown.c: Include signal.h
7653         (main): Clear any signal mask from the parent process.
7655 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7657         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7658         * configure: Regenerated.
7659         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7660         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7661         $(gnu89-inline-CFLAGS).
7663         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7664         test.
7665         (libc_cv_asm_weakext_directive): Likewise.
7666         * configure: Regenerated.
7667         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7668         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7669         * include/libc-symbols.h
7670         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7671         #error.
7672         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7673         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7675         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7676         prototype-style function definition.
7677         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7678         * sysdeps/i386/ffs.c (__ffs): Likewise.
7679         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7680         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7681         Likewise.
7682         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7683         Likewise.
7684         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7685         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7686         Likewise.
7687         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7688         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7689         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7690         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7691         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7692         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7693         * sysdeps/mach/hurd/access.c (__access): Likewise.
7694         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7695         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7696         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7697         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7698         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7699         (cthread_getspecific): Likewise.
7700         (cthread_setspecific): Likewise.
7701         (__libc_getspecific): Likewise.
7702         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7703         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7704         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7705         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7706         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7707         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7708         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7709         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7710         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7711         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7712         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7713         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7714         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7715         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7716         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7717         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7718         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7719         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7720         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7721         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7722         * sysdeps/mach/hurd/link.c (__link): Likewise.
7723         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7724         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7725         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7726         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7727         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7728         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7729         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7730         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7731         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7732         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7733         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7734         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7735         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7736         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7737         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7738         * sysdeps/mach/hurd/send.c (__send): Likewise.
7739         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7740         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7741         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7742         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7743         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7744         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7745         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7746         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7747         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7748         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7749         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7750         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7751         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7752         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7753         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7754         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7755         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7756         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7757         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7758         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7759         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7760         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7761         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7762         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7763         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7764         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7765         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7766         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7767         * sysdeps/posix/alarm.c (alarm): Likewise.
7768         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7769         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7770         * sysdeps/posix/dup.c (__dup): Likewise.
7771         * sysdeps/posix/dup2.c (__dup2): Likewise.
7772         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7773         (main): Likewise.
7774         * sysdeps/posix/flock.c (__flock): Likewise.
7775         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7776         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7777         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7778         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7779         * sysdeps/posix/isatty.c (__isatty): Likewise.
7780         * sysdeps/posix/killpg.c (killpg): Likewise.
7781         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7782         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7783         * sysdeps/posix/raise.c (raise): Likewise.
7784         * sysdeps/posix/remove.c (remove): Likewise.
7785         * sysdeps/posix/rename.c (rename): Likewise.
7786         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7787         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7788         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7789         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7790         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7791         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7792         * sysdeps/posix/sigset.c (sigset): Likewise.
7793         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7794         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7795         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7796         * sysdeps/posix/time.c (time): Likewise.
7797         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7798         (ttyname): Likewise.
7799         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7800         * sysdeps/posix/utime.c (utime): Likewise.
7801         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7802         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7803         Likewise.
7804         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7805         (pthread_spin_trylock): Likewise.
7806         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7807         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7808         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7809         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7810         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7811         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7812         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7813         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7814         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7815         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7816         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7817         * sysdeps/s390/ffs.c (__ffs): Likewise.
7818         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7819         Likewise.
7820         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7821         Likewise.
7822         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7823         Likewise.
7824         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7825         (pthread_barrier_destroy): Likewise.
7826         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7827         (__pthread_barrier_wait): Likewise.
7828         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7829         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7830         (__pthread_barrier_wait): Likewise.
7831         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7832         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7833         (memcmp_not_common_alignment): Likewise.
7834         (MEMCMP): Likewise.
7835         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7836         (_wordcopy_fwd_dest_aligned): Likewise.
7837         (_wordcopy_bwd_aligned): Likewise.
7838         (_wordcopy_bwd_dest_aligned): Likewise.
7839         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7840         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7841         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7842         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7843         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7844         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7845         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7846         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7847         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7848         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7849         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7850         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7851         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7852         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7853         * sysdeps/unix/stime.c (stime): Likewise.
7854         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7855         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7856         Likewise.  Use internal_function.
7857         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7858         Convert to prototype-style function definition.
7859         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7860         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7862         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7863         Likewise.  Use internal_function.
7864         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7865         prototype-style function definition
7866         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7867         Likewise.
7868         (__getlogin_r): Likewise.
7869         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7871         (__pthread_cond_broadcast): Likewise.
7872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7873         (__pthread_cond_destroy): Likewise.
7874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7875         (__pthread_cond_init): Likewise.
7876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7877         (__pthread_cond_signal): Likewise.
7878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7879         (__pthread_cond_wait): Likewise.
7880         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7881         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7882         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7883         Likewise.
7884         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7885         Likewise.
7886         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7887         Likewise.
7888         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7889         Likewise.
7890         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7892         (__ftruncate64): Likewise.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7894         (truncate64): Likewise.
7895         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7896         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7897         (pthread_getcpuclockid): Likewise.
7898         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7899         Likewise.
7900         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7901         Likewise.
7902         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7903         Likewise.
7904         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7905         Likewise.
7906         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7907         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7908         (__libc_sigaction): Likewise.
7909         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7912         (__sigprocmask): Likewise.
7913         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7914         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7915         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7916         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7917         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7918         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7919         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7920         Likewise.
7921         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7922         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7923         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7924         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7926         Likewise.
7927         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7928         (__sigprocmask): Likewise.
7929         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7930         (cfgetispeed): Likewise.
7931         (cfsetospeed): Likewise.
7932         (cfsetispeed): Likewise.
7933         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7934         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7935         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7936         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7937         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7938         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7939         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7940         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7941         Likewise.
7942         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7943         Likewise.
7944         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7945         Likewise.
7946         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7947         Likewise.
7948         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7950 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7952         sunrpc: Rewrite with explicit TLS access using __thread.
7953         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7954         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7955         directly.
7956         (__rpc_thread_variables): Access thread_rpc_vars directly.
7957         Eliminate redundant assignment of the tvp variable.
7959 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7961         malloc: Rewrite with explicit TLS access using __thread.
7962         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7963         (tsd_setspecific, tsd_getspecific): Remove.
7964         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7965         (tsd_setspecific, tsd_getspecific): Likewise.
7966         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7967         (tsd_setspecific, tsd_getspecific): Likewise.
7968         * malloc/arena.c (thread_arena): New TLS variable.
7969         (arena_key): Remove variable.
7970         (arena_get): Use thread_arena.
7971         (arena_lookup): Remove macro.
7972         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7973         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7974         (_int_new_arena, get_free_list, reused_arena)
7975         (arena_thread_freeres): Use thread_arena.
7976         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7977         tsd_getspecific, tsd_setspecific from safety annotations.
7978         (Allocating Cleared Space): Remove arena_lookup from safety
7979         annotations.
7981 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7983         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7984         struct scratch_buffer instead of extend_alloca.
7986 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7988         * sysdeps/unix/sysv/linux/kernel-features.h
7989         (__ASSUME_SOCK_CLOEXEC): Remove.
7990         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7991         (__have_paccept): Remove unused macro.
7992         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7993         * misc/syslog.c (openlog_internal): Remove fallback code for
7994         !__ASSUME_SOCK_CLOEXEC.
7995         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7996         missing SOCK_CLOEXEC.
7997         * nscd/connections.c (have_sock_cloexec): Remove definition.
7998         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7999         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8000         !__ASSUME_SOCK_CLOEXEC.
8001         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8002         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8003         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8004         definition.
8005         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8006         code for !__ASSUME_SOCK_CLOEXEC.
8008 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8010         [BZ #18982]
8011         * manual/stdio.texi (Variable Arguments Output): Add portability
8012         note, explaining that vfprintf clobbers the va_list pointer.
8014 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8016         * math/libm-test.inc (fabs_test_data): Add more tests.
8017         (fdim_test_data): Likewise.
8018         (fma_test_data): Likewise.
8019         (fmax_test_data): Likewise.
8020         (fmin_test_data): Likewise.
8021         (fmod_test_data): Likewise.
8023 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8025         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8026         data.
8028 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8030         * math/libm-test.inc (ceil_test_data): Add more tests and more
8031         expectations for "inexact".
8032         (floor_test_data): Add more tests.
8033         (round_test_data): Likewise.
8034         (trunc_test_data): Likewise.
8036         * crypt/cert.c (good_bye): Convert to prototype-style function
8037         definition.
8038         (get8): Likewise.
8039         (put8): Likewise.
8040         * crypt/crypt-entry.c (crypt): Likewise.
8041         (__fcrypt): Likewise.
8042         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8043         (_ufc_set_bits): Likewise.
8044         (_ufc_clearmem): Likewise.
8045         (__init_des_r): Likewise.
8046         (shuffle_sb): Likewise.
8047         (shuffle_sb): Likewise.
8048         (_ufc_setup_salt_r): Likewise.
8049         (_ufc_mk_keytab_r): Likewise.
8050         (_ufc_dofinalperm_r): Likewise.
8051         (encrypt): Likewise.
8052         (__setkey_r): Likewise.
8053         (setkey): Likewise.
8054         * crypt/md5.c (md5_init_ctx): Likewise.
8055         (md5_read_ctx): Likewise.
8056         (md5_finish_ctx): Likewise.
8057         (md5_stream): Likewise.
8058         (md5_buffer): Likewise.
8059         (md5_process_bytes): Likewise.
8060         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8061         (__sha256_finish_ctx): Likewise.
8062         (__sha256_process_bytes): Likewise.
8063         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8064         (__sha512_finish_ctx): Likewise.
8065         (__sha512_process_bytes): Likewise.
8066         * ctype/isctype.c (__isctype): Likewise.
8067         * debug/backtrace.c (__backtrace): Likewise.
8068         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8069         * debug/fgets_chk.c (__fgets_chk): Likewise.
8070         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8071         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8072         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8073         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8074         * debug/memset_chk.c (__memset_chk): Likewise.
8075         * debug/strcat_chk.c (__strcat_chk): Likewise.
8076         * debug/strncat_chk.c (__strncat_chk): Likewise.
8077         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8078         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8079         * dirent/dirfd.c (dirfd): Likewise.
8080         * dirent/getdents.c (__getdirentries): Likewise.
8081         * dirent/getdents64.c (getdirentries64): Likewise.
8082         * dirent/rewinddir.c (__rewinddir): Likewise.
8083         * dirent/seekdir.c (seekdir): Likewise.
8084         * dirent/telldir.c (telldir): Likewise.
8085         * elf/sln.c (makesymlinks): Likewise.
8086         (makesymlink): Likewise.
8087         * gmon/gmon.c (__moncontrol): Likewise.
8088         (__monstartup): Likewise.
8089         (write_hist): Likewise.
8090         (write_call_graph): Likewise.
8091         (write_bb_counts): Likewise.
8092         * grp/setgroups.c (setgroups): Likewise.
8093         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8094         * inet/inet_net.c (inet_network): Likewise.
8095         * inet/inet_netof.c (inet_netof): Likewise.
8096         * inet/rcmd.c (rresvport_af): Likewise.
8097         (rresvport): Likewise.
8098         * io/access.c (__access): Likewise.
8099         * io/chdir.c (__chdir): Likewise.
8100         * io/chmod.c (__chmod): Likewise.
8101         * io/chown.c (__chown): Likewise.
8102         * io/close.c (__close): Likewise.
8103         * io/creat.c (creat): Likewise.
8104         * io/creat64.c (creat64): Likewise.
8105         * io/dup.c (__dup): Likewise.
8106         * io/dup2.c (__dup2): Likewise.
8107         * io/dup3.c (__dup3): Likewise.
8108         * io/euidaccess.c (__euidaccess): Likewise.
8109         * io/faccessat.c (faccessat): Likewise.
8110         * io/fchmod.c (__fchmod): Likewise.
8111         * io/fchmodat.c (fchmodat): Likewise.
8112         * io/fchown.c (__fchown): Likewise.
8113         * io/fchownat.c (fchownat): Likewise.
8114         * io/fcntl.c (__fcntl): Likewise.
8115         * io/flock.c (__flock): Likewise.
8116         * io/fts.c (fts_load): Likewise.
8117         (fts_close): Likewise.
8118         (fts_read): Likewise.
8119         (fts_set): Likewise.
8120         (fts_children): Likewise.
8121         (fts_build): Likewise.
8122         (fts_stat): Likewise.
8123         (fts_sort): Likewise.
8124         (fts_alloc): Likewise.
8125         (fts_lfree): Likewise.
8126         (fts_palloc): Likewise.
8127         (fts_padjust): Likewise.
8128         (fts_maxarglen): Likewise.
8129         (fts_safe_changedir): Likewise.
8130         * io/getwd.c (getwd): Likewise.
8131         * io/isatty.c (__isatty): Likewise.
8132         * io/lchown.c (__lchown): Likewise.
8133         * io/link.c (__link): Likewise.
8134         * io/linkat.c (linkat): Likewise.
8135         * io/lseek.c (__libc_lseek): Likewise.
8136         * io/mkdir.c (__mkdir): Likewise.
8137         * io/mkdirat.c (mkdirat): Likewise.
8138         * io/mkfifo.c (mkfifo): Likewise.
8139         * io/mkfifoat.c (mkfifoat): Likewise.
8140         * io/open.c (__libc_open): Likewise.
8141         * io/open64.c (__libc_open64): Likewise.
8142         * io/readlink.c (__readlink): Likewise.
8143         * io/readlinkat.c (readlinkat): Likewise.
8144         * io/rmdir.c (__rmdir): Likewise.
8145         * io/symlink.c (__symlink): Likewise.
8146         * io/symlinkat.c (symlinkat): Likewise.
8147         * io/ttyname.c (ttyname): Likewise.
8148         * io/ttyname_r.c (__ttyname_r): Likewise.
8149         * io/umask.c (__umask): Likewise.
8150         * io/unlink.c (__unlink): Likewise.
8151         * io/unlinkat.c (unlinkat): Likewise.
8152         * io/utime.c (utime): Likewise.
8153         * libio/clearerr.c (clearerr): Likewise.
8154         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8155         * libio/feof.c (_IO_feof): Likewise.
8156         * libio/feof_u.c (feof_unlocked): Likewise.
8157         * libio/ferror.c (_IO_ferror): Likewise.
8158         * libio/ferror_u.c (ferror_unlocked): Likewise.
8159         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8160         * libio/fileno.c (__fileno): Likewise.
8161         * libio/fputc.c (fputc): Likewise.
8162         * libio/fputc_u.c (fputc_unlocked): Likewise.
8163         * libio/fputwc.c (fputwc): Likewise.
8164         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8165         * libio/freopen.c (freopen): Likewise.
8166         * libio/freopen64.c (freopen64): Likewise.
8167         * libio/fseek.c (fseek): Likewise.
8168         * libio/fseeko.c (fseeko): Likewise.
8169         * libio/fseeko64.c (fseeko64): Likewise.
8170         * libio/ftello.c (__ftello): Likewise.
8171         * libio/ftello64.c (ftello64): Likewise.
8172         * libio/fwide.c (fwide): Likewise.
8173         * libio/genops.c (_IO_un_link): Likewise.
8174         (_IO_link_in): Likewise.
8175         (_IO_least_marker): Likewise.
8176         (_IO_switch_to_main_get_area): Likewise.
8177         (_IO_switch_to_backup_area): Likewise.
8178         (_IO_switch_to_get_mode): Likewise.
8179         (_IO_free_backup_area): Likewise.
8180         (_IO_switch_to_put_mode): Likewise.
8181         (__overflow): Likewise.
8182         (__underflow): Likewise.
8183         (__uflow): Likewise.
8184         (_IO_setb): Likewise.
8185         (_IO_doallocbuf): Likewise.
8186         (_IO_default_underflow): Likewise.
8187         (_IO_default_uflow): Likewise.
8188         (_IO_default_xsputn): Likewise.
8189         (_IO_sgetn): Likewise.
8190         (_IO_default_xsgetn): Likewise.
8191         (_IO_sync): Likewise.
8192         (_IO_default_setbuf): Likewise.
8193         (_IO_default_seekpos): Likewise.
8194         (_IO_default_doallocate): Likewise.
8195         (_IO_init): Likewise.
8196         (_IO_old_init): Likewise.
8197         (_IO_default_sync): Likewise.
8198         (_IO_default_finish): Likewise.
8199         (_IO_default_seekoff): Likewise.
8200         (_IO_sputbackc): Likewise.
8201         (_IO_sungetc): Likewise.
8202         (_IO_set_column): Likewise.
8203         (_IO_set_column): Likewise.
8204         (_IO_adjust_column): Likewise.
8205         (_IO_get_column): Likewise.
8206         (_IO_init_marker): Likewise.
8207         (_IO_remove_marker): Likewise.
8208         (_IO_marker_difference): Likewise.
8209         (_IO_marker_delta): Likewise.
8210         (_IO_seekmark): Likewise.
8211         (_IO_unsave_markers): Likewise.
8212         (_IO_nobackup_pbackfail): Likewise.
8213         (_IO_default_pbackfail): Likewise.
8214         (_IO_default_seek): Likewise.
8215         (_IO_default_stat): Likewise.
8216         (_IO_default_read): Likewise.
8217         (_IO_default_write): Likewise.
8218         (_IO_default_showmanyc): Likewise.
8219         (_IO_default_imbue): Likewise.
8220         (_IO_iter_next): Likewise.
8221         (_IO_iter_file): Likewise.
8222         * libio/getc.c (_IO_getc): Likewise.
8223         * libio/getwc.c (_IO_getwc): Likewise.
8224         * libio/iofclose.c (_IO_new_fclose): Likewise.
8225         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8226         * libio/iofflush.c (_IO_fflush): Likewise.
8227         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8228         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8229         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8230         * libio/iofgets.c (_IO_fgets): Likewise.
8231         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8232         * libio/iofgetws.c (fgetws): Likewise.
8233         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8234         * libio/iofopen64.c (_IO_fopen64): Likewise.
8235         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8236         (_IO_cookie_write): Likewise.
8237         (_IO_cookie_seek): Likewise.
8238         (_IO_cookie_close): Likewise.
8239         (_IO_cookie_seekoff): Likewise.
8240         (_IO_old_cookie_seek): Likewise.
8241         * libio/iofputs.c (_IO_fputs): Likewise.
8242         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8243         * libio/iofputws.c (fputws): Likewise.
8244         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8245         * libio/iofread.c (_IO_fread): Likewise.
8246         * libio/iofread_u.c (__fread_unlocked): Likewise.
8247         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8248         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8249         * libio/ioftell.c (_IO_ftell): Likewise.
8250         * libio/iofwrite.c (_IO_fwrite): Likewise.
8251         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8252         * libio/iogets.c (_IO_gets): Likewise.
8253         * libio/iopadn.c (_IO_padn): Likewise.
8254         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8255         (_IO_new_popen): Likewise.
8256         (_IO_new_proc_close): Likewise.
8257         * libio/ioputs.c (_IO_puts): Likewise.
8258         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8259         (_IO_seekoff): Likewise.
8260         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8261         (_IO_seekpos): Likewise.
8262         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8263         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8264         * libio/ioungetc.c (_IO_ungetc): Likewise.
8265         * libio/ioungetwc.c (ungetwc): Likewise.
8266         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8267         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8268         * libio/iowpadn.c (_IO_wpadn): Likewise.
8269         * libio/libc_fatal.c (__libc_fatal): Likewise.
8270         * libio/memstream.c (__open_memstream): Likewise.
8271         (_IO_mem_sync): Likewise.
8272         (_IO_mem_finish): Likewise.
8273         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8274         (_IO_old_file_close_it): Likewise.
8275         (_IO_old_file_finish): Likewise.
8276         (_IO_old_file_fopen): Likewise.
8277         (_IO_old_file_attach): Likewise.
8278         (_IO_old_file_setbuf): Likewise.
8279         (_IO_old_do_write): Likewise.
8280         (old_do_write): Likewise.
8281         (_IO_old_file_underflow): Likewise.
8282         (_IO_old_file_overflow): Likewise.
8283         (_IO_old_file_sync): Likewise.
8284         (_IO_old_file_seekoff): Likewise.
8285         (_IO_old_file_write): Likewise.
8286         (_IO_old_file_xsputn): Likewise.
8287         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8288         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8289         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8290         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8291         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8292         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8293         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8294         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8295         (_IO_old_popen): Likewise.
8296         (_IO_old_proc_close): Likewise.
8297         * libio/oldpclose.c (__old_pclose): Likewise.
8298         * libio/pclose.c (__new_pclose): Likewise.
8299         * libio/peekc.c (_IO_peekc_locked): Likewise.
8300         * libio/putc.c (_IO_putc): Likewise.
8301         * libio/putc_u.c (putc_unlocked): Likewise.
8302         * libio/putchar.c (putchar): Likewise.
8303         * libio/putchar_u.c (putchar_unlocked): Likewise.
8304         * libio/putwc.c (putwc): Likewise.
8305         * libio/putwc_u.c (putwc_unlocked): Likewise.
8306         * libio/putwchar.c (putwchar): Likewise.
8307         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8308         * libio/rewind.c (rewind): Likewise.
8309         * libio/setbuf.c (setbuf): Likewise.
8310         * libio/setlinebuf.c (setlinebuf): Likewise.
8311         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8312         * libio/vscanf.c (_IO_vscanf): Likewise.
8313         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8314         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8315         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8316         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8317         (_IO_switch_to_main_wget_area): Likewise.
8318         (_IO_switch_to_wbackup_area): Likewise.
8319         (_IO_wsetb): Likewise.
8320         (_IO_wdefault_pbackfail): Likewise.
8321         (_IO_wdefault_finish): Likewise.
8322         (_IO_wdefault_uflow): Likewise.
8323         (__woverflow): Likewise.
8324         (__wuflow): Likewise.
8325         (__wunderflow): Likewise.
8326         (_IO_wdefault_xsputn): Likewise.
8327         (_IO_wdefault_xsgetn): Likewise.
8328         (_IO_wdoallocbuf): Likewise.
8329         (_IO_wdefault_doallocate): Likewise.
8330         (_IO_switch_to_wget_mode): Likewise.
8331         (_IO_free_wbackup_area): Likewise.
8332         (_IO_switch_to_wput_mode): Likewise.
8333         (_IO_sputbackwc): Likewise.
8334         (_IO_sungetwc): Likewise.
8335         (_IO_adjust_wcolumn): Likewise.
8336         (_IO_init_wmarker): Likewise.
8337         (_IO_wmarker_delta): Likewise.
8338         (_IO_seekwmark): Likewise.
8339         (_IO_unsave_wmarkers): Likewise.
8340         * libio/wmemstream.c (open_wmemstream): Likewise.
8341         (_IO_wmem_sync): Likewise.
8342         (_IO_wmem_finish): Likewise.
8343         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8344         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8345         * locale/programs/simple-hash.c (init_hash): Likewise.
8346         (delete_hash): Likewise.
8347         (insert_entry): Likewise.
8348         (set_entry): Likewise.
8349         (next_prime): Likewise.
8350         (is_prime): Likewise.
8351         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8352         (xmalloc): Likewise.
8353         (xrealloc): Likewise.
8354         * locale/programs/xstrdup.c (xstrdup): Likewise.
8355         * localedata/collate-test.c (xstrcoll): Likewise.
8356         * localedata/xfrm-test.c (xstrcmp): Likewise.
8357         * login/getlogin_r.c (__getlogin_r): Likewise.
8358         * login/getpt.c (__posix_openpt): Likewise.
8359         * login/login_tty.c (login_tty): Likewise.
8360         * login/setlogin.c (setlogin): Likewise.
8361         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8362         (mach_msg_destroy_port): Likewise.
8363         (mach_msg_destroy_memory): Likewise.
8364         * malloc/mcheck.c (flood): Likewise.
8365         * misc/acct.c (acct): Likewise.
8366         * misc/brk.c (__brk): Likewise.
8367         * misc/chflags.c (chflags): Likewise.
8368         * misc/chroot.c (chroot): Likewise.
8369         * misc/fchflags.c (fchflags): Likewise.
8370         * misc/fstab.c (getfsspec): Likewise.
8371         (getfsfile): Likewise.
8372         * misc/fsync.c (fsync): Likewise.
8373         * misc/ftruncate.c (__ftruncate): Likewise.
8374         * misc/ftruncate64.c (__ftruncate64): Likewise.
8375         * misc/getdomain.c (getdomainname): Likewise.
8376         (getdomainname): Likewise.
8377         * misc/gethostname.c (__gethostname): Likewise.
8378         * misc/getpass.c (getpass): Likewise.
8379         * misc/getttyent.c (skip): Likewise.
8380         (value): Likewise.
8381         * misc/gtty.c (gtty): Likewise.
8382         * misc/hsearch.c (hsearch): Likewise.
8383         (hcreate): Likewise.
8384         * misc/hsearch_r.c (__hcreate_r): Likewise.
8385         (__hdestroy_r): Likewise.
8386         * misc/ioctl.c (__ioctl): Likewise.
8387         * misc/mkdtemp.c (mkdtemp): Likewise.
8388         * misc/mkostemp.c (mkostemp): Likewise.
8389         * misc/mkostemp64.c (mkostemp64): Likewise.
8390         * misc/mkostemps.c (mkostemps): Likewise.
8391         * misc/mkostemps64.c (mkostemps64): Likewise.
8392         * misc/mkstemp.c (mkstemp): Likewise.
8393         * misc/mkstemp64.c (mkstemp64): Likewise.
8394         * misc/mkstemps.c (mkstemps): Likewise.
8395         * misc/mkstemps64.c (mkstemps64): Likewise.
8396         * misc/mktemp.c (__mktemp): Likewise.
8397         * misc/preadv.c (preadv): Likewise.
8398         * misc/preadv64.c (preadv64): Likewise.
8399         * misc/pwritev.c (pwritev): Likewise.
8400         * misc/pwritev64.c (pwritev64): Likewise.
8401         * misc/readv.c (__readv): Likewise.
8402         * misc/revoke.c (revoke): Likewise.
8403         * misc/setdomain.c (setdomainname): Likewise.
8404         * misc/setegid.c (setegid): Likewise.
8405         * misc/seteuid.c (seteuid): Likewise.
8406         * misc/sethostid.c (sethostid): Likewise.
8407         * misc/sethostname.c (sethostname): Likewise.
8408         * misc/setregid.c (__setregid): Likewise.
8409         * misc/setreuid.c (__setreuid): Likewise.
8410         * misc/sstk.c (sstk): Likewise.
8411         * misc/stty.c (stty): Likewise.
8412         * misc/syscall.c (syscall): Likewise.
8413         * misc/syslog.c (setlogmask): Likewise.
8414         * misc/truncate.c (__truncate): Likewise.
8415         * misc/truncate64.c (truncate64): Likewise.
8416         * misc/ualarm.c (ualarm): Likewise.
8417         * misc/usleep.c (usleep): Likewise.
8418         * misc/ustat.c (ustat): Likewise.
8419         * misc/writev.c (__writev): Likewise.
8420         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8421         * nptl/old_pthread_cond_broadcast.c
8422         (__pthread_cond_broadcast_2_0): Likewise.
8423         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8424         Likewise.
8425         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8426         Likewise.
8427         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8428         Likewise.
8429         * nptl/pt-raise.c (raise): Likewise.
8430         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8431         Likewise.
8432         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8433         * nptl/pthread_barrierattr_destroy.c
8434         (pthread_barrierattr_destroy): Likewise.
8435         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8436         Likewise.
8437         * nptl/pthread_barrierattr_setpshared.c
8438         (pthread_barrierattr_setpshared): Likewise.
8439         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8440         Likewise.
8441         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8442         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8443         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8444         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8445         Likewise.
8446         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8447         Likewise.
8448         * nptl/pthread_condattr_getpshared.c
8449         (pthread_condattr_getpshared): Likewise.
8450         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8451         Likewise.
8452         * nptl/pthread_condattr_setpshared.c
8453         (pthread_condattr_setpshared): Likewise.
8454         * nptl/pthread_detach.c (pthread_detach): Likewise.
8455         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8456         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8457         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8458         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8459         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8460         Likewise.
8461         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8462         Likewise.
8463         * nptl/pthread_mutex_getprioceiling.c
8464         (pthread_mutex_getprioceiling): Likewise.
8465         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8466         Likewise.
8467         * nptl/pthread_mutexattr_getprotocol.c
8468         (pthread_mutexattr_getprotocol): Likewise.
8469         * nptl/pthread_mutexattr_getpshared.c
8470         (pthread_mutexattr_getpshared): Likewise.
8471         * nptl/pthread_mutexattr_getrobust.c
8472         (pthread_mutexattr_getrobust): Likewise.
8473         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8474         Likewise.
8475         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8476         Likewise.
8477         * nptl/pthread_mutexattr_setprioceiling.c
8478         (pthread_mutexattr_setprioceiling): Likewise.
8479         * nptl/pthread_mutexattr_setprotocol.c
8480         (pthread_mutexattr_setprotocol): Likewise.
8481         * nptl/pthread_mutexattr_setpshared.c
8482         (pthread_mutexattr_setpshared): Likewise.
8483         * nptl/pthread_mutexattr_setrobust.c
8484         (pthread_mutexattr_setrobust): Likewise.
8485         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8486         Likewise.
8487         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8488         Likewise.
8489         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8490         Likewise.
8491         * nptl/pthread_rwlockattr_getkind_np.c
8492         (pthread_rwlockattr_getkind_np): Likewise.
8493         * nptl/pthread_rwlockattr_getpshared.c
8494         (pthread_rwlockattr_getpshared): Likewise.
8495         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8496         Likewise.
8497         * nptl/pthread_rwlockattr_setkind_np.c
8498         (pthread_rwlockattr_setkind_np): Likewise.
8499         * nptl/pthread_rwlockattr_setpshared.c
8500         (pthread_rwlockattr_setpshared): Likewise.
8501         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8502         Likewise.
8503         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8504         Likewise.
8505         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8506         Likewise.
8507         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8508         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8509         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8510         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8511         * nptl/sem_close.c (sem_close): Likewise.
8512         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8513         * nptl/sem_init.c (__old_sem_init): Likewise.
8514         * nptl/sigaction.c (__sigaction): Likewise.
8515         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8516         * posix/_exit.c (_exit): Likewise.
8517         * posix/alarm.c (alarm): Likewise.
8518         * posix/confstr.c (confstr): Likewise.
8519         * posix/fpathconf.c (__fpathconf): Likewise.
8520         * posix/getgroups.c (__getgroups): Likewise.
8521         * posix/getpgid.c (__getpgid): Likewise.
8522         * posix/group_member.c (__group_member): Likewise.
8523         * posix/pathconf.c (__pathconf): Likewise.
8524         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8525         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8526         * posix/setgid.c (__setgid): Likewise.
8527         * posix/setpgid.c (__setpgid): Likewise.
8528         * posix/setuid.c (__setuid): Likewise.
8529         * posix/sleep.c (__sleep): Likewise.
8530         * posix/sysconf.c (__sysconf): Likewise.
8531         * posix/times.c (__times): Likewise.
8532         * posix/uname.c (__uname): Likewise.
8533         * posix/waitid.c (__waitid): Likewise.
8534         * pwd/getpw.c (__getpw): Likewise.
8535         * resolv/base64.c (b64_pton): Likewise.
8536         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8537         * resolv/gethnamaddr.c (Dprintf): Likewise.
8538         (gethostbyname): Likewise.
8539         (gethostbyname2): Likewise.
8540         (gethostbyaddr): Likewise.
8541         (_sethtent): Likewise.
8542         (_gethtbyname): Likewise.
8543         (_gethtbyname2): Likewise.
8544         (_gethtbyaddr): Likewise.
8545         (map_v4v6_address): Likewise.
8546         (map_v4v6_hostent): Likewise.
8547         (addrsort): Likewise.
8548         (ht_sethostent): Likewise.
8549         (ht_gethostbyname): Likewise.
8550         (ht_gethostbyaddr): Likewise.
8551         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8552         (inet_net_ntop_ipv4): Likewise.
8553         * resolv/inet_neta.c (inet_neta): Likewise.
8554         * resolv/inet_ntop.c (inet_ntop): Likewise.
8555         (inet_ntop4): Likewise.
8556         (inet_ntop6): Likewise.
8557         * resolv/inet_pton.c (__inet_pton): Likewise.
8558         (inet_pton4): Likewise.
8559         (inet_pton6): Likewise.
8560         * resolv/res_debug.c (loc_aton): Likewise.
8561         (loc_ntoa): Likewise.
8562         * resource/getpriority.c (__getpriority): Likewise.
8563         * resource/getrusage.c (__getrusage): Likewise.
8564         * resource/nice.c (nice): Likewise.
8565         * resource/setpriority.c (__setpriority): Likewise.
8566         * resource/setrlimit64.c (setrlimit64): Likewise.
8567         * resource/vlimit.c (vlimit): Likewise.
8568         * resource/vtimes.c (vtimes): Likewise.
8569         * rt/aio_error.c (aio_error): Likewise.
8570         * rt/aio_return.c (aio_return): Likewise.
8571         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8572         * signal/kill.c (__kill): Likewise.
8573         * signal/killpg.c (killpg): Likewise.
8574         * signal/raise.c (raise): Likewise.
8575         * signal/sigaction.c (__sigaction): Likewise.
8576         * signal/sigaddset.c (sigaddset): Likewise.
8577         * signal/sigaltstack.c (sigaltstack): Likewise.
8578         * signal/sigandset.c (sigandset): Likewise.
8579         * signal/sigblock.c (__sigblock): Likewise.
8580         * signal/sigdelset.c (sigdelset): Likewise.
8581         * signal/sigempty.c (sigemptyset): Likewise.
8582         * signal/sigfillset.c (sigfillset): Likewise.
8583         * signal/sighold.c (sighold): Likewise.
8584         * signal/sigignore.c (sigignore): Likewise.
8585         * signal/sigintr.c (siginterrupt): Likewise.
8586         * signal/sigisempty.c (sigisemptyset): Likewise.
8587         * signal/sigismem.c (sigismember): Likewise.
8588         * signal/signal.c (signal): Likewise.
8589         * signal/sigorset.c (sigorset): Likewise.
8590         * signal/sigpause.c (__sigpause): Likewise.
8591         * signal/sigpending.c (sigpending): Likewise.
8592         * signal/sigprocmask.c (__sigprocmask): Likewise.
8593         * signal/sigrelse.c (sigrelse): Likewise.
8594         * signal/sigreturn.c (__sigreturn): Likewise.
8595         * signal/sigset.c (sigset): Likewise.
8596         * signal/sigsetmask.c (__sigsetmask): Likewise.
8597         * signal/sigstack.c (sigstack): Likewise.
8598         * signal/sigsuspend.c (__sigsuspend): Likewise.
8599         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8600         * signal/sysv_signal.c (__sysv_signal): Likewise.
8601         * socket/accept.c (accept): Likewise.
8602         * socket/accept4.c (__libc_accept4): Likewise.
8603         * socket/bind.c (__bind): Likewise.
8604         * socket/connect.c (__connect): Likewise.
8605         * socket/getpeername.c (getpeername): Likewise.
8606         * socket/getsockname.c (__getsockname): Likewise.
8607         * socket/getsockopt.c (getsockopt): Likewise.
8608         * socket/listen.c (__listen): Likewise.
8609         * socket/recv.c (__recv): Likewise.
8610         * socket/recvmsg.c (__recvmsg): Likewise.
8611         * socket/send.c (__send): Likewise.
8612         * socket/sendmsg.c (__sendmsg): Likewise.
8613         * socket/shutdown.c (shutdown): Likewise.
8614         * socket/sockatmark.c (sockatmark): Likewise.
8615         * socket/socket.c (__socket): Likewise.
8616         * stdio-common/ctermid.c (ctermid): Likewise.
8617         * stdio-common/cuserid.c (cuserid): Likewise.
8618         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8619         * stdio-common/remove.c (remove): Likewise.
8620         * stdio-common/rename.c (rename): Likewise.
8621         * stdio-common/renameat.c (renameat): Likewise.
8622         * stdio-common/tempname.c (__gen_tempname): Likewise.
8623         * stdio-common/xbug.c (InitBuffer): Likewise.
8624         (AppendToBuffer): Likewise.
8625         (ReadFile): Likewise.
8626         * stdlib/a64l.c (a64l): Likewise.
8627         * stdlib/drand48_r.c (drand48_r): Likewise.
8628         * stdlib/getcontext.c (getcontext): Likewise.
8629         * stdlib/getenv.c (getenv): Likewise.
8630         * stdlib/l64a.c (l64a): Likewise.
8631         * stdlib/llabs.c (llabs): Likewise.
8632         * stdlib/lldiv.c (lldiv): Likewise.
8633         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8634         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8635         * stdlib/putenv.c (putenv): Likewise.
8636         * stdlib/random.c (__srandom): Likewise.
8637         (__initstate): Likewise.
8638         (__setstate): Likewise.
8639         * stdlib/random_r.c (__srandom_r): Likewise.
8640         (__setstate_r): Likewise.
8641         (__random_r): Likewise.
8642         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8643         * stdlib/setcontext.c (setcontext): Likewise.
8644         * stdlib/setenv.c (setenv): Likewise.
8645         (unsetenv): Likewise.
8646         * stdlib/srand48.c (srand48): Likewise.
8647         * stdlib/srand48_r.c (__srand48_r): Likewise.
8648         * stdlib/swapcontext.c (swapcontext): Likewise.
8649         * stdlib/system.c (__libc_system): Likewise.
8650         * stdlib/tst-strtod.c (expand): Likewise.
8651         * stdlib/tst-strtol.c (expand): Likewise.
8652         * stdlib/tst-strtoll.c (expand): Likewise.
8653         * streams/fattach.c (fattach): Likewise.
8654         * streams/fdetach.c (fdetach): Likewise.
8655         * streams/getmsg.c (getmsg): Likewise.
8656         * streams/isastream.c (isastream): Likewise.
8657         * string/ffs.c (__ffs): Likewise.
8658         * string/ffsll.c (ffsll): Likewise.
8659         * string/memcmp.c (memcmp_common_alignment): Likewise.
8660         (memcmp_not_common_alignment): Likewise.
8661         (MEMCMP): Likewise.
8662         * string/memcpy.c (memcpy): Likewise.
8663         * string/memmove.c (MEMMOVE): Likewise.
8664         * string/memset.c (memset): Likewise.
8665         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8666         * string/strchrnul.c (STRCHRNUL): Likewise.
8667         * string/strerror.c (strerror): Likewise.
8668         * string/strndup.c (__strndup): Likewise.
8669         * string/strverscmp.c (__strverscmp): Likewise.
8670         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8671         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8672         (clnttcp_freeres): Likewise.
8673         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8674         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8675         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8676         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8677         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8678         (xdr_callhdr): Likewise.
8679         * sunrpc/rpcinfo.c (udpping): Likewise.
8680         (tcpping): Likewise.
8681         (pstatus): Likewise.
8682         (pmapdump): Likewise.
8683         (brdcst): Likewise.
8684         (deletereg): Likewise.
8685         (getprognum): Likewise.
8686         (getvers): Likewise.
8687         (get_inet_address): Likewise.
8688         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8689         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8690         (svcudp_stat): Likewise.
8691         (svcudp_recv): Likewise.
8692         (svcudp_reply): Likewise.
8693         (svcudp_getargs): Likewise.
8694         (svcudp_freeargs): Likewise.
8695         (svcudp_destroy): Likewise.
8696         * sunrpc/xdr.c (xdr_bytes): Likewise.
8697         (xdr_netobj): Likewise.
8698         (xdr_string): Likewise.
8699         (xdr_wrapstring): Likewise.
8700         * sunrpc/xdr_float.c (xdr_float): Likewise.
8701         (xdr_double): Likewise.
8702         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8703         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8704         * sysvipc/ftok.c (ftok): Likewise.
8705         * sysvipc/msgctl.c (msgctl): Likewise.
8706         * sysvipc/msgget.c (msgget): Likewise.
8707         * sysvipc/msgrcv.c (msgrcv): Likewise.
8708         * sysvipc/msgsnd.c (msgsnd): Likewise.
8709         * sysvipc/semget.c (semget): Likewise.
8710         * sysvipc/semop.c (semop): Likewise.
8711         * sysvipc/shmat.c (shmat): Likewise.
8712         * sysvipc/shmctl.c (shmctl): Likewise.
8713         * sysvipc/shmdt.c (shmdt): Likewise.
8714         * sysvipc/shmget.c (shmget): Likewise.
8715         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8716         * termios/speed.c (cfgetospeed): Likewise.
8717         (cfgetispeed): Likewise.
8718         (cfsetospeed): Likewise.
8719         (cfsetispeed): Likewise.
8720         * termios/tcflow.c (tcflow): Likewise.
8721         * termios/tcflush.c (tcflush): Likewise.
8722         * termios/tcgetattr.c (__tcgetattr): Likewise.
8723         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8724         * termios/tcgetsid.c (tcgetsid): Likewise.
8725         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8726         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8727         * time/adjtime.c (__adjtime): Likewise.
8728         * time/dysize.c (dysize): Likewise.
8729         * time/ftime.c (ftime): Likewise.
8730         * time/getitimer.c (__getitimer): Likewise.
8731         * time/gettimeofday.c (__gettimeofday): Likewise.
8732         * time/gmtime.c (__gmtime_r): Likewise.
8733         (gmtime): Likewise.
8734         * time/localtime.c (__localtime_r): Likewise.
8735         (localtime): Likewise.
8736         * time/offtime.c (__offtime): Likewise.
8737         * time/settimeofday.c (__settimeofday): Likewise.
8738         * time/stime.c (stime): Likewise.
8739         * time/strftime_l.c (tm_diff): Likewise.
8740         (iso_week_days): Likewise.
8741         * time/strptime.c (strptime): Likewise.
8742         * time/time.c (time): Likewise.
8743         * time/timespec_get.c (timespec_get): Likewise.
8744         * time/tzset.c (tzset_internal): Likewise.
8745         (compute_change): Likewise.
8746         (__tz_compute): Likewise.
8747         * wcsmbs/btowc.c (__btowc): Likewise.
8748         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8749         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8750         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8751         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8752         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8753         * wcsmbs/wcscat.c (__wcscat): Likewise.
8754         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8755         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8756         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8757         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8758         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8759         * wcsmbs/wcslen.c (__wcslen): Likewise.
8760         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8761         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8762         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8763         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8764         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8765         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8766         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8767         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8768         * wcsmbs/wcstok.c (wcstok): Likewise.
8769         * wcsmbs/wctob.c (wctob): Likewise.
8770         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8771         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8772         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8773         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8774         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8775         * wcsmbs/wmemset.c (__wmemset): Likewise.
8776         * wctype/wcfuncs.c (__towlower): Likewise.
8777         (__towupper): Likewise.
8779         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8780         (lll_unlock_elision): Add adapt_count parameter.
8782 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8784         * sysdeps/nptl/configure.ac: Do not give errors based on the
8785         results of top-level configure tests.
8786         * sysdeps/nptl/configure: Regenerated.
8788         * configure.ac (libc_cv_Bgroup): Remove configure test.
8789         * configure: Regenerated.
8790         * config.make.in (have-Bgroup): Remove variable.
8792         * configure.ac (sizeof_long_double): Remove configure test.
8793         * configure: Regenerated.
8794         * config.make.in (sizeof-long-double): Remove variable.
8796         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8797         * configure: Regenerated.
8798         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8799         variable.
8800         (exceptions): Likewise.
8801         * sysdeps/arm/configure: Regenerated.
8802         * config.make.in (exceptions): Remove variable.
8803         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8804         $(exceptions).
8805         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8806         (CFLAGS-vdprintf_chk.c): Likewise.
8807         (CFLAGS-printf_chk.c): Likewise.
8808         (CFLAGS-fprintf_chk.c): Likewise.
8809         (CFLAGS-vprintf_chk.c): Likewise.
8810         (CFLAGS-vfprintf_chk.c): Likewise.
8811         (CFLAGS-gets_chk.c): Likewise.
8812         (CFLAGS-fgets_chk.c): Likewise.
8813         (CFLAGS-fgets_u_chk.c): Likewise.
8814         (CFLAGS-fread_chk.c): Likewise.
8815         (CFLAGS-fread_u_chk.c): Likewise.
8816         (CFLAGS-wprintf_chk.c): Likewise.
8817         (CFLAGS-fwprintf_chk.c): Likewise.
8818         (CFLAGS-vwprintf_chk.c): Likewise.
8819         (CFLAGS-vfwprintf_chk.c): Likewise.
8820         (CFLAGS-fgetws_chk.c): Likewise.
8821         (CFLAGS-fgetws_u_chk.c): Likewise.
8822         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8823         (CFLAGS-fputc.c): Likewise.
8824         (CFLAGS-fputwc.c): Likewise.
8825         (CFLAGS-freopen64.c): Likewise.
8826         (CFLAGS-freopen.c): Likewise.
8827         (CFLAGS-fseek.c): Likewise.
8828         (CFLAGS-fseeko64.c): Likewise.
8829         (CFLAGS-fseeko.c): Likewise.
8830         (CFLAGS-ftello64.c): Likewise.
8831         (CFLAGS-ftello.c): Likewise.
8832         (CFLAGS-fwide.c): Likewise.
8833         (CFLAGS-genops.c): Likewise.
8834         (CFLAGS-getc.c): Likewise.
8835         (CFLAGS-getchar.c): Likewise.
8836         (CFLAGS-getwc.c): Likewise.
8837         (CFLAGS-getwchar.c): Likewise.
8838         (CFLAGS-iofclose.c): Likewise.
8839         (CFLAGS-iofflush.c): Likewise.
8840         (CFLAGS-iofgetpos64.c): Likewise.
8841         (CFLAGS-iofgetpos.c): Likewise.
8842         (CFLAGS-iofgets.c): Likewise.
8843         (CFLAGS-iofgetws.c): Likewise.
8844         (CFLAGS-iofputs.c): Likewise.
8845         (CFLAGS-iofputws.c): Likewise.
8846         (CFLAGS-iofread.c): Likewise.
8847         (CFLAGS-iofsetpos64.c): Likewise.
8848         (CFLAGS-iofsetpos.c): Likewise.
8849         (CFLAGS-ioftell.c): Likewise.
8850         (CFLAGS-iofwrite.c): Likewise.
8851         (CFLAGS-iogetdelim.c): Likewise.
8852         (CFLAGS-iogetline.c): Likewise.
8853         (CFLAGS-iogets.c): Likewise.
8854         (CFLAGS-iogetwline.c): Likewise.
8855         (CFLAGS-ioputs.c): Likewise.
8856         (CFLAGS-ioseekoff.c): Likewise.
8857         (CFLAGS-ioseekpos.c): Likewise.
8858         (CFLAGS-iosetbuffer.c): Likewise.
8859         (CFLAGS-iosetvbuf.c): Likewise.
8860         (CFLAGS-ioungetc.c): Likewise.
8861         (CFLAGS-ioungetwc.c): Likewise.
8862         (CFLAGS-oldfileops.c): Likewise.
8863         (CFLAGS-oldiofclose.c): Likewise.
8864         (CFLAGS-oldiofgetpos64.c): Likewise.
8865         (CFLAGS-oldiofgetpos.c): Likewise.
8866         (CFLAGS-oldiofsetpos64.c): Likewise.
8867         (CFLAGS-oldiofsetpos.c): Likewise.
8868         (CFLAGS-peekc.c): Likewise.
8869         (CFLAGS-putc.c): Likewise.
8870         (CFLAGS-putchar.c): Likewise.
8871         (CFLAGS-putwc.c): Likewise.
8872         (CFLAGS-putwchar.c): Likewise.
8873         (CFLAGS-rewind.c): Likewise.
8874         (CFLAGS-wfileops.c): Likewise.
8875         (CFLAGS-wgenops.c): Likewise.
8876         (CFLAGS-oldiofopen.c): Likewise.
8877         (CFLAGS-iofopen.c): Likewise.
8878         (CFLAGS-iofopen64.c): Likewise.
8879         (CFLAGS-oldtmpfile.c): Likewise.
8880         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8881         (CFLAGS-fprintf.c): Likewise.
8882         (CFLAGS-printf.c): Likewise.
8883         (CFLAGS-vfwprintf.c): Likewise.
8884         (CFLAGS-vfscanf.c): Likewise.
8885         (CFLAGS-vfwscanf.c): Likewise.
8886         (CFLAGS-fscanf.c): Likewise.
8887         (CFLAGS-scanf.c): Likewise.
8888         (CFLAGS-isoc99_vfscanf.c): Likewise.
8889         (CFLAGS-isoc99_vscanf.c): Likewise.
8890         (CFLAGS-isoc99_fscanf.c): Likewise.
8891         (CFLAGS-isoc99_scanf.c): Likewise.
8892         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8893         (CFLAGS-isoc99_fwscanf.c): Likewise.
8894         (CFLAGS-isoc99_vwscanf.c): Likewise.
8895         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8897         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8898         after mkstemp64.
8899         * login/tst-utmp.c (do_prepare): Likewise.
8900         * rt/tst-aio.c (do_prepare): Likewise.
8901         * rt/tst-aio64.c (do_prepare): Likewise.
8903 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8905         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8906         (__lll_lock_elision): Remove adapt_count decrement...
8907         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8908         (__lll_trylock_elision): Likewise.
8909         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8910         (__lll_unlock_elision): ... to here. And utilize
8911         new adapt_count parameter.
8912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8913         (__lll_unlock_elision): Update to include adapt_count
8914         parameter.
8915         (lll_unlock_elision): Pass pointer to adapt_count
8916         variable.
8918 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8920         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8921         Add elision adapt_count parameter to list of arguments.
8922         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8923         (lll_unlock_elision): Update with new parameter list
8924         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8925         (lll_unlock_elision): Likewise.
8926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8927         (lll_unlock_elision): Likewise.
8929 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8931         [BZ #19122]
8932         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8933         attribute_hidden.
8935         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8936         attribute_hidden.
8937         [IS_IN (rtld)] (__strdup): Likewise.
8938         [IS_IN (rtld)] (__strerror_r): Likewise.
8939         [IS_IN (rtld)] (__strsep_g): Likewise.
8940         [IS_IN (rtld)] (memchr): Likewise.
8941         [IS_IN (rtld)] (memcmp): Likewise.
8942         [IS_IN (rtld)] (memcpy): Likewise.
8943         [IS_IN (rtld)] (memmove): Likewise.
8944         [IS_IN (rtld)] (memset): Likewise.
8945         [IS_IN (rtld)] (rawmemchr): Likewise.
8946         [IS_IN (rtld)] (stpcpy): Likewise.
8947         [IS_IN (rtld)] (strchr): Likewise.
8948         [IS_IN (rtld)] (strcmp): Likewise.
8949         [IS_IN (rtld)] (strlen): Likewise.
8950         [IS_IN (rtld)] (strnlen): Likewise.
8951         [IS_IN (rtld)] (strsep): Likewise.
8953         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8954         attribute_hidden.
8955         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8957         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8958         attribute_hidden.
8959         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8961         * include/setjmp.h (__longjmp): Add attribute_hidden.
8962         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8964         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8965         Add attribute_hidden.
8967         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8968         [IS_IN (rtld)] (__open): Likewise.
8969         [IS_IN (rtld)] (__fcntl): Likewise.
8971         * include/dirent.h (__opendirat): Add attribute_hidden.
8972         (__getdents): Likewise.
8973         (__getdents64): Likewise.
8974         (__alloc_dir): Likewise.
8975         [IS_IN (rtld)] (__closedir): Likewise.
8976         [IS_IN (rtld)] (__fdopendir): Likewise.
8977         [IS_IN (rtld)] (__readdir): Likewise.
8978         [IS_IN (rtld)] (__readdir64): Likewise.
8979         [IS_IN (rtld)] (__rewinddir): Likewise.
8981         * include/dlfcn.h (_dl_catch_error): Moved to ...
8982         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8983         attribute_hidden.
8985         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8986         (_itoa_word): Likewise.
8988         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8989         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8990         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8991         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8992         (_dl_higher_prime_number): Likewise.
8993         (_dl_debug_printf_c): Likewise.
8994         (_dl_signal_cerror): Likewise.
8995         (_dl_receive_error): Likewise.
8996         (_dl_reloc_bad_type): Likewise.
8997         (_dl_resolve_conflicts): Likewise.
8998         (_dl_check_all_versions): Likewise.
8999         (_dl_check_map_versions): Likewise.
9000         (_dl_sort_fini): Likewise.
9001         (_dl_debug_initialize): Likewise.
9002         (_dl_init_paths): Likewise.
9003         (_dl_show_auxv): Likewise.
9004         (_dl_next_ld_env_entry): Likewise.
9005         (_dl_important_hwcaps): Likewise.
9006         (_dl_load_cache_lookup): Likewise.
9007         (_dl_update_slotinfo): Likewise.
9008         (_dl_show_scope): Likewise.
9010         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9011         attribute_hidden.
9012         (_wordcopy_fwd_dest_aligned): Likewise.
9013         (_wordcopy_bwd_aligned): Likewise.
9014         (_wordcopy_bwd_dest_aligned): Likewise.
9016         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9017         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9018         Likewise.
9019         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9020         Likewise.
9021         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9023 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9026         GCC 5 requirement.
9028 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9030         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9031         test.
9032         * sysdeps/i386/configure: Regenerated.
9033         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9034         code unconditional.
9036         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9037         test.
9038         (libc_cv_asm_popsection_directive): Likewise.
9039         * configure: Regenerated.
9040         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9041         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9042         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9043         (__make_section_unallocated): Make definition unconditional.
9044         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9045         Remove conditional definition.
9046         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9047         (__make_section_unallocated): Likewise.
9049         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9050         * configure: Regenerated.
9051         * config.make.in (static-libgcc): Remove variable.
9052         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9053         $(static-libgcc).
9054         (build-module-helper): Likewise.
9056         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9057         * configure: Regenerated.
9059 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9061         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9062         (struct char_buffer): New type.
9063         (char_buffer_start, char_buffer_size, char_buffer_error)
9064         (char_buffer_rewind, char_buffer_add): New functions.
9065         (ADDW): Remove macro, replaced by the char_buffer_add function.
9066         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9067         of extend_alloca.  Make control flow more explicit.
9069 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9071         [BZ #19137]
9072         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9073         Add -fomit-frame-pointer.
9074         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9076 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9078         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9079         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9080         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9081         only if !__GNUC_PREREQ (5,0).
9082         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9083         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9084         (INTERNAL_SYSCALL_NCS): Likewise.
9085         (LOADREGS_0): New macro for GCC 5.
9086         (ASMARGS_0): Likewise.
9087         (LOADREGS_1): Likewise.
9088         (ASMARGS_1): Likewise.
9089         (LOADREGS_2): Likewise.
9090         (ASMARGS_2): Likewise.
9091         (LOADREGS_3): Likewise.
9092         (ASMARGS_3): Likewise.
9093         (LOADREGS_4): Likewise.
9094         (ASMARGS_4): Likewise.
9095         (LOADREGS_5): Likewise.
9096         (ASMARGS_5): Likewise.
9097         (LOADREGS_6): Likewise.
9098         (ASMARGS_6): Likewise.
9100 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9102         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9103         -fomit-frame-pointer.
9104         (CFLAGS-mmap64.c): Likewise.
9105         (CFLAGS-semtimedop.c): Likewise.
9106         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9107         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9109         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9111 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9113         [BZ #18928]
9114         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9115         _dl_pointer_guard member.
9116         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9117         initializer.
9118         (security_init): Always set up pointer guard.
9119         (process_envvars): Do not process LD_POINTER_GUARD.
9121 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #19134]
9124         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9125         (.LC2): Likewise.
9126         (.LC3): Likewise.
9127         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9129 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9131         [BZ #19129]
9132         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9133         r0 and r1.
9135 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9137         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9139 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9141         * include/stap-probe.h: Fix macro definition formatting.
9143 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9145         [BZ #19074]
9146         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9147         load and store num_ifs.
9149 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9151         [BZ #18822]
9152         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9153         (__sched_getaffinity_new): Add libc_hidden_proto and
9154         libc_hidden_def.
9156 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9158         [BZ #19007]
9159         * scripts/localplt.awk: Also allow GOT references.
9160         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9161         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9162         with "+ REL R_386_GLOB_DAT".
9163         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9164         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9166 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9168         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9169         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9170         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9171         Likewise.
9172         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9173         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9174         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9175         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9176         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9177         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9178         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9179         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9180         Likewise.
9181         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9183 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9185         [BZ #19125]
9186         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9187         <math_private.h> and <stdint.h>.
9188         (__llround): Avoid conversions to and from long long int, and
9189         subtractions, where those might raise spurious exceptions.
9190         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9191         <math_private.h> and <stdint.h>.
9192         (__llroundf): Avoid conversions to and from long long int, and
9193         subtractions, where those might raise spurious exceptions.
9195 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9197         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9198         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9199         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9200         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9201         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9202         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9203         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9204         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9205         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9206         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9207         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9208         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9209         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9210         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9211         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9212         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9213         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9214         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9215         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9216         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9217         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9218         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9219         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9220         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9221         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9222         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9223         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9224         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9225         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9226         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9227         (__xstat64_conv): Likewise.
9228         (__xstat32_conv): Likewise.
9230 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9232         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9233         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9234         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9235         <sysdeps/unix/sysv/linux/sysdep.h>.
9236         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9237         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9238         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9239         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9240         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9241         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9242         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9243         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9244         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9248         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9249         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9250         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9252         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9253         (sysdep-dl-routines): Add sysdep.
9254         [$(subdir) == nptl] (libpthread-routines): Likewise.
9255         [$(subdir) == rt] (librt-routines): Likewise.
9256         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9257         PIC when branching to SYSCALL_ERROR_LABEL.
9258         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9259         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9260         <sysdeps/unix/sysv/linux/sysdep.h>.
9261         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9262         (SYSCALL_ERROR_ERRNO): Removed.
9263         (SYSCALL_ERROR_HANDLER): Changed to empty.
9264         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9265         (__syscall_error): New prototype.
9266         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9267         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9269 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9271         [BZ #19124]
9272         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9273         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9274         _dl_runtime_resolve_avx.
9275         (_dl_runtime_profile_avx512): Make it a hidden alias of
9276         _dl_runtime_profile_avx.
9278 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9280         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9281         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9282         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9283         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9285         [BZ #16422]
9286         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9287         New configure test.
9288         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9289         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9290         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9291         <math_private.h> and <stdint.h>.
9292         (__llrint): Avoid conversions to long long int where those might
9293         raise spurious exceptions.
9294         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9295         <math_private.h> and <stdint.h>.
9296         (__llrintf): Avoid conversions to long long int where those might
9297         raise spurious exceptions.
9299 2015-10-12  Andreas Schwab  <schwab@suse.de>
9301         [BZ #18969]
9302         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9303         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9304         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9305         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9306         $(gen-locales).
9307         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9308         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9309         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9310         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9311         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9312         $(gen-locales).
9313         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9314         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9315         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9316         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9317         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9318         ($(objpfx)tst-ftell-active-handler.out)
9319         ($(objpfx)tst-ftell-append.out)
9320         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9321         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9322         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9323         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9324         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9325         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9326         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9327         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9328         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9329         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9330         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9331         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9332         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9333         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9334         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9335         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9336         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9337         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9338         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9339         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9340         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9341         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9342         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9343         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9344         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9345         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9346         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9347         $(gen-locales).
9348         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9349         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9350         $(gen-locales).
9351         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9352         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9353         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9354         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9355         $(gen-locales).
9356         * libio/tst_wprintf2.c (main): Use explicit locale.
9357         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9359 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9361         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9362         __msg_sig_post.
9363         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9365 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9367         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9368         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9370         * sysdeps/arm/libm-test-ulps: Regenerated.
9372         [BZ #15470]
9373         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9375         [BZ #16399]
9376         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9377         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9378         and <fix-fp-int-convert-overflow.h>.
9379         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9380         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9381         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9382         and <fix-fp-int-convert-overflow.h>.
9383         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9384         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9385         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9386         <fix-fp-int-convert-overflow.h>.
9387         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9388         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9389         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9390         <fix-fp-int-convert-overflow.h>.
9391         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9392         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9393         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9394         and <fix-fp-int-convert-overflow.h>.
9395         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9396         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9397         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9398         <limits.h> and <fix-fp-int-convert-overflow.h>.
9399         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9400         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9401         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9402         and <fix-fp-int-convert-overflow.h>.
9403         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9404         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9405         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9406         and <fix-fp-int-convert-overflow.h>.
9407         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9408         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9409         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9411 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9413         [BZ #18589]
9414         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9415         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9416         $(gen-locales).
9418 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9419             Phil Blundell <pb@pbcl.net>
9421         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9422         * nptl/tst-cancel26.c: New file.
9423         * nptl/tst-cancel27.c: Likewise.
9425 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9427         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9428         __ILP32__ isn't defined.
9429         (lrint): Likewise.
9430         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9431         (lrintf): Likewise.
9432         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9433         (lrintl): Likewise.
9434         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9435         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9436         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9438 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9441         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9443         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9444         file.
9445         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9446         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9448 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9450         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9451         configure test.
9452         * sysdeps/i386/configure: Regenerated.
9453         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9454         configure test.
9455         * sysdeps/x86_64/configure: Regenerated.
9456         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9457         Make code unconditional.
9459         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9460         test.
9461         * sysdeps/i386/configure: Regenerated.
9462         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9463         test.
9464         * sysdeps/x86_64/configure: Regenerated.
9465         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9466         Make code unconditional.
9467         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9468         Likewise.
9469         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9470         Likewise.
9471         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9472         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9473         code unconditional.
9474         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9475         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9476         code unconditional.
9477         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9478         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9479         code unconditional.
9480         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9481         code unconditional.
9482         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9483         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9484         code unconditional.
9485         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9486         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9487         code unconditional.
9488         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9489         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9490         code unconditional.
9491         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9492         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9493         code unconditional.
9494         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9495         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9497         [BZ #19095]
9498         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9499         mantissa to long int before shifting left.
9501 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9503         [BZ #19094]
9504         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9505         <limits.h>.
9506         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9507         when result overflows but exception would not result from cast.
9508         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9509         <limits.h>.
9510         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9511         when result overflows but exception would not result from cast.
9512         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9513         <limits.h>.
9514         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9515         when result overflows but exception would not result from cast.
9516         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9517         <limits.h>.
9518         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9519         when result overflows but exception would not result from cast.
9520         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9521         <limits.h>.
9522         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9523         when result overflows but exception would not result from cast.
9524         * math/libm-test.inc (lrint_test_data): Add more tests.
9525         (llrint_test_data): Likewise.
9527 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9529         [BZ #18872]
9530         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9531         Move out from under [$(run-built-tests) = yes] conditional.
9532         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9533         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9535 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9537         [BZ #18589]
9538         * string/Makefile (tests): Add bug-strcoll2.
9539         (LOCALES): Add cs_CZ.UTF-8.
9540         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9542         [BZ #18589]
9543         * string/bug-strcoll2.c: New file.
9544         * locale/categories.def: Revert commit
9545         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9546         * locale/langinfo.h: Likewise.
9547         * locale/localeinfo.h: Likewise.
9548         * locale/C-collate.c: Likewise.
9549         * locale/programs/ld-collate.c (collate_output): Likewise.
9550         * string/strcoll_l.c (STRDIFF): Likewise.
9551         (STRCOLL): Likewise.
9552         * wcsmbs/wcscoll_l.c: Likewise.
9554 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9556         * math/libm-test.inc (lround_test_data): Do not expect the absence
9557         of "inexact" for some tests with non-integer arguments.
9558         (llround_test_data): Likewise.
9560         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9561         test.
9562         (libc_cv_cc_sse2avx): Likewise.
9563         * sysdeps/i386/configure: Regenerated.
9564         * sysdeps/i386/i686/multiarch/Makefile
9565         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9566         [$(subdir) = math].
9567         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9568         code unconditional.
9569         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9570         Likewise.
9571         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9572         Likewise.
9573         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9574         Likewise.
9575         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9576         test.
9577         (libc_cv_cc_sse2avx): Likewise.
9578         * sysdeps/x86_64/configure: Regenerated.
9579         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9580         unconditional.
9581         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9582         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9583         unconditional.
9584         (_dl_runtime_profile)
9585         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9586         conditional code.
9587         * sysdeps/x86_64/fpu/multiarch/Makefile
9588         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9589         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9590         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9591         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9592         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9593         * sysdeps/x86_64/fpu/multiarch/e_log.c
9594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9595         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9596         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9597         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9598         Likewise.
9599         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9600         Likewise.
9601         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9602         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9603         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9604         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9605         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9606         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9607         (HAVE_SSE2AVX_SUPPORT): Likewise.
9609 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9611         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9612         instead of #pragma optimize.
9614 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9616         [BZ #17195]
9617         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9618         as is similarly done in systrim and _int_free already.
9620 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9622         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9624 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9626         [BZ #19088]
9627         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9628         <limits.h>.
9629         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9630         overflows but exception would not result from cast.
9631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9632         and <limits.h>.
9633         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9634         overflows but exception would not result from cast.
9635         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9636         <limits.h>.
9637         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9638         overflows but exception would not result from cast.
9639         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9640         <limits.h>.
9641         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9642         overflows but exception would not result from cast.
9643         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9644         <limits.h>.
9645         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9646         overflows but exception would not result from cast.
9647         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9648         <limits.h>.
9649         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9650         overflows but exception would not result from cast.
9651         * math/libm-test.inc (lround_test_data): Add more tests.
9652         (llround_test_data): Likewise.
9654 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9656         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9657         (CFLAGS-ialloc.c): Ditto.
9658         (CFLAGS-scheck.c): Ditto.
9660 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9662         [BZ #19086]
9663         * manual/filesys.texi (Storage Allocation): Fix argument order for
9664         posix_fallocate64.
9666 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9668         [BZ #19085]
9669         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9670         exponent below 48 inside case for non-overflowing exponent.
9671         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9673 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9675         * iconvdata/cp737.h (from_idx): Add const.
9676         * iconvdata/cp775.h (from_idx): Likewise.
9678 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9680         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9681         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9682         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9684         [BZ #19079]
9685         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9686         file, conditioned on [!_LP64].
9687         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9688         [!_LP64] (__lround): Do not define as function or alias.
9689         [!_LP64] (lround): Likewise.
9690         [!_LP64] (__lroundl): Likewise.
9691         [!_LP64] (lroundl): Likewise.
9692         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9693         macro.
9694         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9695         Likewise.
9697 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9699         * math/libm-test.inc (lrint_test_data): Add more tests.
9700         (llrint_test_data): Likewise.
9701         (lround_test_data): Likewise.
9702         (llround_test_data): Likewise.
9704         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9705         (llrint_test_data): Add tests used for lrint.
9707         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9708         test.
9709         * sysdeps/i386/configure: Regenerated.
9710         * sysdeps/i386/i686/multiarch/Makefile
9711         [$(config-cflags-sse4) = yes]: Make code unconditional.
9712         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9713         Likewise.
9714         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9715         Likewise.
9716         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9717         test.
9718         * sysdeps/x86_64/configure: Regenerated.
9719         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9720         Make code unconditional.
9721         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9722         Likewise.
9723         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9724         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9726         * scripts/rpm2dynsym.sh: Remove file.
9728 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9730         * configure.ac (libc_cv_cxx_thread_local): Define.
9731         * configure: Regenerate.
9732         * config.make.in (have-cxx-thread_local): Define.
9733         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9734         (LDLIBS-tst-thread_local1): Define.
9735         (tests): Add tst-thread_local1.
9736         [have-cxx-thread_local != yes] (tests-unsupported): Add
9737         tst-thread_local1.
9738         * nptl/tst-thread_local1.cc: New file.
9740 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9742         [BZ #19078]
9743         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9744         (u_thres): Likewise.
9745         (__expl): Determine whether to call __kernel_standard_l based on
9746         value of result, not argument.
9748         * math/libm-test.inc (scalb_test_data): Add more expectations for
9749         the "inexact" exception.
9751         [BZ #19077]
9752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9753         0.0L for argument 1.0L.
9755         [BZ #19076]
9756         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9757         constant 0.0L when computing infinite result.
9759 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9761         [BZ #10432]
9762         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9763         malloc_usable_size.
9765 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9767         [BZ #19018]
9768         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9769         Mangle function pointer before storing it.
9770         (__call_tls_dtors): Demangle function pointer before calling it.
9772 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9774         [BZ #19012]
9775         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9776         Clean up on failure.
9778 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9780         [BZ #19071]
9781         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9782         long int variable to store possibly incremented high part of
9783         mantissa.
9784         * math/libm-test.inc (lround_test_data): Add tests used for
9785         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9786         for tests requiring 64-bit long.  Do not condition tests on
9787         [TEST_FLOAT] unnecessarily.
9788         (llround_test_data): Add tests used for lround.  Add another
9789         expectation for the "inexact" exception.  Do not condition tests
9790         on [TEST_FLOAT] unnecessarily.
9792         [BZ #887]
9793         [BZ #19049]
9794         [BZ #19050]
9795         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9796         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9797         <fix-int-fp-convert-zero.h>.
9798         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9799         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9800         <fix-int-fp-convert-zero.h>.
9801         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9802         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9803         <fix-int-fp-convert-zero.h>.
9804         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9805         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9806         <fix-int-fp-convert-zero.h>.
9807         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9808         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9809         <fix-int-fp-convert-zero.h>.
9810         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9811         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9812         <fix-int-fp-convert-zero.h>.
9813         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9814         * sysdeps/ieee754/flt-32/s_erff.c: Include
9815         <fix-int-fp-convert-zero.h>.
9816         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9817         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9818         <fix-int-fp-convert-zero.h>.
9819         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9820         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9821         <fix-int-fp-convert-zero.h>.
9822         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9824         <fix-int-fp-convert-zero.h>.
9825         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9826         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9827         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9828         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9829         file.
9830         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9832 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9834         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9836 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9838         [BZ #19059]
9839         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9840         overflowing computation.
9841         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9842         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9843         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9844         Likewise.
9845         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9846         Likewise.
9847         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9848         Likewise.
9849         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9850         Likewise.
9851         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9852         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9853         Likewise.
9854         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9855         Likewise.
9856         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9858         * nss/rewrite_field.c (__nss_rewrite_field): Use
9859         internal_function.
9860         * nss/valid_field.c (__nss_valid_field): Likewise.
9861         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9863 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9865         [BZ #18724]
9866         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9867         (__nss_invalid_field_characters, __nss_valid_field)
9868         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9869         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9870         tst-field.c: New file.
9871         * nss/Makefile (routines): Add valid_field, rewrite_field.
9872         (tests-static): Define unconditionally.
9873         (tests): Include tests-static.
9874         [build-static-nss] (tests-static): Use append.
9875         [build-static-nss] (tests): Remove modification.
9876         * nss/getent.c (print_group): Call putgrent.  Report error.
9877         (print_gshadow): Call putsgent.  Report error.
9878         (print_passwd): Call putpwent.  Report error.
9879         (print_shadow): Call putspent.  Report error.
9880         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9881         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9882         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9883         name, password, directory, shell fields for valid syntax.  Rewrite
9884         GECOS field to match syntax.
9885         * pwd/Makefile (tests): Add tst-putpwent.
9886         * pwd/tst-putpwent.c: New file.
9887         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9888         Check grName, grpasswd, gr_mem fields for valid syntax.
9889         Change loop variable i to size_t.
9890         * grp/Makefile (tests): Add tst-putgrent.
9891         * grp/tst-putgrent.c: New file.
9892         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9893         valid syntax.
9894         * shadow/Makefile (tests): Add tst-putspent.
9895         * shadow/tst-putspent.c: New file.
9896         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9897         sg_mem fields for valid syntax.
9898         * gshadow/Makefile (tests): Add tst-putsgent.
9899         * gshadow/tst-putsgent.c: New file.
9901 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9903         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9904         assembly instructions.
9906 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9908         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9909         prefix from operands.
9911 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9913         [BZ #16347]
9914         [BZ #19046]
9915         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9916         <libc-internal.h>.
9917         (MAXLGM): Do not use diagnostic control macros.
9918         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9919         threshold for ldbl-128ibm.
9920         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9921         instead of multiplying by log then subtracting.
9922         * math/auto-libm-test-in: Add more tests of lgamma.
9923         * math/auto-libm-test-out: Regenerated.
9925         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9926         (TYPE_HEX_DIG): Likewise.
9927         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9928         precisions when printing floating-point numbers.
9929         (check_float_internal): Likewise.
9931 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9933         [BZ #16620]
9934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9935         of log (10) rounded downward to 48 bits.
9936         (log10_low): Use corresponding low part of log (10).
9938         [BZ #19032]
9939         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9940         compute result as (x - x) / (x - x) not as 0 / 0.
9941         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9942         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9944         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9945         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9946         and expm1.
9947         * math/auto-libm-test-out: Regenerated.
9948         * math/libm-test.inc (acos_test_data): Add more tests.
9949         (asin_test_data): Likewise.
9950         (asinh_test_data): Likewise.
9951         (atan_test_data): Likewise.
9952         (atanh_test_data): Likewise.
9953         (atan2_test_data): Likewise.
9954         (cbrt_test_data): Likewise.
9955         (ceil_test_data): Likewise.
9956         (copysign_test_data): Likewise.
9957         (cos_test_data): Likewise.
9958         (cosh_test_data): Likewise.
9959         (erf_test_data): Likewise.
9960         (erfc_test_data): Likewise.
9961         (exp_test_data): Likewise.
9962         (exp10_test_data): Likewise.
9963         (exp2_test_data): Likewise.
9964         (expm1_test_data): Likewise.
9965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9967 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9969         [BZ #19006]
9970         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9971         to ...
9972         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9973         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9974         to ...
9975         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9976         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9977         to ...
9978         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9979         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9980         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9981         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9982         to ...
9983         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9984         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9985         Moved to ...
9986         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9987         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9988         Moved to ...
9989         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9990         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9991         to ...
9992         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9993         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9994         Moved to ...
9995         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9996         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9997         to ...
9998         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9999         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10000         Removed.
10001         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10002         Likewise.
10003         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10004         Likewise.
10005         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10006         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10007         Likewise.
10008         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10009         Likewise.
10010         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10011         Likewise.
10012         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10013         Likewise.
10014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10015         Likewise.
10016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10017         Likewise.
10018         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10019         Likewise.
10020         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10021         Likewise.
10022         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10023         Likewise.
10024         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10025         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10026         Likewise.
10027         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10030         Likewise.
10031         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10034         Likewise.
10035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10036         Replace ../i486/pthread_cond_timedwait.S with
10037         ../pthread_cond_timedwait.S.
10039 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10041         * math/libm-test.inc (acos_test_data): Refine expectations for
10042         errno and "inexact" exceptions.
10043         (acosh_test_data): Likewise.
10044         (asin_test_data): Likewise.
10045         (asinh_test_data): Likewise.
10046         (atan_test_data): Likewise.
10047         (atanh_test_data): Likewise.
10048         (atan2_test_data): Likewise.
10049         (cbrt_test_data): Likewise.
10050         (ceil_test_data): Likewise.
10051         (copysign_test_data): Likewise.
10052         (cosh_test_data): Likewise.
10053         (erf_test_data): Likewise.
10054         (erfc_test_data): Likewise.
10055         (exp_test_data): Likewise.
10056         (exp10_test_data): Likewise.
10057         (exp2_test_data): Likewise.
10058         (expm1_test_data): Likewise.
10059         (fabs_test_data): Likewise.
10060         (floor_test_data): Likewise.
10061         (fma_test_data): Likewise.
10062         (fmax_test_data): Likewise.
10063         (fmin_test_data): Likewise.
10064         (fmod_test_data): Likewise.
10065         (fpclassify_test_data): Likewise.
10066         (frexp_test_data): Likewise.
10067         (hypot_test_data): Likewise.
10068         (ilogb_test_data): Likewise.
10069         (isgreater_test_data): Likewise.
10070         (isgreaterequal_test_data): Likewise.
10071         (isinf_test_data): Likewise.
10072         (isless_test_data): Likewise.
10073         (islessequal_test_data): Likewise.
10074         (islessgreater_test_data): Likewise.
10075         (isnan_test_data): Likewise.
10076         (isnormal_test_data): Likewise.
10077         (issignaling_test_data): Likewise.
10078         (isunordered_test_data): Likewise.
10079         (j0_test_data): Likewise.
10080         (j1_test_data): Likewise.
10081         (jn_test_data): Likewise.
10082         (lgamma_test_data): Likewise.
10083         (lrint_test_data): Likewise.
10084         (llrint_test_data): Likewise.
10085         (log_test_data): Likewise.
10086         (log10_test_data): Likewise.
10087         (log1p_test_data): Likewise.
10088         (log2_test_data): Likewise.
10089         (logb_test_data): Likewise.
10090         (lround_test_data): Likewise.
10091         (llround_test_data): Likewise.
10092         (modf_test_data): Likewise.
10093         (nearbyint_test_data): Likewise.
10094         (nextafter_test_data): Likewise.
10095         (nexttoward_test_data): Likewise.
10096         (pow_test_data): Likewise.
10097         (remainder_test_data): Likewise.
10098         (remquo_test_data): Likewise.
10099         (rint_test_data): Likewise.
10100         (round_test_data): Likewise.
10101         (signbit_test_data): Likewise.
10102         (sinh_test_data): Likewise.
10103         (sqrt_test_data): Likewise.
10104         (tanh_test_data): Likewise.
10105         (tgamma_test_data): Likewise.
10106         (trunc_test_data): Likewise.
10107         (y0_test_data): Likewise.
10108         (y1_test_data): Likewise.
10109         (yn_test_data): Likewise.
10110         (significand_test_data): Likewise.
10112 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10114         * manual/filesys.texi (Storage Allocation): Document that
10115         posix_fallocate emulation fails when fd is open with O_WRONLY.
10117 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10119         [BZ #19016]
10120         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10121         allow more cases with X^2 + Y^2 >= 0.5.
10122         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10123         normal element in sum instead of special-casing based on values of
10124         arguments.
10125         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10126         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10127         -1 as normal element in sum instead of special-casing based on
10128         values of arguments.
10129         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10130         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10131         (__x2y2m1): Update comment.
10132         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10133         as normal element in sum instead of special-casing based on values
10134         of arguments.
10135         * math/s_clog.c (__clog): Handle more cases using log1p without
10136         hypot.
10137         * math/s_clog10.c (__clog10): Likewise.
10138         * math/s_clog10f.c (__clog10f): Likewise.
10139         * math/s_clog10l.c (__clog10l): Likewise.
10140         * math/s_clogf.c (__clogf): Likewise.
10141         * math/s_clogl.c (__clogl): Likewise.
10142         * math/auto-libm-test-in: Add more tests of clog and clog10.
10143         * math/auto-libm-test-out: Regenerated.
10144         * sysdeps/i386/fpu/libm-test-ulps: Update.
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147 2015-09-28  Martin Sebor  <msebor@redhat.com>
10149         [BZ #18969]
10150         * string/Makefile (LOCALES): Define.
10151         (gen-locales.mk): Include.
10152         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10153         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10154         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10155         on setlocale failure.
10157 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10159         [BZ #18985]
10160         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10161         (__strftime_internal): Likewise.
10162         * time/tst-strftime.c (do_bz18985): New test.
10163         (do_test): Call it.
10165 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #18956]
10168         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10169         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10170         extracting high part.
10171         * math/auto-libm-test-in: Add another test of pow.
10172         * math/auto-libm-test-out: Regenerated.
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10175 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10177         [BZ #18825]
10178         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10179         New macro.
10180         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10181         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10182         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10183         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10184         DBL_NARROW_EVAL, reloading the PIC register as needed.
10185         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10186         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10187         FLT_NARROW_EVAL.  Use separate return path for case when first
10188         argument is NaN.
10189         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10190         DEFINE_LDBL_MIN.
10191         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10192         PIC register.
10193         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10194         math_check_force_underflow_nonneg.
10195         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10196         underflow for subnormal result.
10197         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10199         math_check_force_underflow_nonneg.
10200         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10201         math_check_force_underflow.
10202         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10203         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10204         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10205         DEFINE_LDBL_MIN.
10206         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10207         * math/auto-libm-test-in: Add more tests of pow.
10208         * math/auto-libm-test-out: Regenerated.
10210 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10212         * nss/bug17079.c (init_test_items): Add diagnostic for
10213         inconsistent entries.
10214         (test_buffer_size): Skip inconsistent entries.
10216 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10218         [BZ #13304]
10219         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10220         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10221         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10223         [BZ #13304]
10224         * sysdeps/microblaze/s_fma.c: New file.
10225         * sysdeps/microblaze/s_fmaf.c: Likewise.
10226         * sysdeps/microblaze/sfp-machine.h: Likewise.
10228 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10230         [BZ #17250]
10231         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10232         member.
10234 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10236         [BZ #18803]
10237         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10238         (MO): New macro.
10239         (__ieee754_hypot) [PIC]: Load PIC register.
10240         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10241         DBL_NARROW_EVAL.
10242         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10243         math_check_force_underflow_nonneg in case where result might be
10244         tiny.
10245         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10246         Likewise.
10247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10248         Likewise.
10249         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10250         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10251         * math/auto-libm-test-in: Add more tests of hypot.
10252         * math/auto-libm-test-out: Regenerated.
10254 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10256         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10258 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10260         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10261         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10262         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10263         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10264         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10265         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10266         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10268         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10269         LOAD_PIC_REG.
10271         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10272         (FLT_CHECK_FORCE_UFLOW): Likewise.
10273         (DBL_CHECK_FORCE_UFLOW): Likewise.
10274         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10275         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10276         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10277         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10278         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10279         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10280         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10281         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10282         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10283         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10284         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10285         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10286         (flt_min): Replace with use of DEFINE_FLT_MIN.
10287         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10288         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10289         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10290         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10291         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10292         (flt_min): Replace with use of DEFINE_FLT_MIN.
10293         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10294         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10295         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10296         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10297         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10298         (flt_min): Replace with use of DEFINE_FLT_MIN.
10299         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10300         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10301         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10302         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10303         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10304         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10305         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10306         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10307         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10308         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10309         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10310         (flt_min): Replace with use of DEFINE_FLT_MIN.
10311         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10312         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10313         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10314         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10315         main computation.
10316         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10317         (flt_min): Replace with use of DEFINE_FLT_MIN.
10318         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10319         main computation.
10320         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10321         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10322         (MO): New macro.
10323         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10324         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10325         (flt_min): Replace with use of DEFINE_FLT_MIN.
10326         (MO): New macro.
10327         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10328         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10329         (__log1pl): Use MO.
10331         [BZ #19003]
10332         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10333         $(config-cflags-nofma).
10335 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10337         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10339 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10341         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10342         (TWO127): Likewise.
10344         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10345         (min_of_type): Likewise.
10346         (math_check_force_underflow): Likewise.
10347         (math_check_force_underflow_nonneg): Likewise.
10348         (math_check_force_underflow_complex): Likewise.
10349         * math/e_exp2l.c (__ieee754_exp2l): Use
10350         math_check_force_underflow_nonneg.
10351         * math/k_casinh.c (__kernel_casinh): Likewise.
10352         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10353         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10354         * math/s_catan.c (__catan): Use
10355         math_check_force_underflow_complex.
10356         * math/s_catanf.c (__catanf): Likewise.
10357         * math/s_catanh.c (__catanh): Likewise.
10358         * math/s_catanhf.c (__catanhf): Likewise.
10359         * math/s_catanhl.c (__catanhl): Likewise.
10360         * math/s_catanl.c (__catanl): Likewise.
10361         * math/s_ccosh.c (__ccosh): Likewise.
10362         * math/s_ccoshf.c (__ccoshf): Likewise.
10363         * math/s_ccoshl.c (__ccoshl): Likewise.
10364         * math/s_cexp.c (__cexp): Likewise.
10365         * math/s_cexpf.c (__cexpf): Likewise.
10366         * math/s_cexpl.c (__cexpl): Likewise.
10367         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10368         * math/s_clog10.c (__clog10): Likewise.
10369         * math/s_clog10f.c (__clog10f): Likewise.
10370         * math/s_clog10l.c (__clog10l): Likewise.
10371         * math/s_clogf.c (__clogf): Likewise.
10372         * math/s_clogl.c (__clogl): Likewise.
10373         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10374         * math/s_csinf.c (__csinf): Likewise.
10375         * math/s_csinh.c (__csinh): Likewise.
10376         * math/s_csinhf.c (__csinhf): Likewise.
10377         * math/s_csinhl.c (__csinhl): Likewise.
10378         * math/s_csinl.c (__csinl): Likewise.
10379         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10380         * math/s_csqrtf.c (__csqrtf): Likewise.
10381         * math/s_csqrtl.c (__csqrtl): Likewise.
10382         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10383         * math/s_ctanf.c (__ctanf): Likewise.
10384         * math/s_ctanh.c (__ctanh): Likewise.
10385         * math/s_ctanhf.c (__ctanhf): Likewise.
10386         * math/s_ctanhl.c (__ctanhl): Likewise.
10387         * math/s_ctanl.c (__ctanl): Likewise.
10388         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10389         instead of volatile.
10390         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10391         math_check_force_underflow.
10392         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10393         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10394         volatile when forcing underflow.
10395         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10396         math_check_force_underflow_nonneg.
10397         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10398         Likewise.
10399         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10400         math_check_force_underflow.
10401         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10402         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10403         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10404         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10405         math_check_force_underflow_nonneg.
10406         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10407         math_check_force_underflow.
10408         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10410         instead of volatile.
10411         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10412         math_check_force_underflow.
10413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10414         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10415         math_check_force_underflow_nonneg.
10416         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10417         math_check_force_underflow.
10418         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10419         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10420         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10421         math_check_force_underflow_nonneg.
10422         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10423         Likewise.
10424         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10425         math_check_force_underflow.
10426         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10427         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10428         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10429         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10430         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10431         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10432         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10433         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10434         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10435         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10436         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10437         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10438         Likewise.
10439         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10440         math_check_force_underflow_nonneg.
10441         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10442         Likewise.
10443         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10444         math_check_force_underflow.
10445         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10446         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10447         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10448         Likewise.
10449         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10450         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10451         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10452         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10453         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10454         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10456         instead of volatile.
10457         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10458         math_check_force_underflow.
10459         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10461         math_check_force_underflow.
10462         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10463         Likewise.
10464         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10465         Use math_check_force_underflow_nonneg.
10466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10467         math_check_force_underflow.
10468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10469         Likewise.
10470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10471         Likewise.
10472         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10473         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10474         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10476         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10477         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10478         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10479         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10480         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10481         math_check_force_underflow_nonneg.
10482         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10483         math_check_force_underflow.
10484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10485         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10486         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10487         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10488         math_check_force_underflow_nonneg.
10489         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10490         math_check_force_underflow.
10491         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10493         instead of volatile.
10494         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10495         math_check_force_underflow.
10497         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10498         * stdlib/strtod_l.c: Include <math_private.h>.
10499         (overflow_value): Use math_narrow_eval.
10500         (underflow_value): Likewise.
10501         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10502         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10503         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10504         (__ieee754_gamma_r): Likewise.
10505         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10506         Likewise.
10507         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10508         Likewise.
10509         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10510         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10511         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10512         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10513         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10514         (__ieee754_gammaf_r): Likewise.
10515         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10516         Likewise.
10517         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10518         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10519         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10520         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10521         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10522         volatile.
10523         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10524         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10525         math_narrow_eval.
10526         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10527         Likewise.
10528         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10529         Likewise.
10530         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10531         Likewise.
10532         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10533         volatile.
10534         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10535         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10536         math_narrow_eval.
10537         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10538         Likewise.
10539         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10540         Likewise.
10542 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10544         * nptl/Versions: Remove ignored symbols.
10546 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10548         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10549         * nss/Makefile (tests): Update.
10551 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10553         * nss/bug18287.c: New file.
10554         * nss/Makefile (tests): Add bug18287.
10556 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10558         * mach/Versions (__mach_host_self_): Add symbol.
10560 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10562         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10563         vm_page_size.
10565 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10567         Really fix sysdeps/i386/fpu/s_scalbn.S build
10569         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10570         (libc: GLIBC_2_22): Remove unused version set.
10572 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10574         * config.make.in (enable-timezone-tools): New variable.
10575         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10576         (enable_timezone_tools): Export to generated files.
10577         * configure: Regenerate.
10578         * INSTALL: Regenerate.
10579         * manual/install.texi (--disable-timezone-tools): Document new flag.
10580         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10581         ifeq ($(enable-timezone-tools),yes) check.
10583 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10585         * timezone/Makefile: Revert previous change.
10587         [BZ #18980]
10588         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10589         (DEFINE_DBL_MIN): Likewise.
10590         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10591         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10592         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10593         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10594         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10596         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10597         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10598         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10599         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10600         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10601         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10602         (flt_min): Replace with use of DEFINE_FLT_MIN.
10603         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10604         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10605         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10606         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10607         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10608         (flt_min): Replace with use of DEFINE_FLT_MIN.
10609         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10610         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10611         (flt_min): Replace with use of DEFINE_FLT_MIN.
10612         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10613         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10614         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10615         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10616         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10617         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10618         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10619         (__ieee754_pow): Use DBL_NARROW_EVAL.
10620         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10621         (__ieee754_powf): Use FLT_NARROW_EVAL.
10622         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10623         (__ieee754_expf_sse2): Convert double-precision result to single
10624         precision.
10625         * sysdeps/i386/fpu/libm-test-ulps: Update.
10627 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10629         * timezone/Makefile: Ignore unused variable errors due to private.h
10630         (time_t_min) and (time_t_max).
10631         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10632         Likewise.
10634 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10636         [BZ #18981]
10637         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10638         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10639         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10640         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10641         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10642         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10643         (__scalbn): Use DBL_NARROW_EVAL.
10644         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10645         (__scalbnf): Use FLT_NARROW_EVAL.
10647 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10649         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10650         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10651         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10652         * stdio-common/printf_fp.c (___printf_fp):
10653         Use signbit to get the sign. Use isinf macro to allow inlining.
10654         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10655         * stdio-common/printf_size.c (__printf_size): Likewise.
10657 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10659         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10661 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10663         [BZ #18980]
10664         * sysdeps/generic/math_private.h: Include <float.h>.
10665         (math_narrow_eval): New macro.
10666         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10667         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10668         math_narrow_eval on overflowing return value.
10669         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10670         Likewise.
10671         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10672         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10673         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10674         Likewise.
10675         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10677 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10679         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10680         * math/Makefile: Remove isinf_ns.c.
10681         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10682         * math/multc3.c (__multc3): Likewise.
10683         * math/s_casin.c (__casin): Likewise.
10684         * math/s_casinf.c (__casinf): Likewise.
10685         * math/s_casinl.c (__casinl): Likewise.
10686         * math/s_cproj.c (__cproj): Likewise.
10687         * math/s_cprojf.c (__cprojf): Likewise.
10688         * math/s_cprojl.c (__cprofl): Likewise.
10689         * math/s_ctan.c (__ctan): Likewise.
10690         * math/s_ctanf.c (__ctanf): Likewise.
10691         * math/s_ctanh.c (__ctanh): Likewise.
10692         * math/s_ctanhf.c (__ctanhf): Likewise.
10693         * math/s_ctanhl.c (__ctanhl): Likewise.
10694         * math/s_ctanl.c (__ctanl): Likewise.
10695         * math/w_fmod.c (__fmod): Likewise.
10696         * math/w_fmodf.c (__fmodf): Likewise.
10697         * math/w_fmodl.c (_fmodl): Likewise.
10698         * math/w_remainder.c (__remainder): Likewise.
10699         * math/w_remainderf.c (__remainderf): Likewise.
10700         * math/w_remainderl.c (__remainderl): Likewise.
10701         * math/w_scalb.c (__scalb): Likewise.
10702         * math/w_scalbf.c (__scalbf): Likewise.
10703         * math/w_scalbl.c (__scalbl): Likewise.
10704         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10705         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10706         with isinf.
10707         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10709         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10710         __isinf_nsf with isinf.
10711         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10712         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10713         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10714         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10715         with isinf.
10716         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10717         __isinf_nsl with isinf.
10718         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10719         with isinf.
10720         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10721         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10722         __isinf_nsl with isinf.
10723         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10724         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10725         with isinf.
10727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10729         * resolv/base64.c (rcsid): Remove unused static.
10730         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10731         static.  (tqpi1): Likewise.
10732         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10733         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10734         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10735         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10737         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10738         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10739         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10740         Likewise.
10742 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10744         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10745         <nptl/pthreadP.h>.
10746         (_longjmp_unwind): Use __libc_ptf_call.
10747         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10749 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10751         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10752         * sysdeps/arm/__longjmp.S: Likewise.
10754 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10756         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10757         Use __builtin_signbit.
10758         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10759         Use __builtin_signbitf.
10760         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10761         Use __builtin_signbitl.
10762         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10763         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10765 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10767         [BZ #15367]
10768         [BZ #17441]
10770         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10771         * math/math.h (fpclassify): Use __builtin_fpclassify when
10772         available.  (signbit): Use __builtin_signbit(f/l).
10773         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10774         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10775         (isinf): Use __builtin_isinf_sign.
10777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10779         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10780         * benchtests/bench-math-inlines.c: New benchmark.
10781         * benchtests/bench-util.h: New file.
10782         * benchtests/bench-util.c: New file.
10783         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10785 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10787         * elf/tst-dlmopen1.c: Define TEST_SO.
10788         (do_test): Use TEST_SO.
10790         * elf/dl-load.c: Include libc-internal.h.
10791         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10793 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10795         [BZ #17887]
10796         * time/strptime_l.c (__strptime_internal): Make %z accept
10797         [+-]HH:MM time zones.
10799 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10801         [BZ #17886]
10802         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10803         valid time zone.
10805 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10807         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10808         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10810         (__ASSUME_FDATASYNC): Delete.
10812 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10814         * conform/linknamespace.pl: Require weak undefined symbols to be
10815         in the standard namespace.
10816         (%strong_syms): Rename to %seen_syms.
10817         (%strong_seen): Rename to %seen_where.
10819 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10821         [BZ #18970]
10822         * misc/error.c (error): Replace pthread_setcancelstate with
10823         __pthread_setcancelstate.
10824         (error_at_line): Likewise.
10825         * posix/wordexp.c (parse_comm): Likewise.
10826         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10827         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10828         (__pthread_setcancelstate): This.
10829         (pthread_setcancelstate): Add an alias.
10830         * nptl/nptl-init.c (pthread_functions): Replace
10831         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10832         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10833         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10834         hidden_proto.
10835         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10836         it with hidden_def.
10837         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10838         (pthread_setcancelstate): Renamed to ...
10839         (__pthread_setcancelstate): This.
10840         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10841         __libc_ptf_call with __pthread_setcancelstate.
10843 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10844             Andreas Schwab  <schwab@suse.de>
10846         [BZ #17118]
10847         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10848         result when imaginary part of argument is infinite using sine and
10849         cosine.
10850         * math/s_ctanf.c (__ctanf): Likewise.
10851         * math/s_ctanl.c (__ctanl): Likewise.
10852         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10853         of result when real part of argument is infinite using sine and
10854         cosine.
10855         * math/s_ctanhf.c (__ctanhf): Likewise.
10856         * math/s_ctanhl.c (__ctanhl): Likewise.
10857         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10858         (ctanh_test_data): Add more tests of ctanh.
10860 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10862         [BZ #15384]
10863         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10864         bit-mask as in subtraction.
10865         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10866         Likewise.
10867         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10868         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10869         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10871         [BZ #18951]
10872         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10873         underflow exception for small results.
10874         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10875         Likewise.
10876         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10877         Likewise.
10878         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10879         Likewise.
10880         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10881         Likewise.
10882         * math/auto-libm-test-in: Add more tests of tgamma.
10883         * math/auto-libm-test-out: Regenerated.
10885 2015-09-17  Andreas Schwab  <schwab@suse.de>
10887         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10889 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10891         [BZ #18977]
10892         * math/bits/mathcalls.h
10893         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10894         not declare.
10895         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10896         Likewise.
10897         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10898         Likewise.
10899         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10900         Likewise.
10901         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10902         Likewise.
10903         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10904         Likewise.
10905         * conform/data/math.h-data
10906         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10907         function.
10908         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10909         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10911         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10917         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10918         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10920         [BZ #6803]
10921         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10922         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10923         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10924         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10925         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10926         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10927         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10928         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10929         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10931         Likewise.
10932         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10933         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10934         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10936         long_double_symbol calls.
10937         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10938         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10939         strong alias of __ldexpl.
10940         (scalbnl): Define using long_double_symbol.
10941         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10942         Remove alias.
10943         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10944         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10945         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10946         (scalbln_test_data): Add more errno expectations.
10948 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10950         Cache the host port like we cache the task port.  This way we do not
10951         need to call the kernel just to get the port.  Furthermore, we no
10952         longer increase the reference count on every invocation of
10953         `mach_host_self'.
10955         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10956         Protect declarations against the macro expansion.
10957         * mach/mach_init.c (__mach_host_self_): New variable.
10958         (mach_init): Initialize `__mach_host_self_'.
10959         * mach/mach_init.h (__mach_host_self_): New declaration.
10960         (__mach_host_self, mach_host_self): New macros.
10961         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10962         Release reference.
10964 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #4404]
10967         * po/de.po: Update from Translation Project.
10969         [BZ #16415]
10970         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10971         (__expm1l): Remove code to handle positive infinity and overflow.
10972         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10973         variable.
10974         (__expm1l): Remove code to handle positive infinity and overflow.
10976 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10977             Paul Pluzhnikov  <ppluzhnikov@google.com>
10979         [BZ #18872]
10980         * stdio-common/Makefile (tst-printf-bz18872): New test.
10981         (tst-printf-bz18872-mem.out): Likewise.
10982         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10983         * stdio-common/vfprintf.c: Fix memory leaks.
10985 2015-09-16  Andreas Schwab  <schwab@suse.de>
10987         [BZ #17244]
10988         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10989         Remove extra va_start/va_end calls.
10991         [BZ #17243]
10992         * posix/execl.c (execl): Add missing va_end.
10993         * posix/execle.c (execle): Likewise.
10994         * posix/execlp.c (execlp): Likewise.
10996 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10998         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10999         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11001 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11003         [BZ #18967]
11004         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11005         undefine around includes of <bits/mathcalls.h>.
11006         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11007         not declare function.
11008         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11009         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11010         (scalb): Likewise.
11011         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11012         not define macro.
11013         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11014         variable.
11015         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11016         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11017         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11019         [BZ #18857]
11020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11021         return non-finite argument without doing ordered comparisons on
11022         it.
11024         [BZ #16296]
11025         * math/fenv.h (fegetround): Use __attribute_pure__.
11026         * include/fenv.h (__fegetround): Likewise.
11028         [BZ #18595]
11029         * math/s_ctan.c (__ctan): Force underflow exception for results
11030         whose real or imaginary part has small absolute value.
11031         * math/s_ctanf.c (__ctanf): Likewise.
11032         * math/s_ctanh.c (__ctanh): Likewise.
11033         * math/s_ctanhf.c (__ctanhf): Likewise.
11034         * math/s_ctanhl.c (__ctanhl): Likewise.
11035         * math/s_ctanl.c (__ctanl): Likewise.
11036         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11037         and ctanh.  Add more tests of ctan and ctanh.
11039         [BZ #15918]
11040         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11041         handling of cases where one argument is an infinity.
11043         [BZ #18875]
11044         [BZ #18966]
11045         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11046         (MO): New macro.
11047         (__ieee754_exp10): For small results, force underflow exception
11048         and remove excess range and precision from return value.
11049         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11050         (MO): New macro.
11051         (__ieee754_exp10f): For small results, force underflow exception
11052         and remove excess range and precision from return value.
11053         * math/auto-libm-test-in: Add more tests of exp10.
11054         * math/auto-libm-test-out: Regenerated.
11056 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11058         [BZ #18875]
11059         [BZ #18961]
11060         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11061         (MO): New macro.
11062         (__ieee754_exp): For small results, force underflow exception and
11063         remove excess range and precision from return value.
11064         (__exp_finite): Likewise.
11065         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11066         (MO): New macro.
11067         (__ieee754_expf): For small results, force underflow exception and
11068         remove excess range and precision from return value.
11069         (__expf_finite): Likewise.
11070         * math/auto-libm-test-in: Add more tests of exp.
11071         * math/auto-libm-test-out: Regenerated.
11073         [BZ #16521]
11074         [BZ #18875]
11075         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11076         small results.
11077         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11078         (MO): New macro.
11079         (__ieee754_exp2): For small results, force underflow exception and
11080         remove excess range and precision from return value.
11081         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11082         (MO): New macro.
11083         (__ieee754_exp2f): For small results, force underflow exception
11084         and remove excess range and precision from return value.
11085         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11086         (MO): New macro.
11087         (__ieee754_exp2l): Force underflow exception for small results.
11088         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11089         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11090         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11091         (MO): New macro.
11092         (__ieee754_exp2l): Force underflow exception for small results.
11093         * math/auto-libm-test-in: Add more tests or exp2.
11094         * math/auto-libm-test-out: Regenerated.
11096 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11098         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11100         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11101         /dev/null.
11103 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11105         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11106         io fs process)): Drop spurious backslash.
11108 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11110         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11111         Use sysinfo system call instead of parsing /proc/meminfo.
11112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11113         Likewise.
11115 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11117         [BZ #16985]
11118         * programs/localedef.c (main): Display argv[remaining] when
11119         output_path is NULL.
11121 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11123         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11124         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11125         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11126         tanh.
11127         * math/auto-libm-test-out: Regenerated.
11128         * sysdeps/i386/fpu/libm-test-ulps: Update.
11129         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11133 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11135         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11136         Use 'override' keyword to freeze the value here, preventing
11137         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11139 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11141         [BZ #14912]
11142         * sysdeps/aarch64/bits/atomic.h: Move to ...
11143         * sysdeps/aarch64/atomic-machine.h: ...here.
11144         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11145         _AARCH64_ATOMIC_MACHINE_H.
11146         * sysdeps/alpha/bits/atomic.h: Move to ...
11147         * sysdeps/alpha/atomic-machine.h: ...here.
11148         * sysdeps/arm/bits/atomic.h: Move to ...
11149         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11150         * bits/atomic.h: Move to ...
11151         * sysdeps/generic/atomic-machine.h: ...here.
11152         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11153         * sysdeps/i386/bits/atomic.h: Move to ...
11154         * sysdeps/i386/atomic-machine.h: ...here.
11155         * sysdeps/ia64/bits/atomic.h: Move to ...
11156         * sysdeps/ia64/atomic-machine.h: ...here.
11157         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11158         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11159         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11160         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11161         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11162         * sysdeps/microblaze/bits/atomic.h: Move to ...
11163         * sysdeps/microblaze/atomic-machine.h: ...here.
11164         * sysdeps/mips/bits/atomic.h: Move to ...
11165         * sysdeps/mips/atomic-machine.h: ...here.
11166         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11167         * sysdeps/powerpc/bits/atomic.h: Move to ...
11168         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11169         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11170         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11171         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11172         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11173         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11174         <atomic-machine.h> instead of <bits/atomic.h>.
11175         * sysdeps/s390/bits/atomic.h: Move to ...
11176         * sysdeps/s390/atomic-machine.h: ...here.
11177         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11178         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11179         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11180         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11181         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11182         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11183         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11184         * sysdeps/tile/bits/atomic.h: Move to ...
11185         * sysdeps/tile/atomic-machine.h: ...here.
11186         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11187         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11188         <sysdeps/tile/atomic-machine.h> instead of
11189         <sysdeps/tile/bits/atomic.h>.
11190         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11191         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11192         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11193         <sysdeps/tile/atomic-machine.h> instead of
11194         <sysdeps/tile/bits/atomic.h>.
11195         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11196         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11197         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11198         <sysdeps/arm/atomic-machine.h> instead of
11199         <sysdeps/arm/bits/atomic.h>.
11200         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11201         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11202         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11203         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11204         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11205         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11206         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11207         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11208         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11209         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11210         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11211         * sysdeps/x86_64/bits/atomic.h: Move to ...
11212         * sysdeps/x86_64/atomic-machine.h: ...here.
11213         * include/atomic.h: Include <atomic-machine.h> instead of
11214         <bits/atomic.h>.
11216         * sysdeps/mips/mips32/libm-test-ulps: Update.
11217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11219         [BZ #18952]
11220         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11221         not convert non-integer negative arguments to int to determine the
11222         value of signgam.
11223         * math/auto-libm-test-in: Add more tests of lgamma.
11224         * math/auto-libm-test-out: Regenerated.
11226         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11227         cosh, csqrt, erfc, expm1 and lgamma.
11228         * math/auto-libm-test-out: Regenerated.
11229         * sysdeps/i386/fpu/libm-test-ulps: Update.
11230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #2542]
11235         [BZ #2543]
11236         [BZ #2558]
11237         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11238         __lgamma_neg for arguments from -28.0 to -2.0.
11239         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11240         __lgamma_negf for arguments from -15.0 to -2.0.
11241         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11242         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11243         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11244         Call __lgamma_negl for arguments from -33.0 to -2.0.
11245         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11246         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11247         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11248         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11249         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11250         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11251         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11252         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11253         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11254         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11255         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11256         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11257         (__lgamma_neg): Likewise.
11258         (__lgamma_negl): Likewise.
11259         (__lgamma_product): Likewise.
11260         (__lgamma_productl): Likewise.
11261         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11262         * math/auto-libm-test-in: Add more tests of lgamma.
11263         * math/auto-libm-test-out: Regenerated.
11264         * sysdeps/i386/fpu/libm-test-ulps: Update.
11265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11267 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11269         [BZ #18675]
11270         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11272 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11274         [BZ #14912]
11275         * bits/libc-lock.h: Move to ...
11276         * sysdeps/generic/libc-lock.h: ...here.
11277         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11278         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11279         * sysdeps/mach/hurd/libc-lock.h: ...here.
11280         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11281         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11282         * sysdeps/mach/bits/libc-lock.h: Move to ...
11283         * sysdeps/mach/libc-lock.h: ...here.
11284         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11285         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11286         * sysdeps/nptl/libc-lock.h: ...here.
11287         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11288         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11289         * sysdeps/nptl/libc-lockP.h: ...here.
11290         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11291         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11292         <bits/libc-lock.h>.
11293         * dirent/scandir-tail.c: Likewise.
11294         * dlfcn/dlerror.c: Likewise.
11295         * elf/dl-close.c: Likewise.
11296         * elf/dl-iteratephdr.c: Likewise.
11297         * elf/dl-lookup.c: Likewise.
11298         * elf/dl-open.c: Likewise.
11299         * elf/dl-support.c: Likewise.
11300         * elf/dl-writev.h: Likewise.
11301         * elf/rtld.c: Likewise.
11302         * grp/fgetgrent.c: Likewise.
11303         * gshadow/fgetsgent.c: Likewise.
11304         * gshadow/sgetsgent.c: Likewise.
11305         * iconv/gconv_conf.c: Likewise.
11306         * iconv/gconv_db.c: Likewise.
11307         * iconv/gconv_dl.c: Likewise.
11308         * iconv/gconv_int.h: Likewise.
11309         * iconv/gconv_trans.c: Likewise.
11310         * include/link.h: Likewise.
11311         * inet/getnameinfo.c: Likewise.
11312         * inet/getnetgrent.c: Likewise.
11313         * inet/getnetgrent_r.c: Likewise.
11314         * intl/bindtextdom.c: Likewise.
11315         * intl/dcigettext.c: Likewise.
11316         * intl/finddomain.c: Likewise.
11317         * intl/gettextP.h: Likewise.
11318         * intl/loadmsgcat.c: Likewise.
11319         * intl/localealias.c: Likewise.
11320         * intl/textdomain.c: Likewise.
11321         * libidn/idn-stub.c: Likewise.
11322         * libio/libioP.h: Likewise.
11323         * locale/duplocale.c: Likewise.
11324         * locale/freelocale.c: Likewise.
11325         * locale/newlocale.c: Likewise.
11326         * locale/setlocale.c: Likewise.
11327         * login/getutent_r.c: Likewise.
11328         * login/getutid_r.c: Likewise.
11329         * login/getutline_r.c: Likewise.
11330         * login/utmp-private.h: Likewise.
11331         * login/utmpname.c: Likewise.
11332         * malloc/mtrace.c: Likewise.
11333         * misc/efgcvt.c: Likewise.
11334         * misc/error.c: Likewise.
11335         * misc/fstab.c: Likewise.
11336         * misc/getpass.c: Likewise.
11337         * misc/mntent.c: Likewise.
11338         * misc/syslog.c: Likewise.
11339         * nis/nis_call.c: Likewise.
11340         * nis/nis_callback.c: Likewise.
11341         * nis/nss-default.c: Likewise.
11342         * nis/nss_compat/compat-grp.c: Likewise.
11343         * nis/nss_compat/compat-initgroups.c: Likewise.
11344         * nis/nss_compat/compat-pwd.c: Likewise.
11345         * nis/nss_compat/compat-spwd.c: Likewise.
11346         * nis/nss_nis/nis-alias.c: Likewise.
11347         * nis/nss_nis/nis-ethers.c: Likewise.
11348         * nis/nss_nis/nis-grp.c: Likewise.
11349         * nis/nss_nis/nis-hosts.c: Likewise.
11350         * nis/nss_nis/nis-network.c: Likewise.
11351         * nis/nss_nis/nis-proto.c: Likewise.
11352         * nis/nss_nis/nis-pwd.c: Likewise.
11353         * nis/nss_nis/nis-rpc.c: Likewise.
11354         * nis/nss_nis/nis-service.c: Likewise.
11355         * nis/nss_nis/nis-spwd.c: Likewise.
11356         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11357         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11358         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11359         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11360         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11361         * nis/nss_nisplus/nisplus-network.c: Likewise.
11362         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11363         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11364         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11365         * nis/nss_nisplus/nisplus-service.c: Likewise.
11366         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11367         * nis/ypclnt.c: Likewise.
11368         * nptl/libc_pthread_init.c: Likewise.
11369         * nss/getXXbyYY.c: Likewise.
11370         * nss/getXXent.c: Likewise.
11371         * nss/getXXent_r.c: Likewise.
11372         * nss/nss_db/db-XXX.c: Likewise.
11373         * nss/nss_db/db-netgrp.c: Likewise.
11374         * nss/nss_db/nss_db.h: Likewise.
11375         * nss/nss_files/files-XXX.c: Likewise.
11376         * nss/nss_files/files-alias.c: Likewise.
11377         * nss/nsswitch.c: Likewise.
11378         * posix/regex_internal.h: Likewise.
11379         * posix/wordexp.c: Likewise.
11380         * pwd/fgetpwent.c: Likewise.
11381         * resolv/res_hconf.c: Likewise.
11382         * resolv/res_libc.c: Likewise.
11383         * shadow/fgetspent.c: Likewise.
11384         * shadow/lckpwdf.c: Likewise.
11385         * shadow/sgetspent.c: Likewise.
11386         * socket/opensock.c: Likewise.
11387         * stdio-common/reg-modifier.c: Likewise.
11388         * stdio-common/reg-printf.c: Likewise.
11389         * stdio-common/reg-type.c: Likewise.
11390         * stdio-common/vfprintf.c: Likewise.
11391         * stdio-common/vfscanf.c: Likewise.
11392         * stdlib/abort.c: Likewise.
11393         * stdlib/cxa_atexit.c: Likewise.
11394         * stdlib/fmtmsg.c: Likewise.
11395         * stdlib/random.c: Likewise.
11396         * stdlib/setenv.c: Likewise.
11397         * string/strsignal.c: Likewise.
11398         * sunrpc/auth_none.c: Likewise.
11399         * sunrpc/bindrsvprt.c: Likewise.
11400         * sunrpc/create_xid.c: Likewise.
11401         * sunrpc/key_call.c: Likewise.
11402         * sunrpc/rpc_thread.c: Likewise.
11403         * sysdeps/arm/backtrace.c: Likewise.
11404         * sysdeps/generic/ldsodefs.h: Likewise.
11405         * sysdeps/generic/stdio-lock.h: Likewise.
11406         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11407         * sysdeps/i386/backtrace.c: Likewise.
11408         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11409         * sysdeps/m68k/backtrace.c: Likewise.
11410         * sysdeps/mach/hurd/cthreads.c: Likewise.
11411         * sysdeps/mach/hurd/dirstream.h: Likewise.
11412         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11413         * sysdeps/nptl/malloc-machine.h: Likewise.
11414         * sysdeps/nptl/stdio-lock.h: Likewise.
11415         * sysdeps/posix/dirstream.h: Likewise.
11416         * sysdeps/posix/getaddrinfo.c: Likewise.
11417         * sysdeps/posix/system.c: Likewise.
11418         * sysdeps/pthread/aio_suspend.c: Likewise.
11419         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11420         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11421         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11422         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11423         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11424         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11425         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11426         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11427         * sysdeps/unix/sysv/linux/system.c: Likewise.
11428         * sysdeps/x86_64/backtrace.c: Likewise.
11429         * time/alt_digit.c: Likewise.
11430         * time/era.c: Likewise.
11431         * time/tzset.c: Likewise.
11432         * wcsmbs/wcsmbsload.c: Likewise.
11433         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11434         instead of <bits/libc-lock.h> in comment.
11436 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11438         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11439         Only use .set mips2 if the current ISA is below mips2.
11440         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11441         Likewise.
11442         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11443         mips32r2 if the current ISA is below mips32r2.
11444         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11445         (TLS_IE): Updated to use the TLD_RDHWR macro.
11446         (TLS_LE): Likewise.
11447         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11448         __ASSEMBLER__ condition.
11450 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11452         Fix parallel build of before-compile targets.
11454         * sysdeps/mach/Makefile ($(patsubst
11455         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11456         mach-before-compile target.
11457         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11458         io fs process)): Move rule to dedicated hurd-before-compile target.
11460 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11462         Fix rules generating headers in hurd/ and mach/ when initial make call
11463         has subdir= explicitly set.
11465         * sysdeps/mach/Makefile ($(patsubst
11466         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11467         calling $(MAKE).
11468         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11469         io fs process)): Force subdir to hurd when calling $(MAKE).
11470         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11471         subdir to mach when calling $(MAKE).
11473 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11475         Check sysheaders when looking for Mach and Hurd headers
11477         * sysdeps/mach/configure.ac: Add sysheaders check.
11478         * sysdeps/mach/configure: Regenerate.
11479         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11480         * sysdeps/mach/hurd/configure: Regenerate.
11482 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11484         [BZ #18921]
11485         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11486         Fix inverted sense of test of 'o_directory_works' value.
11487         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11488         Bernhard Voelker <mail@bernhard-voelker.de>.
11490 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11492         [BZ #14912]
11493         * bits/linkmap.h: Move to ...
11494         * sysdeps/generic/linkmap.h: ...here.
11495         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11496         * sysdeps/aarch64/linkmap.h: ...here.
11497         * sysdeps/arm/bits/linkmap.h: Move to ...
11498         * sysdeps/arm/linkmap.h: ...here.
11499         * sysdeps/hppa/bits/linkmap.h: Move to ...
11500         * sysdeps/hppa/linkmap.h: ...here.
11501         * sysdeps/ia64/bits/linkmap.h: Move to ...
11502         * sysdeps/ia64/linkmap.h: ...here.
11503         * sysdeps/mips/bits/linkmap.h: Move to ...
11504         * sysdeps/mips/linkmap.h: ...here.
11505         * sysdeps/s390/bits/linkmap.h: Move to ...
11506         * sysdeps/s390/linkmap.h: ...here.
11507         * sysdeps/sh/bits/linkmap.h: Move to ...
11508         * sysdeps/sh/linkmap.h: ...here.
11509         * sysdeps/x86/bits/linkmap.h: Move to ...
11510         * sysdeps/x86/linkmap.h: ...here.
11511         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11513 2015-09-04  Andreas Schwab  <schwab@suse.de>
11515         [BZ #18635]
11516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11517         (__makecontext): Terminate FDE before return label.
11518         (__novec_makecontext): Likewise.
11520 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11522         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11523         first member of struct sv in syscall macro.
11525 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11527         [BZ #14912]
11528         * bits/stdio-lock.h: Move to ...
11529         * sysdeps/generic/stdio-lock.h: ...here.
11530         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11531         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11532         * sysdeps/nptl/stdio-lock.h: ...here.
11533         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11534         * include/libio.h: Include <stdio-lock.h> instead of
11535         <bits/stdio-lock.h>.
11536         * sysdeps/nptl/fork.c: Likewise.
11537         * sysdeps/pthread/flockfile.c: Likewise.
11538         * sysdeps/pthread/ftrylockfile.c: Likewise.
11539         * sysdeps/pthread/funlockfile.c: Likewise.
11541         [BZ #14912]
11542         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11543         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11544         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11545         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11546         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11547         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11548         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11550 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11552         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11553         (test-xfail-tst-protected1b): New variable.
11555 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11557         [BZ #14912]
11558         * bits/libc-tsd.h: Move to ...
11559         * sysdeps/generic/libc-tsd.h: ...here.
11560         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11561         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11562         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11563         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11564         * include/ctype.h: Include <libc-tsd.h> instead of
11565         <bits/libc-tsd.h>.
11566         * include/rpc/rpc.h: Likewise.
11567         * locale/localeinfo.h: Likewise.
11568         * sunrpc/rpc_thread.c: Likewise.
11569         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11570         * sysdeps/nptl/malloc-machine.h: Likewise.
11572         * Makefile (headers): Remove bits/libc-lock.h.
11573         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11575         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11576         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11577         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11578         <bits/stdio-lock.h>.
11579         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11580         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11582 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11584         [BZ #18757]
11585         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11586         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11587         BZ #18757.
11589 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11591         * malloc/mtrace.pl: Filter out NULL entries.
11593 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11595         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11596         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11597         macro.
11599         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11600         (TCP_CC_INFO): Likewise.
11601         (TCP_SAVE_SYN): Likewise.
11602         (TCP_SAVED_SYN): Likewise.
11604 2015-08-31  Brett Neumeier <brett@neumeier.us>
11606         [BZ #18870]
11607         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11609 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11611         [BZ #18873]
11612         Fix broken overflow check in posix_fallocate
11613         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11614         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11615         Fix parenthesization typo.
11617 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11619         [BZ #18887]
11620         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11621         tst-mntent-blank-passno.
11622         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11623         * misc/tst-mntent-blank-corrupt.c: New test.
11624         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11625         * misc/tst-mntent.c (do_test): ... here.
11627 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11629         [BZ #4404]
11630         * po/de.po: Fix SIGALRM typo.
11632 2015-08-28  James Perkins  <james@loowit.net>
11634         * time/tst-strptime2.c (tests): Replace short list of test
11635         strings for strptime %z specifier with code which exhaustively
11636         tests every combination of sign and 0 to 5 digits. Tests for
11637         rejection of invalid strings.
11639 2015-08-28  James Perkins  <james@loowit.net>
11641         [BZ #16141]
11642         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11643         calculation, removing incorrect decimal time rounding, so that
11644         all minute values result in a valid seconds value.
11645         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11646         offset range limits to UTC-99:59 through UTC+99:59 to parse
11647         current and historical use cases.
11648         * time/tst-strptime2.c (tests): Modify and add tests for the
11649         strptime %z input field descriptor, specifically conversion of
11650         minutes to seconds and validating an offset range of -9959 to
11651         +9959.
11653 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11654             Dmitry V. Levin  <ldv@altlinux.org>
11656         [BZ #18877]
11657         * posix/Makefile (tests): Add tst-mmap-offset.
11658         * posix/tst-mmap.c: New file.
11659         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11660         offset calculation for negative values.
11662 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11664         * sysdeps/i386/init-arch.h: New file.
11665         * sysdeps/i386/i586/init-arch.h: Likewise.
11666         * sysdeps/i386/i686/init-arch.h: Likewise.
11667         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11668         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11669         * sysdeps/x86/cpu-features.h (bit_I586): New.
11670         (bit_I686): Likewise.
11671         (bit_CX8): Likewise.
11672         (bit_CMOV): Likewise.
11673         (index_CX8): Likewise.
11674         (index_CMOV): Likewise.
11675         (index_I586): Likewise.
11676         (index_I686): Likewise.
11677         (reg_CX8): Likewise.
11678         (reg_CMOV): Likewise.
11679         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11680         available at compile-time.
11681         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11682         available at compile-time.
11683         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11684         (USE_I686): Likewise.
11686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11688         * sysdeps/i386/bcopy.S: New file.
11689         * sysdeps/i386/bzero.S: Likewise.
11690         * sysdeps/i386/memcpy.S: Likewise.
11691         * sysdeps/i386/memmove.S: Likewise.
11692         * sysdeps/i386/mempcpy.S: Likewise.
11693         * sysdeps/i386/memset.S: Likewise.
11694         * sysdeps/i386/bzero.c: Removed.
11695         * sysdeps/i386/memset.c: Likewise.
11696         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11697         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11698         * sysdeps/i386/i586/memset_chk.S: Likewise.
11699         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11700         * sysdeps/i386/memcpy_chk.S: Here.
11701         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11702         * sysdeps/i386/memmove_chk.S: Here.
11703         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11704         * sysdeps/i386/mempcpy_chk.S: Likewise.
11705         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11706         * sysdeps/i386/memset_chk.S: Likewise.
11708 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11710         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11711         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11712         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11713         * soft-fp/fmadf4.c: Ditto.
11714         * soft-fp/fmatf4.c: Ditto.
11716 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11718         * sysdeps/i386/i586/Implies: Removed.
11719         * sysdeps/i386/i686/Implies: Likewise.
11721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/i386/i486/strlen.S: Moved to ...
11724         * sysdeps/i386/strlen.S: Here.
11726 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11728         * sysdeps/i386/i486/strcat.S: Moved to ...
11729         * sysdeps/i386/strcat.S: Here.
11731 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11733         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11734         * sysdeps/i386/pthread_spin_trylock.S: Here.
11735         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11736         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11738 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11740         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11741         * sysdeps/i386/string-inlines.c: Here.
11743 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11745         * sysdeps/i386/i486/htonl.S: Moved ...
11746         * sysdeps/i386/htonl.S: here.
11748 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11750         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11751         * sysdeps/i386/bits/atomic.h: Here.
11753 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11755         * sysdeps/i386/i486/Versions: Removed.
11757 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11759         [BZ #2898]
11760         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11761         Based on patch by Aurelien Jarno.
11763 2015-08-26  Stan Shebs  <stanshebs@google.com>
11765         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11766         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11768 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11770         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11771         * sysdeps/powerpc/dl-procinfo.c:
11772         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11773         feature so it shows when LD_SHOW_AUXV=1.
11775 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11777         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11778         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11779         definition.  ISA 2.07B no longer requires full sync.
11781 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11783         [BZ #18863]
11784         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11785         (si_call_addr): Define.
11786         (si_syscall): Define.
11787         (si_arch): Define.
11789 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11791         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11792         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11793         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11794         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11795         (__memset_zero_constant_len_parameter): New.
11796         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11797         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11798         (__memset_zero_constant_len_parameter): Don't define if
11799         __memset_chk or USE_AS_BZERO are defined.
11801         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11802         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11803         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11805         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11806         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11807         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11808         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11809         comments.
11810         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11811         -mno-mmx for $(all-rtld-routines).
11812         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11813         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11814         i386.
11816 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11818         * sysdeps/generic/unwind.h
11819         (_Unwind_Word): Use __mode__(__unwind_word__)
11820         instead of __mode__(__word__).
11821         (_Unwind_Sword): Likewise.
11823         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11824         (MAX_NEEDED_INPUT): New define.
11825         (MAX_NEEDED_OUTPUT): New define.
11827         * NEWS: New item for IBM z13 string optimizations.
11829         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11830         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11831         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11832         * sysdeps/s390/multiarch/Makefile
11833         (sysdep_routines): Add memrchr functions.
11834         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11835         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11837         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11838         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11839         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11840         * sysdeps/s390/multiarch/Makefile
11841         (sysdep_routines): Add wmemcmp functions.
11842         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11843         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11844         * benchtests/bench-wmemcmp.c: New File.
11845         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11847         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11848         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11849         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11850         * sysdeps/s390/multiarch/Makefile
11851         (sysdep_routines): Add wmemset functions.
11852         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11853         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11854         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11855         * string/test-memset.c: Add wmemset support.
11856         * wcsmbs/test-wmemset.c: New File.
11857         * wcsmbs/Makefile (strop-tests): Add wmemset.
11858         * benchtests/bench-memset.c: Add wmemset support.
11859         * benchtests/bench-wmemset.c: New File.
11860         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11862         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11863         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11864         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11865         * sysdeps/s390/multiarch/Makefile
11866         (sysdep_routines): Add memccpy functions.
11867         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11868         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11869         * string/memccpy.c: Use MEMCCPY if defined.
11871         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11872         * sysdeps/s390/multiarch/memchr.c: Likewise.
11873         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11874         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11875         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11876         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11877         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11878         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11879         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11880         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11881         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11882         and rawmemchr functions.
11883         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11884         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11885         and wmemchr.
11886         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11887         * string/test-memchr.c: Add wmemchr support.
11888         * wcsmbs/test-wmemchr.c: New File.
11889         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11890         * benchtests/bench-memchr.c: Add wmemchr support.
11891         * benchtests/bench-wmemchr.c: New File.
11892         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11894         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11895         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11896         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11897         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11898         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11899         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11900         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11901         wcscspn functions.
11902         * sysdeps/s390/multiarch/ifunc-impl-list.c
11903         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11904         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11905         * string/test-strcspn.c: Add wcscspn support.
11906         * wcsmbs/test-wcscspn.c: New File.
11907         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11908         * benchtests/bench-strcspn.c: Add wcscspn support.
11909         * benchtests/bench-wcscspn.c: New File.
11910         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11912         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11913         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11914         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11915         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11916         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11917         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11918         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11919         wcspbrk functions.
11920         * sysdeps/s390/multiarch/ifunc-impl-list.c
11921         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11922         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11923         * string/test-strpbrk.c: Add wcspbrk support.
11924         * wcsmbs/test-wcspbrk.c: New File.
11925         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11926         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11927         * benchtests/bench-wcspbrk.c: New File.
11928         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11930         * sysdeps/s390/multiarch/strspn-c.c: New File.
11931         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11932         * sysdeps/s390/multiarch/strspn.c: Likewise.
11933         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11934         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11935         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11936         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11937         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11938         wcsspn functions.
11939         * sysdeps/s390/multiarch/ifunc-impl-list.c
11940         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11941         * string/test-strspn.c: Add wcsspn support.
11942         * wcsmbs/test-wcsspn.c: New File.
11943         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11944         * benchtests/bench-strspn.c: Add wcsspn support.
11945         * benchtests/bench-wcsspn.c: New File.
11946         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11948         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11949         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11950         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11951         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11952         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11953         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11955         wcsrchr functions.
11956         * sysdeps/s390/multiarch/ifunc-impl-list.c
11957         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11958         * benchtests/bench-wcsrchr.c: New File.
11959         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11961         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11962         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11963         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11964         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11965         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11966         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11968         wcschrnul functions.
11969         * sysdeps/s390/multiarch/ifunc-impl-list.c
11970         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11971         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11972         * string/test-strchr.c: Add wcschrnul support.
11973         * wcsmbs/test-wcschrnul.c: New File.
11974         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11975         * benchtests/bench-strchr.c: Add wcschrnul support.
11976         * benchtests/bench-wcschrnul.c: New File.
11977         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11979         * sysdeps/s390/multiarch/strchr-c.c: New File.
11980         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11981         * sysdeps/s390/multiarch/strchr.c: Likewise.
11982         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11983         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11984         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11986         wcschr functions.
11987         * sysdeps/s390/multiarch/ifunc-impl-list.c
11988         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11989         * string/strchr.c (STRCHR): Define and use macro.
11990         * benchtests/bench-wcschr.c: New File.
11991         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11993         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11994         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11995         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11996         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11997         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11998         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11999         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12000         wcsncmp functions.
12001         * sysdeps/s390/multiarch/ifunc-impl-list.c
12002         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12003         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12004         * benchtests/bench-strncmp.c: Add wcsncmp support.
12005         * benchtests/bench-wcsncmp.c: New File.
12006         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12008         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12009         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12010         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12011         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12012         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12013         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12014         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12015         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12016         wcscmp functions.
12017         * sysdeps/s390/multiarch/ifunc-impl-list.c
12018         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12019         * string/strcmp.c (STRCMP): Define and use macro.
12020         * benchtests/bench-wcscmp.c: New File.
12021         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12022         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12023         instead of _HAVE_STRING_ARCH_memchr.
12025         * sysdeps/s390/multiarch/strncat-c.c: New File.
12026         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12027         * sysdeps/s390/multiarch/strncat.c: Likewise.
12028         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12029         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12030         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12032         wcsncat functions.
12033         * sysdeps/s390/multiarch/ifunc-impl-list.c
12034         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12035         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12036         * string/test-strncat.c: Add wcsncat support.
12037         * wcsmbs/test-wcsncat.c: New File.
12038         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12039         * benchtests/bench-strncat.c: Add wcsncat support.
12040         * benchtests/bench-wcsncat.c: New File.
12041         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12043         * sysdeps/s390/multiarch/strcat-c.c: New File.
12044         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12045         * sysdeps/s390/multiarch/strcat.c: Likewise.
12046         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12047         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12048         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12050         wcscat functions.
12051         * sysdeps/s390/multiarch/ifunc-impl-list.c
12052         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12053         * string/strcat.c (STRCAT): Define and use macro.
12054         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12055         * string/test-strcat.c: Add wcscat support.
12056         * wcsmbs/test-wcscat.c: New File.
12057         * wcsmbs/Makefile (strop-tests): Add wcscat.
12058         * benchtests/bench-strcat.c: Add wcscat support.
12059         * benchtests/bench-wcscat.c: New File.
12060         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12062         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12063         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12064         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12065         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12066         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12067         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12069         wcpncpy functions.
12070         * sysdeps/s390/multiarch/ifunc-impl-list.c
12071         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12072         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12073         * string/test-stpncpy.c: Add wcpncpy support.
12074         * wcsmbs/test-wcpncpy.c: New File.
12075         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12076         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12077         * benchtests/bench-wcpncpy.c: New File.
12078         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12080         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12081         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12082         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12083         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12084         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12085         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12086         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12088         wcsncpy functions.
12089         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12090         * sysdeps/s390/multiarch/ifunc-impl-list.c
12091         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12092         * string/test-strncpy.c: Add wcsncpy support.
12093         * wcsmbs/test-wcsncpy.c: New File.
12094         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12095         * benchtests/bench-strncpy.c: Add wcsncpy support.
12096         * benchtests/bench-wcsncpy.c: New File.
12097         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12099         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12100         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12101         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12102         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12103         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12104         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12106         wcpcpy functions.
12107         * string/stpcpy.c: Use STPCPY if defined.
12108         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12109         * sysdeps/s390/multiarch/ifunc-impl-list.c
12110         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12111         * string/test-stpcpy.c: Add wcpcpy support.
12112         * wcsmbs/test-wcpcpy.c: New File.
12113         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12114         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12115         * benchtests/bench-wcpcpy.c: New File.
12116         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12118         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12119         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12120         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12121         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12122         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12123         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12124         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12126         wcscpy functions.
12127         * sysdeps/s390/multiarch/ifunc-impl-list.c
12128         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12129         * benchtests/bench-wcscpy.c: New File.
12130         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12132         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12133         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12134         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12135         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12136         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12137         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12139         wcsnlen functions.
12140         * sysdeps/s390/multiarch/ifunc-impl-list.c
12141         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12142         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12143         * string/test-strnlen.c: Add wcsnlen support.
12144         * wcsmbs/test-wcsnlen.c: New File.
12145         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12146         * benchtests/bench-strnlen.c: Add wcsnlen support.
12147         * benchtests/bench-wcsnlen.c: New File.
12148         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12150         * sysdeps/s390/multiarch/Makefile: New File.
12151         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12152         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12153         * sysdeps/s390/multiarch/strlen.c: Likewise.
12154         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12155         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12156         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12157         * string/strlen.c (STRLEN): Define and use macro.
12158         * sysdeps/s390/multiarch/ifunc-impl-list.c
12159         (IFUNC_VX_IMPL): New macro function.
12160         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12161         * benchtests/Makefile (wcsmbs-bench): New variable.
12162         (string-bench-all): Added wcsmbs-bench.
12163         * benchtests/bench-wcslen.c: New File.
12165         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12166         s390_vx_libc_ifunc2): New macro function.
12168         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12169         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12170         assembler support.
12171         * sysdeps/s390/configure: Regenerated.
12173         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12174         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12176         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12177         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12178         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12180         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12181         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12183         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12184         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12185         (memcmp, bcmp): Use __memcmp_default as alias source.
12186         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12187         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12188         Rename to __memcmp_default.
12189         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12190         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12191         (memcpy): Use __memcpy_default as alias source.
12192         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12193         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12194         Rename to __memcpy_default.
12195         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12196         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12197         (memset): Use __memset_default as alias source.
12198         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12199         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12200         Rename to __memset_default.
12201         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12202         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12203         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12204         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12205         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12206         (memcmp, bcmp): Use __memcmp_default as alias source.
12207         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12208         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12209         Rename to __memcmp_default.
12210         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12211         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12212         (memcpy): Use __memcpy_default as alias source.
12213         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12214         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12215         Rename to __memcpy_default.
12216         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12217         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12218         (memset): Use __memset_default as alias source.
12219         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12220         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12221         Rename to __memset_default.
12222         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12223         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12225         [BZ #18610]
12226         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12227         __ieee_instruction_pointer to __unused.
12228         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12229         __ieee_instruction_pointer.
12230         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12231         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12232         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12233         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12234         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12235         Mark dxc-field as reserved.
12237 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12239         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12240         if the weak reference is not null.
12242 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12244         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12246         [BZ #11214]
12247         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12249 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12251         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12252         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12253         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12254         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12255         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12256         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12257         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12258         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12259         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12260         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12261         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12262         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12263         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12264         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12265         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12266         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12267         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12268         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12270 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12272         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12273         register other than r0 for tabort, it has special meaning.
12274         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12275         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12276         transaction before starting syscall.
12278 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12280         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12282 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12284         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12286         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12287         * sysdeps/x86_64/rtld-memset.S: Likewise.
12288         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12289         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12290         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12291         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12293         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12295 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12297         * debug/strcpy_chk.c: Improve performance.
12298         * debug/stpcpy_chk.c: Likewise.
12299         * sysdeps/x86_64/strcpy_chk.S: Remove.
12300         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12302         [BZ #18240]
12303         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12305 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12307         [BZ #15128]
12308         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12309         ifuncmain8.
12310         (modules-names): Add ifuncmod8.
12311         ($(objpfx)ifuncmain8): New rule.
12312         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12313         <cpuid.h>.
12314         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12315         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12316         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12317         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12318         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12319         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12320         * sysdeps/x86_64/ifuncmain8.c: New file.
12321         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12322         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12323         Removed.
12324         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12325         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12326         Change rtld_savespace_sse to __glibc_unused2.
12327         (RTLD_CHECK_FOREIGN_CALL): Removed.
12328         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12329         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12330         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12332 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12334         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12336 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12338         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12339         Unconditionally set __fpcr to avoid uninialized warning.
12340         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12342 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12344         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12345         is corrupt.
12347         * malloc/arena.c (arena_get2): Drop unused argument.
12348         (arena_lock): Adjust.
12349         (arena_get_retry): Likewise.
12351 2015-08-24  Andreas Schwab  <schwab@suse.de>
12353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12354         Don't define.
12355         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12356         (__ASSUME_IPC64): Don't undef.
12357         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12358         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12359         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12360         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12361         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12362         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12363         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12364         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12365         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12366         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12367         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12368         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12369         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12370         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12371         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12372         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12373         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12374         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12375         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12376         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12377         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12379 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12381         * manual/Makefile (install): Only build manual when perl is available.
12383 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12385         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12386         '#undef memcpy' by '#undef memchr'.
12388 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12390         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12391         memchr not point to the internal __GI_memchr implementation.
12393 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12395         * timezone/Makefile (CFLAGS-zdump.c): Remove
12396         -Wno-strict-prototypes.
12397         (CFLAGS-zic.c): Likewise.
12398         (CFLAGS-ialloc.c): Likewise.
12399         (CFLAGS-scheck.c): Likewise.
12401         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12402         -Wno-error=undef.
12404 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12406         * i386/i686/multiarch/strcasestr-c.c: Removed.
12407         * x86_64/multiarch/strcasestr.c: Likewise.
12408         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12409         Remove strcasestr.
12411 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12413         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12415         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12416         variables for high and low parts before possibly modifying them.
12418 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12420         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12421         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12422         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12423         of "multiarch/init-arch.h".
12424         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12425         * sysdeps/x86/init-arch.h: This.
12427 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12429         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12430         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12432 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12434         [BZ #17787]
12435         * manual/macros.texi: Add twoexp macro.
12436         * manual/filesys.texi: Fix exponents.
12437         * manual/llio.texi: Likewise.
12438         * manual/stdio.texi: Likewise.
12440 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12442         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12443         incorrect use.
12445 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12447         [BZ #18370]
12448         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12449         whose real or imaginary part has small absolute value.
12450         * math/s_csqrtf.c (__csqrtf): Likewise.
12451         * math/s_csqrtl.c (__csqrtl): Likewise.
12452         * math/auto-libm-test-in: Add more tests of csqrt.
12453         * math/auto-libm-test-out: Regenerated.
12454         * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12458         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12459         __ppc_set_ppr_very_low): New functions.
12460         * manual/platform.texi: Add documentation about
12461         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12463 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12465         * string/stpncpy.c (stpncpy): Improve performance using
12466         __strnlen/memcpy/memset.
12468 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12470         [BZ #18796]
12471         * scripts/test-installation.pl: Don't add -lmvec to build options if
12472         libmvec wasn't built.
12474 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12476         [BZ #14341]
12477         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12478         case when there is a gap between DT_REL and DT_JMPREL sections.
12479         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12480         (LDFLAGS-tst-split-dynreloc): New.
12481         (tst-split-dynreloc-ENV): Likewise.
12482         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12483         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12485 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12487         [BZ #18822]
12488         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12489         attribute_hidden.
12490         (__xstat64_conv): Likewise.
12491         (__xstat32_conv): Likewise.
12493 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12495         [BZ #18822]
12496         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12497         Don't load %ebx when calling __setcontext.  Call __setcontext
12498         with HIDDEN_JUMPTARGET.
12499         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12500         libc_hidden_def.
12502 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12504         * sysdeps/i386/i686/Makefile
12505         [$(subdir) == string] (sysdep_routines): Moved to ...
12506         * sysdeps/i386/Makefile: Here.
12507         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12508         * sysdeps/i386/cacheinfo.c: Here.
12509         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12510         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12511         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12512         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12514 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12516         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12517         __i586__ is defined.
12518         (HAS_I686): Defined to 1 if __i686__ is defined.
12520 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12522         * elf/Makefile [$(have-z-execstack) = yes]
12523         (CPPFLAGS-tst-execstack.c): New variable.
12525         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12526         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12527         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12528         UTMPX || _HAVE_UT_TV].
12529         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12530         UTMPX || _HAVE_UT_TV - 0].
12532 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12534         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12535         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12536         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12538 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12540         * sysdeps/powerpc/dl-procinfo.c:
12541         (_dl_powerpc_cap_flags): Added missing strings for some
12542         hwcap features.
12543         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12545 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12547         Port the 0x7efe...feff pattern to GCC 6.
12548         See Steve Ellcey's bug report in:
12549         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12550         * string/memrchr.c (MEMRCHR):
12551         * string/rawmemchr.c (RAWMEMCHR):
12552         * string/strchr.c (strchr):
12553         * string/strchrnul.c (STRCHRNUL):
12554         Rewrite code to avoid issues with signed shift overflow.
12556 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12558         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12559         whether cpuid is available only if HAS_CPUID is 0.
12560         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12561         (HAS_I586): Likewise.
12562         (HAS_I686): Likewise.
12564 2015-08-18  Zack Weinberg  <zackw@panix.com>
12566         * misc/Versions (libc): Add GLIBC_2.23.
12568 2015-08-18  Alan Modra  <amodra@gmail.com>
12570         [BZ #18421]
12571         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12572         .Lp__global.
12573         (_start): Load %dp via .Lp__global.
12574         [!SHARED]: Use .section .rodata.
12576 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12578         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12579         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12581 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12583         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12584         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12586 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12588         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12589         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12591 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12593         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12594         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12596 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12598         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12599         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12601 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12603         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12604         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12606 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12608         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12610 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12612         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12613         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12614         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12615         (__ASSUME_LWS_CAS): Delete.
12617 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12619         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12620         * sysdeps/hppa/configure: Regenerated.
12621         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12622         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12623         * sysdeps/hppa/nptl/tls.h: Likewise.
12625 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #18823]
12628         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12629         for scaling up small arguments.
12630         * math/s_csqrtf.c (__csqrtf): Likewise.
12631         * math/s_csqrtl.c (__csqrtl): Likewise.
12632         * math/auto-libm-test-in: Add more tests of csqrt.
12633         * math/auto-libm-test-out: Regenerated.
12635 2015-08-17  Andreas Schwab  <schwab@suse.de>
12637         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12638         version set GLIBC_2.19.
12640 2015-08-16  Zack Weinberg  <zackw@panix.com>
12642         [BZ #18681]
12643         * misc/regexp.h: This interface is no longer supported.
12644         Remove all contents, leaving only an #error directive.
12645         * misc/regexp.c (loc1, loc2, locs, step, advance):
12646         Demote to compatibility symbols.
12648 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12650         [BZ #18084]
12651         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12652         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12653         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12654         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12655         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12656         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12657         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12658         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12659         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12661 2015-08-15  Zack Weinberg  <zackw@panix.com>
12663         [BZ #18795]
12664         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12665         buffer length is known to be too large, not if it's known to be
12666         small enough.
12667         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12668         overflow at runtime, involving a length parameter, twice: once
12669         with a compile-time constant length parameter, once without.
12671 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #18824]
12674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12675         scaling x * y up instead of down.
12676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12678         * math/auto-libm-test-in: Add more tests of fma.
12679         * math/auto-libm-test-out: Regenerated.
12681 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12683         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12685 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12687         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12688         unnecessary movq.
12689         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12690         Likewise.
12692 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12694         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12695         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12696         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12697         and tgamma.
12698         * math/auto-libm-test-out: Regenerated.
12699         * sysdeps/i386/fpu/libm-test-ulps: Update.
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702         [BZ #16520]
12703         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12704         (__tanh): Force underflow exception for arguments with small
12705         absolute value.
12706         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12707         (__tanhf): Force underflow exception for arguments with small
12708         absolute value.
12709         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12710         (__tanhl): Force underflow exception for arguments with small
12711         absolute value.
12712         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12713         (__tanhl): Force underflow exception for arguments with small
12714         absolute value.
12715         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12716         (__tanhl): Force underflow exception for arguments with small
12717         absolute value.
12718         * math/auto-libm-test-in: Add more tests of tanh.
12719         * math/auto-libm-test-out: Regenerated.
12720         * sysdeps/i386/fpu/libm-test-ulps: Update.
12722 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12724         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12725         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12727 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12729         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12730         <cpuid.h>.
12732 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12734         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12735         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12737 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12739         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12740         Remove $(objpfx)init-arch.o.
12741         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12742         init-arch.
12743         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12744         (INIT_ARCH_EXT): Defined as empty.
12745         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12747         __init_cpu_features call.  Replace HAS_XXX with
12748         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12749         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12754         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12755         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12756         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12757         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12761         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12778         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12779         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12785 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12787         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12788         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12789         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12790         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12791         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12792         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12793         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12794         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12795         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12796         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12797         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12798         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12799         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12800         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12801         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12802         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12803         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12804         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12805         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12806         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12807         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12808         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12809         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12810         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12811         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12812         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12813         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12814         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12815         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12816         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12817         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12818         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12819         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12820         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12821         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12822         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12823         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12824         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12825         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12826         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12827         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12828         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12829         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12831 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12833         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12834         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12835         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12836         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12837         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12839         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12840         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12842         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12843         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12844         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12845         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12846         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12847         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12848         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12849         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12850         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12851         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12852         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12854         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12855         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12856         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12857         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12858         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12859         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12860         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12861         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12862         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12863         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12864         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12865         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12866         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12867         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12868         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12869         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12870         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12871         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12872         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12873         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12874         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12875         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12877 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12879         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12880         (dl_platform_init): Call init_cpu_features.
12881         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12882         * sysdeps/i386/i686/cacheinfo.c
12883         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12884         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12885         * sysdeps/i386/i686/multiarch/Versions: Removed.
12886         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12887         Removed.
12888         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12889         * sysdeps/unix/sysv/linux/x86/Makefile
12890         (libpthread-sysdep_routines): Remove init-arch.
12891         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12892         <sysdeps/x86_64/dl-procinfo.c> instead of
12893         sysdeps/generic/dl-procinfo.c>.
12894         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12895         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12896         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12897         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12898         [$(subdir) == elf] (tests-static): Add
12899         tst-get-cpu-features-static.
12900         * sysdeps/x86/Versions: New file.
12901         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12902         * sysdeps/x86/cpu-features.c: Likewise.
12903         * sysdeps/x86/cpu-features.h: Likewise.
12904         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12905         * sysdeps/x86/libc-start.c: Likewise.
12906         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12907         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12908         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12909         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12910         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12911         Assume USE_MULTIARCH is defined and don't check it.
12912         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12913         (is_amd): Likewise.
12914         (max_cpuid): Likewise.
12915         (intel_check_word): Likewise.
12916         (__cache_sysconf): Don't call __init_cpu_features.
12917         (__x86_preferred_memory_instruction): Removed.
12918         (init_cacheinfo): Don't call __init_cpu_features. Replace
12919         __cpu_features with GLRO(dl_x86_cpu_features).
12920         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12921         (dl_platform_init): Call init_cpu_features.
12922         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12923         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12924         * sysdeps/x86_64/multiarch/Versions: Removed.
12925         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12926         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12927         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12928         Removed.
12929         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12931 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12933         [BZ #18820]
12934         * libio/Makefile (test-fmemopen-mem): New test.
12935         * libio/test-fmemopen.c (do_bz18820): New test.
12936         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12937         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12939 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12941         [BZ #16734]
12942         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12943         (FREE_BUF): Delete.
12944         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12945         * libio/genops.c (_IO_setb): Use malloc and free directly.
12946         (_IO_default_doallocate, _IO_default_finish): Likewise.
12947         ( _IO_unbuffer_all): Likewise.
12948         ( libc_freeres_fn): Likewise.
12949         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12950         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12951         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12952         (_IO_wdefault_doallocate): Likewise.
12954 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12956         [BZ #18086]
12957         * sysdeps/posix/nice.c (nice): Restore old errno.
12958         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12960 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12962         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12964 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12966         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12967         __bcopy and add a weak_alias to bcopy.
12968         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12969         for static build.
12971         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12972         cleanup macro usage.
12973         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12978         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12979         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12980         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12981         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12982         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12984         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12986         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12989         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12990         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12991         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12993         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12994         libc_hidden_def.
12995         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12997         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12998         (sysdep_routines): Add strstr-ppc64.
12999         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13001 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13003         [BZ #18778]
13004         * elf/Makefile (tests): Add Add tst-nodelete2.
13005         (modules-names): Add tst-nodelete2mod.
13006         (tst-nodelete2mod.so-no-z-defs): New.
13007         ($(objpfx)tst-nodelete2): Likewise.
13008         ($(objpfx)tst-nodelete2.out): Likewise.
13009         (LDFLAGS-tst-nodelete2): Likewise.
13010         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13011         out of loop through all loaded libraries.
13012         * elf/tst-nodelete2.c: New file.
13013         * elf/tst-nodelete2mod.c: Likewise.
13014         * elf/tst-znodelete-zlib.cc: Delete.
13016 2015-08-11  Andreas Schwab  <schwab@suse.de>
13018         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13019         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13020         (__openat64_nocancel): Likewise.
13022 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13024         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13025         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13026         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13027         * math/auto-libm-test-out: Regenerated.
13028         * sysdeps/i386/fpu/libm-test-ulps: Update.
13029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13031 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13033         [BZ #18790]
13034         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13035         threshold for returning +/- 1.
13036         * math/auto-libm-test-in: Add more tests of tanh.
13037         * math/auto-libm-test-out: Regenerated.
13038         * sysdeps/i386/fpu/libm-test-ulps: Update.
13040 2015-08-10  Andreas Schwab  <schwab@suse.de>
13042         [BZ #18781]
13043         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13044         MORE_OFLAGS to oflag.
13045         * io/test-lfs.c (do_test): Test openat64.
13047 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13049         [BZ #18789]
13050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13051         smaller threshold for returning the argument.
13052         * math/auto-libm-test-in: Add more tests of sinh.
13053         * math/auto-libm-test-out: Regenerated.
13054         * sysdeps/i386/fpu/libm-test-ulps: Update.
13056 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13058         [BZ #18674]
13059         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13060         break.
13062 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13064         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13065         (generated): Don't add $(addprefix z.,$(tzfiles)).
13067 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13069         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13070         * scripts/sysd-rules.awk: Likewise.
13072 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13074         * iconvdata/tst-tables.sh: Change echo -n to printf.
13075         * nss/db-Makefile: Likewise.
13076         * posix/tst-getconf.sh: Likewise.
13077         * stdio-common/tst-unbputc.sh: Likewise.
13079 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13081         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13082         MADV_*_PAGES defines behind this feature check.
13084 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13086         [BZ #18480]
13087         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13088         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13089         Define.
13090         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13091         LOAD_REGS_5, LOAD_REGS_6): Update.
13092         (INTERNAL_SYSCALL): Update using new LOAD defines.
13093         (INTERNAL_SYSCALL_NCS): Likewise.
13094         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13096 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13098         [BZ #16734]
13099         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13101 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13103         [BZ #17905]
13104         * catgets/Makefile (tst-catgets-mem): New test.
13105         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13106         * catgets/open_catalog.c (__open_catalog): Likewise.
13107         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13109 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13111         [BZ #18787]
13112         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13113         clobber registers.
13114         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13115         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13116         Cast return to __typeof (oldval).
13118 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13120         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13121         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13122         and delete sys/syscall.h include.
13124 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13126         [BZ #16517]
13127         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13128         (tan): Force underflow exception for arguments with small absolute
13129         value.
13130         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13131         (__kernel_tanf): Force underflow exception for arguments with
13132         small absolute value.
13133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13134         (__kernel_tanl): Force underflow exception for arguments with
13135         small absolute value.
13136         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13137         (__kernel_tanl): Force underflow exception for arguments with
13138         small absolute value.
13139         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13140         (__kernel_tanl): Force underflow exception for arguments with
13141         small absolute value.
13142         * math/auto-libm-test-in: Add more tests of tan.
13143         * math/auto-libm-test-out: Regenerated.
13145 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13147         Fix sysdeps/i386/fpu/s_scalbn.S build
13149         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13151 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13153         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13155 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13157         Fix gcrt0.o compilation
13159         When static-start-installed-name is different from
13160         start-installed-name, we must not use the shared objects.
13162         * csu/Makefile
13163         (extra-objs): Add gmon-start.o when building shared library and
13164         $(static-start-installed-name) is different from
13165         $(start-installed-name).
13166         $(objpfx)g$(static-start-installed-name): When building shared
13167         library and $(static-start-installed-name) is different from
13168         $(static-start-installed-name), revert to non-shared rule,
13169         i.e. using $(objpfx)% and gmon-start.o.
13171 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13173         [BZ #16519]
13174         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13175         (__ieee754_sinh): Force underflow exception for arguments with
13176         small absolute value.
13177         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13178         (__ieee754_sinhf): Force underflow exception for arguments with
13179         small absolute value.
13180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13181         (__ieee754_sinhl): Force underflow exception for arguments with
13182         small absolute value.
13183         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13184         (__ieee754_sinhl): Force underflow exception for arguments with
13185         small absolute value.
13186         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13187         (__ieee754_sinhl): Force underflow exception for arguments with
13188         small absolute value.
13189         * math/auto-libm-test-in: Add more tests of sinh.
13190         * math/auto-libm-test-out: Regenerated.
13191         * sysdeps/i386/fpu/libm-test-ulps: Update.
13193 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13195         * libio/oldfileops.c: Include unistd.h.
13197 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13199         * stdlib/isomac.c: Include ctype.h.
13201 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13203         * dirent/tst-seekdir.c (main): Converted to ...
13204         (do_test): ... this.
13205         (TEST_FUNCTION): New macro.
13206         Include test-skeleton.c.
13207         * elf/tst-dlmodcount.c (main): Converted to ...
13208         (do_test): ... this.
13209         (TEST_FUNCTION): New macro.
13210         Include test-skeleton.c.
13211         * elf/tst-order-main.c (main): Converted to ...
13212         (do_test): ... this.
13213         (TEST_FUNCTION): New macro.
13214         Include test-skeleton.c.
13215         * elf/tst-pie2.c (main): Converted to ...
13216         (do_test): ... this.
13217         (TEST_FUNCTION): New macro.
13218         Include test-skeleton.c.
13219         * inet/tst-ether_aton.c (main): Converted to ...
13220         (do_test): ... this.
13221         (TEST_FUNCTION): New macro.
13222         Include test-skeleton.c.
13223         * misc/tst-mntent.c (main): Converted to ...
13224         (do_test): ... this.
13225         (TEST_FUNCTION): New macro.
13226         Include test-skeleton.c.
13227         * misc/tst-tsearch.c (main): Converted to ...
13228         (do_test): ... this.
13229         (TEST_FUNCTION): New macro.
13230         Include test-skeleton.c.
13231         * posix/tst-regexloc.c (main): Converted to ...
13232         (do_test): ... this.
13233         (TEST_FUNCTION): New macro.
13234         Include test-skeleton.c.
13235         * resolv/tst-aton.c (main): Converted to ...
13236         (do_test): ... this.
13237         (TEST_FUNCTION): New macro.
13238         Include test-skeleton.c.
13239         * stdio-common/test-fwrite.c (main): Converted to ...
13240         (do_test): ... this.
13241         (TEST_FUNCTION): New macro.
13242         Include test-skeleton.c.
13243         * stdio-common/tst-ferror.c (main): Converted to ...
13244         (do_test): ... this.
13245         (TEST_FUNCTION): New macro.
13246         Include test-skeleton.c.
13247         * stdio-common/tst-printf.c (main): Converted to ...
13248         (do_test): ... this.
13249         (TEST_FUNCTION): New macro.
13250         Include test-skeleton.c.
13251         * stdio-common/tst-printfsz.c (main): Converted to ...
13252         (do_test): ... this.
13253         (TEST_FUNCTION): New macro.
13254         Include test-skeleton.c.
13255         * stdlib/tst-strtod.c (main): Converted to ...
13256         (do_test): ... this.
13257         (TEST_FUNCTION): New macro.
13258         Include test-skeleton.c.
13259         * string/tst-strlen.c (main): Converted to ...
13260         (do_test): ... this.
13261         (TEST_FUNCTION): New macro.
13262         Include test-skeleton.c.
13263         * string/tst-svc.c (main): Converted to ...
13264         (do_test): ... this.
13265         (TEST_FUNCTION): New macro.
13266         Include test-skeleton.c.
13267         * time/tst-strptime.c (main): Converted to ...
13268         (do_test): ... this.
13269         (TEST_FUNCTION): New macro.
13270         Include test-skeleton.c.
13271         * timezone/tst-timezone.c (main): Converted to ...
13272         (do_test): ... this.
13273         (TEST_FUNCTION): New macro.
13274         Include test-skeleton.c.
13276 2015-08-05  Zack Weinberg  <zackw@panix.com>
13278         * misc/regexp.h: Update comments.
13280 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13282         [BZ #18635]
13283         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13284         before return label.
13286 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13288         [BZ #18661]
13289         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13290         when calling __errno_location.
13291         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13292         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13294 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13296         [BZ #18661]
13297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13298         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13299         __gettimeofday.
13301 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13303         [BZ #18661]
13304         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13305         (__start_context): Don't use pop to restore %rdi so that stack
13306         is aligned to 16 bytes when calling __setcontext.
13308 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13310         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13311         only for libc.
13312         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13314 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13316         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13317         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13318         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13320 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13322         * string/memccpy.c (memccpy):
13323         Improve performance by using memchr/memcpy/__mempcpy.
13325 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13327         * string/strncpy.c (strncpy):
13328         Improve performance by using __strnlen/memcpy.
13330 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13332         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13333         Optimize to avoid an unnecessary FPCR read.
13335 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13337         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13338         Optimize to reduce FPCR/FPSR accesses.
13340 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13342         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13343         dead->data[category] != NULL.
13345 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13347         [BZ #18647]
13348         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13349         and |x| close to 1, use absolute value of x when computing log.
13350         * math/auto-libm-test-in: Add more tests of pow.
13351         * math/auto-libm-test-out: Regenerated.
13353 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13355         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13356         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13357         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13359 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13361         [BZ #18525]
13362         * locales/km_KH: Remove timezone definition.
13363         * locales/lo_LA: Likewise.
13364         * locales/my_MM: Likewise.
13365         * locales/nan_TW@latin: Likewise.
13366         * locales/th_TH: Likewise.
13367         * locales/uk_UA: Likewise.
13369 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13371         [BZ #18265]
13372         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13373         (wcsncat): Likewise.
13374         (wcscmp): Likewise.
13375         (wcsncmp): Likewise.
13377 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13379         * test-skeleton.c (usage): New function.
13380         (main): Call usage when opt is '?'.
13382 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13384         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13385         before first use.
13387 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13389         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13390         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13391         in there too.
13393 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13395         * version.h (RELEASE): Set to "development".
13396         (VERSION): Set to "2.22.90"
13398         * version.h (RELEASE): Set to "stable".
13399         (VERSION): Set to "2.22"
13400         * include/features.h (__GLIBC_MINOR__): Set to 22.
13402 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13404         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13405         Restructure macro to avoid "value computed is not used" warning.
13406         (atomic_compare_and_exchange_val_acq): Likewise.
13408 2015-08-04  Andreas Schwab  <schwab@suse.de>
13410         [BZ #18635]
13411         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13412         ret.
13413         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13415 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13417         * po/pl.po: Updated translation.
13418         * po/uk.po: Likewise.
13419         * po/fi.po: Likewise.
13420         * po/ko.po: Likewise.
13421         * po/ru.po: Likewise.
13422         * po/vi.po: Likewise.
13424 2015-07-31  Zack Weinberg  <zackw@panix.com>
13426         [BZ #18681]
13427         * regexp.h: Add unconditional #warning stating that this header
13428         will be removed soon.  Revise banner comment to match.
13429         (compile): Consistently use ERROR instead of RETURN to report
13430         errors (partial fix for bz#18681).
13431         * regexp.c: Don't include regexp.h. Remove some unnecessary
13432         declarations.
13434 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13436         * po/libc.pot: Regenerated.
13438 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13440         [BZ #18740]
13441         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13442         float-vlen4-arch-ext-cflags): Removed.
13443         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13444         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13446 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13448         [BZ #14113]
13449         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13450         aligned to __aligned__.
13451         (pthread_cond_t, pthread_rwlock_t): Likewise.
13453 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13455         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13457 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13459         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13460         (struct sigaction): Change sa_flags from a long to an int, and add
13461         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13463 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13465         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13466         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13467         sysdeps/generic/sysdep.h include.
13468         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13469         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13470         sysdeps/hppa/sysdep.h.
13471         (ENTRY, PSEUDO): Undefine before defining.
13473 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13475         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13476         from scratch to use INTERNAL_SYSCALL.
13478 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13480         [BZ #18078]
13481         * scripts/check-localplt.awk: Support alternate relocations.
13482         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13483         sections.
13484         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13485         malloc entries with + REL R_386_GLOB_DAT.
13486         * sysdeps/x86_64/localplt.data: New file.
13488 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13490         [BZ #18731]
13491         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13492         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13493         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13495 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13497         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13499 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13501         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13502         directly in terms of __sync_fetch_and_add and delete (int) cast.
13504 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13506         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13507         the -D_ASM_IA64_CURRENT_H flag.
13509 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13511         [BZ #18641]
13512         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13514 2015-07-27  Andreas Schwab  <schwab@suse.de>
13516         * conform/conformtest.pl (checknamespace): Filter out string
13517         literals while tokenizing.
13519 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13521         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13522         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13523         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13525 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13527         * nptl/tst-join7mod.c: Add #include <string.h>.
13529 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13531         * sysdeps/nios2/libm-test-ulps: Update.
13533 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13535         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13536         Fix order of arguments to the rt_sigprocmask syscall.
13537         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13538         Likewise.
13540 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13542         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13544 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13546         [BZ #18457]
13547         * nptl/Makefile (tests): New test case tst-join7.
13548         (modules-names): New test case module tst-join7mod.
13549         * nptl/tst-join7.c: New file.
13550         * nptl/tst-join7mod.c: New file.
13551         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13552         all translation units in libc.so, libpthread.so and rtld.
13554 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13558 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13560         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13562         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13564         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13565         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13569         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13571         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13572         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13573         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13575         implementation.
13577 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13579         [BZ #17711]
13580         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13581         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13582         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13583         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13584         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13585         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13587 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13589         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13590         instead of just saying load lock in the comments.
13592 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13594         * sysdeps/unix/Subdirs: Moved ...
13595         * sysdeps/posix/Subdirs: ... here.
13596         * login/pty.h (struct termios, struct winsize): Add forward decls.
13597         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13598         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13599         * sysdeps/arm/nacl/libc.abilist: Updated.
13600         * sysdeps/nacl/libutil.abilist: New file.
13602         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13603         (SIGWINCH): New macro.
13605         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13606         * sysdeps/arm/nacl/libc.abilist: Add it.
13608 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13610         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13612 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13614         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13615         Swap __glibc_reserved0 and sa_flags order.
13617 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13619         [BZ #18657]
13620         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13621         are pending TLS destructor calls.
13622         * include/link.h (struct link_map): Add concurrency note for
13623         L_TLS_DTOR_COUNT.
13624         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13625         Don't touch the link map flag.  Atomically increment
13626         l_tls_dtor_count.
13627         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13628         Avoid taking the load lock and don't touch the link map flag.
13629         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13630         * stdlib/Makefile (tests): Use it.
13631         * stdlib/tst-tls-atexit.c (do_test): dlopen
13632         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13633         to allow tst-tls-atexit-nodelete test case to use it.
13635 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13637         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13638         to bits/types.h.
13639         (msgqnum_t): New typedef.
13640         (msglen_t): Likewise.
13641         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13642         and msg_qbytes type to msglen_t.
13644 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13646         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13647         pad0 to __glibc_reserved0.
13648         (struct stat64): Likewise.
13650 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13652         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13653         Change sa_flags from a long to an int and add __glibc_reserved0 before
13654         it for padding.
13656 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13658         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13659         anonymous by deleting "siginfo" name.
13661 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13663         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13664         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13665         rather than __nacl_irt_filename.
13666         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13668         * NEWS: New item for arm-nacl port.
13669         * sysdeps/arm/nacl/libc.abilist: New file.
13670         * sysdeps/nacl/ld.abilist: New file.
13671         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13672         * sysdeps/nacl/libanl.abilist: New file.
13673         * sysdeps/nacl/libcrypt.abilist: New file.
13674         * sysdeps/nacl/libdl.abilist: New file.
13675         * sysdeps/nacl/libm.abilist: New file.
13676         * sysdeps/nacl/libpthread.abilist: New file.
13677         * sysdeps/nacl/libresolv.abilist: New file.
13678         * sysdeps/nacl/librt.abilist: New file.
13680 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13682         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13683         __startcontext to initialize the new context.
13684         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13685         up CFI directive to forbid further backtracing.
13687 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13689         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13690         reference.
13691         * charmaps/ANSI_X3.4-1968: Likewise.
13692         * charmaps/BS_4730: Likewise.
13693         * charmaps/BS_VIEWDATA: Likewise.
13694         * charmaps/CP1250: Likewise.
13695         * charmaps/CP1251: Likewise.
13696         * charmaps/CP1252: Likewise.
13697         * charmaps/CP1253: Likewise.
13698         * charmaps/CP1254: Likewise.
13699         * charmaps/CP1255: Likewise.
13700         * charmaps/CP1256: Likewise.
13701         * charmaps/CSN_369103: Likewise.
13702         * charmaps/EBCDIC-DK-NO: Likewise.
13703         * charmaps/GB_1988-80: Likewise.
13704         * charmaps/GREEK-CCITT: Likewise.
13705         * charmaps/GREEK7: Likewise.
13706         * charmaps/INIS-8: Likewise.
13707         * charmaps/ISIRI-3342: Likewise.
13708         * charmaps/ISO_2033-1983: Likewise.
13709         * charmaps/ISO_5427-EXT: Likewise.
13710         * locales/POSIX: Likewise.
13711         * locales/ar_SA: Likewise.
13712         * locales/be_BY: Likewise.
13713         * locales/be_BY@latin: Likewise.
13714         * locales/ca_ES: Likewise.
13715         * locales/cs_CZ: Likewise.
13716         * locales/da_DK: Likewise.
13717         * locales/de_BE: Likewise.
13718         * locales/de_CH: Likewise.
13719         * locales/de_LU: Likewise.
13720         * locales/en_AU: Likewise.
13721         * locales/en_BW: Likewise.
13722         * locales/en_CA: Likewise.
13723         * locales/en_DK: Likewise.
13724         * locales/en_GB: Likewise.
13725         * locales/en_IE: Likewise.
13726         * locales/en_NZ: Likewise.
13727         * locales/en_ZA: Likewise.
13728         * locales/en_ZW: Likewise.
13729         * locales/es_AR: Likewise.
13730         * locales/es_BO: Likewise.
13731         * locales/es_CL: Likewise.
13732         * locales/es_CO: Likewise.
13733         * locales/es_DO: Likewise.
13734         * locales/es_EC: Likewise.
13735         * locales/es_ES: Likewise.
13736         * locales/es_HN: Likewise.
13737         * locales/es_MX: Likewise.
13738         * locales/es_PA: Likewise.
13739         * locales/es_PE: Likewise.
13740         * locales/es_PY: Likewise.
13741         * locales/es_SV: Likewise.
13742         * locales/es_US: Likewise.
13743         * locales/es_UY: Likewise.
13744         * locales/es_VE: Likewise.
13745         * locales/et_EE: Likewise.
13746         * locales/fa_IR: Likewise.
13747         * locales/fo_FO: Likewise.
13748         * locales/fr_CA: Likewise.
13749         * locales/fr_CH: Likewise.
13750         * locales/gv_GB: Likewise.
13751         * locales/he_IL: Likewise.
13752         * locales/hr_HR: Likewise.
13753         * locales/id_ID: Likewise.
13754         * locales/is_IS: Likewise.
13755         * locales/it_CH: Likewise.
13756         * locales/iw_IL: Likewise.
13757         * locales/kl_GL: Likewise.
13758         * locales/ko_KR: Likewise.
13759         * locales/kw_GB: Likewise.
13760         * locales/lg_UG: Likewise.
13761         * locales/lt_LT: Likewise.
13762         * locales/lv_LV: Likewise.
13763         * locales/mi_NZ: Likewise.
13764         * locales/nhn_MX: Likewise.
13765         * locales/nl_BE: Likewise.
13766         * locales/pl_PL: Likewise.
13767         * locales/sk_SK: Likewise.
13768         * locales/sl_SI: Likewise.
13769         * locales/sv_FI: Likewise.
13770         * locales/tl_PH: Likewise.
13771         * locales/tr_TR: Likewise.
13772         * locales/vi_VN: Likewise.
13774 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13776         [BZ #17475]
13777         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13778         of tu_IN and bh_IN.
13780 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13782         [BZ #18694]
13783         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13784         bits/wordsize.h.
13785         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13787 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13789         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13790         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13791         (spawn_thread): New function.
13792         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13793         (do_test): ... here.  Use IS_LOADED to test for its
13794         availability.
13796 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13798         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13800 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13802         [BZ #18696]
13803         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13804         si_addr_bnd.
13805         (si_lower): New.
13806         (si_upper): Likewise.
13808 2015-07-16  David S. Miller  <davem@davemloft.net>
13810         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13812 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13814         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13815         buffer.
13816         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13817         fail output information.
13819 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13822         and strstr-ppc64..
13823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13824         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13825         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13826         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13827         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13829 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13831         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13832         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13833         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13834         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13836 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13838         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13839         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13840         rtld_hidden_proto.
13841         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13843 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13845         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13846         the test can fail.
13848         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13850         [BZ #18676]
13851         * elf/tst-nodelete-opened.c: New test case.
13852         * elf/tst-nodelete-opened-lib.c: New test case module.
13853         * elf/Makefile (tests, modules-names): Use them.
13854         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13855         early.
13857 2015-07-15  David S. Miller  <davem@davemloft.net>
13859         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13860         futex-intenal.h
13861         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13862         * sysdeps/sparc/sparc64/Makefile: Likewise.
13863         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13864         Remove space from macro define.
13865         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13867 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13869         [BZ #17475]
13870         * locale/iso-639.def: Update Bhili and Tulu language codes as
13871         per iso639-3.
13873 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13875         * elf/tst-leaks1.c (main): Converted to ...
13876         (do_test): ... this.
13877         (TEST_FUNCTION): New macro.
13878         Include test-skeleton.c.
13879         * localedata/tst-langinfo.c (main): Converted to ...
13880         (do_test): ... this.
13881         (TEST_FUNCTION): New macro.
13882         Include test-skeleton.c.
13883         * math/test-fpucw.c (main): Converted to ...
13884         (do_test): ... this.
13885         (TEST_FUNCTION): New macro.
13886         Include test-skeleton.c.
13887         * math/test-tgmath.c (main): Converted to ...
13888         (do_test): ... this.
13889         (TEST_FUNCTION): New macro.
13890         Include test-skeleton.c.
13891         * math/test-tgmath2.c (main): Converted to ...
13892         (do_test): ... this.
13893         (TEST_FUNCTION): New macro.
13894         Include test-skeleton.c.
13895         * setjmp/tst-setjmp.c (main): Converted to ...
13896         (do_test): ... this.
13897         (TEST_FUNCTION): New macro.
13898         Include test-skeleton.c.
13899         * stdio-common/tst-sscanf.c (main): Converted to ...
13900         (do_test): ... this.
13901         (TEST_FUNCTION): New macro.
13902         Include test-skeleton.c.
13903         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13904         (do_test): ... this.
13905         (TEST_FUNCTION): New macro.
13906         Include test-skeleton.c.
13908         * elf/tst-audit9.c (main): Converted to ...
13909         (do_test): ... this.
13910         (TEST_FUNCTION): New macro.
13911         Include test-skeleton.c.
13913 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13915         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13917 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13919         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13920         New variable.
13922 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13924         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13926 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13928         * sysdeps/generic/dl-fileid.h: New file.
13929         * sysdeps/posix/dl-fileid.h: New file.
13930         * sysdeps/nacl/dl-fileid.h: New file.
13931         * include/link.h: Include <dl-fileid.h>.
13932         (struct link_map): Replace l_dev and l_ino with l_file_id.
13933         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13934         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13935         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13937 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13939         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13941 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13943         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13944         Add iff $CXX is set.
13945         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13946         Likewise.
13947         (tst-nodelete-zmodiff): Likewise.
13948         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13950 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13952         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13954 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13956         * sysdeps/aarch64/fpu/math_private.h
13957         (define math_opt_barrier): Add AArch64 version.
13958         (math_force_eval): Likewise.
13960 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13962         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13964 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13966         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13967         %ld with %jd and cast to intmax_t.
13968         (do_test_length_zero): Likewise.
13970 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13972         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13974 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13976         * sysdeps/tile/libm-test-ulps: Regenerated.
13978         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13979         Comment out the whole function, not just its body.
13981 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13983         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13984         locks.
13986         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13988 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13990         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13991         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13993 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13995         * sysdeps/nptl/futex-internal.h: New file.
13996         * sysdeps/nacl/futex-internal.h: New file.
13997         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13998         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13999         error checking.
14000         (setxid_unmark_thread): Likewise.
14001         (__nptl_setxid): Likewise.
14002         (__wait_lookup_done): Likewise.
14003         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14004         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14005         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14006         * nptl/pthread_once.c (clear_once_control): Likewise.
14007         (__pthread_once_slow): Likewise.
14008         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14009         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14010         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14011         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14012         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14013         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14014         Likewise.
14015         (__pthread_rwlock_rdlock): Likewise.
14016         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14017         Likewise.
14018         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14019         Likewise.
14020         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14021         Likewise.
14022         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14023         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14024         Likewise.
14025         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14026         __ASSUME_PRIVATE_FUTEX check.
14027         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14028         Check that shared futexes are supported.
14029         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14030         wrappers with error checking.
14031         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14032         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14033         * nptl/pthread_barrierattr_setpshared.c
14034         (pthread_barrierattr_setpshared): Check that shared futexes are
14035         supported.
14036         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14037         Likewise.
14038         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14039         Likewise.
14040         * nptl/sem_init.c (futex_private_if_supported): Remove.
14041         (__new_sem_init): Adapt and check that shared futexes are supported.
14042         * nptl/sem_open.c (sem_open): Likewise.
14043         * nptl/sem_post.c (futex_wake): Remove.
14044         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14045         (do_futex_wait): Use futex wrappers with error checking.
14046         * nptl/sem_wait.c: Include lowlevellock.h.
14047         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14048         Use futex_supports_pshared.
14049         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14050         Use futex wrappers with error checking.
14051         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14052         Likewise.
14053         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14054         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14055         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14056         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14057         (futex_wake): Likewise.
14058         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14059         (do_futex_wait): Use futex wrappers with error checking.
14060         (__new_sem_wait_slow): Update EINTR handling.
14061         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14063 2015-07-09  Martin Sebor  <msebor@redhat.com>
14065         [BZ #18435]
14066         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14067         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14068         * nptl/Makefile (test-xfail-tst-once5): Define.
14070 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14072         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14073         * elf/dl-minimal.c: For readability, reorder some definitions and
14074         introduce more page breaks.  Include <stdio.h>.
14075         (__libc_fatal): New function.
14077         * include/unistd.h: Add rtld_hidden_proto for _exit.
14078         * posix/_exit.c: Add rtld_hidden_def.
14079         * sysdeps/mach/hurd/_exit.c: Likewise.
14080         * sysdeps/nacl/_exit.c: Likewise.
14081         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14082         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14084 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14087         bndmov encoding with zero displacement.
14089 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14090             H.J. Lu  <hongjiu.lu@intel.com>
14092         [BZ #18134]
14093         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14094         * sysdeps/i386/configure: Regenerated.
14095         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14096         (_dl_runtime_profile): Save and restore Intel MPX return bound
14097         registers when calling _dl_call_pltexit.  Add
14098         PRESERVE_BND_REGS_PREFIX before return.
14099         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14100         (LRV_BND1_OFFSET): Likewise.
14101         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14102         lrv_bnd1.
14103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14104         typo in bndmov encoding.
14105         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14106         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14107         branch instructions to preserve bounds.
14109 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14112         [GLIBC_2.22]: Add fmemopen.
14114 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14116         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14117         returns an error, also try to use host port from __mach_host_self for
14118         the __vm_wire call.
14119         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14121 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14123         [BZ #18400]
14124         [BZ #18648]
14125         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14126         Fix pr_uid and pr_gid members.
14127         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14128         definition to elf_greg_t.
14130 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14132         [BZ #18383]
14133         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14134         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14135         * sysdeps/arm/configure: Regenerated.
14136         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14137         (test-xfail-tst-tlsalign-static): Variable removed.
14139         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14140         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14141         rather than explicit 'ln -s'.
14143         * resolv/rpc/netdb.h: New file.
14144         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14146 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14148         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14149         length buffers.
14150         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14151         test-skeleton.c.
14153         [BZ #6544]
14154         [BZ #11216]
14155         [BZ #12836]
14156         [BZ #13151]
14157         [BZ #13152]
14158         [BZ #14292]
14159         * include/stdio.h (fmemopen): Remove hidden prototype.
14160         (__fmemopen): Add new hidden prototype.
14161         * libio/Makefile: Add oldfmemopen object.
14162         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14163         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14164         compliance.
14165         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14166         symbol compatibility.
14167         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14168         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14169         fmemopen.
14170         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14171         on append and read mode.
14172         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14173         fmemopen.
14174         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14175         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14176         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14177         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14178         Likewise.
14179         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14180         [GLIBC_2.22]: Likewise.
14181         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14182         Likewise.
14183         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14184         Likewise.
14185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14186         [GLIBC_2.22]: Likewise.
14187         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14188         [GLIBC_2.22]: Likewise.
14189         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14190         [GLIBC_2.22]: Likewise.
14191         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14192         [GLIBC_2.22]: Likewise.
14193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14194         [GLIBC_2.22]: Likewise.
14195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14196         [GLIBC_2.22]: Likewise.
14197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14198         [GLIBC_2.22]: Likewise.
14199         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14200         Likewise.
14201         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14202         Likewise.
14203         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14204         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14205         [GLIBC_2.22]: Likewise.
14206         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14207         [GLIBC_2.22]: Likewise.
14208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14209         [GLIBC_2.22]: Likewise.
14210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14211         [GLIBC_2.22]: Likewise.
14212         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14213         Likewise.
14214         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14215         Likewise.
14216         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14217         Likewise.
14218         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14219         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14221 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14223         [BZ #18643]
14224         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14225         IPV6_PATHMTU, and IPV6_DONTFRAG.
14227 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14229         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14230         and _IO_UNBUFFERED.
14231         * libio/oldfileops.c: Likewise.
14232         * libio/wfileops.c: Likewise.
14234 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14236         * nscd/selinux.c: Delete selinux/flask.h include.
14238 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14240         [BZ #18641]
14241         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14242         (putpwent): Likewise.
14243         (getpwnam): Likewise.
14244         (getpwent_r): Likewise.
14245         (getpwuid_r): Likewise.
14246         (getpwnam_r): Likewise.
14247         (fgetpwent_r): Likewise.
14249 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14251         [BZ #18557]
14252         * inet/rcmd.c (__validuser2_sa): Check user first to
14253         short-circuit host check.
14255 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14256             Mikhail Ilin  <m.ilin@samsung.com>
14258         [BZ #17833]
14259         * elf/Makefile (tests): Add tst-nodelete.
14260         (modules-names): Add tst-nodelete-uniquemod.
14261         (tst-nodelete-uniquemod.so-no-z-defs): New.
14262         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14263         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14264         ($(objpfx)tst-nodelete): Likewise.
14265         ($(objpfx)tst-nodelete.out): Likewise.
14266         (LDFLAGS-tst-nodelete): Likewise.
14267         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14268         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14269         implement forced object deletion.
14270         (_dl_close): Pass false to _dl_close_worker.
14271         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14272         * elf/tst-nodelete.cc: New file.
14273         * elf/tst-nodeletelib.cc: Likewise.
14274         * elf/tst-znodeletelib.cc: Likewise.
14275         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14277 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14279         [BZ #18508]
14280         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14281         Depend on $(libdl).
14282         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14283         is not called infinitely times.
14284         (backtrace_helper): New function.
14285         (trace_arg): New struct.
14286         (st1): Enlarge stack size.
14287         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14288         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14289         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14290         Likewise.
14292 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14294         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14296 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14298         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14299         Include sys/types.h instead of bits/types.h.
14300         Remove inclusion of bits/wordsize.h.
14302 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14304         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14305         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14306         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14307         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14308         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14309         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14311 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14313         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14314         link-defines.sym.
14315         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14316         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14317         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14318         and LR_SIZE.
14319         * sysdeps/i386/link-defines.sym: New file.
14321 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14323         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14324         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14325         ($(objpfx)tst-audit3): New rule.
14326         ($(objpfx)tst-audit3.out): Likewise.
14327         * sysdeps/i386/tst-audit3.c: New file.
14328         * sysdeps/i386/tst-audit3.h: Likewise.
14329         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14330         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14332 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14334         [BZ #18633]
14335         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14336         pointer in C code.
14337         (__strcat_c): Likewise.
14338         (__strcat_g): Likewise.
14340 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14342         [BZ #18592]
14343         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14345 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14347         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14348         New function.  (__ieee754_sqrtf): New function.
14349         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14350         New function.
14351         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14352         New function.
14354 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14356         * sysdeps/ieee754/support.c: Remove unused file.
14358 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14360         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14361         registers instead of d ones so the layout is kernel abi compatible.
14362         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14363         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14364         Likewise.
14366 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14368         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14370 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14372         [BZ #18619]
14373         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14374         and return argument in case of subnormal argument.
14376 2015-07-01  Martin Sebor  <msebor@redhat.com>
14378         [BZ #18435]
14379         * nptl/Makefile: Add tst-once5.cc.
14380         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14381         Remove macro redefinitions.
14382         * nptl/tst-once5.cc: New test.
14384 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14388         * sysdeps/arm/libm-test-ulps: Regenerated.
14390         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14391         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14393 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14395         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14396         lll_lock_wait_private and lll_futex_wake probes.
14398         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14400         Likewise.
14401         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14402         atomic_spin_nop.
14403         * sysdeps/x86_64/bits/atomic.h: Likewise.
14404         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14405         to atomic_spin_nop and move ...
14406         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14407         ... here and ...
14408         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14409         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14410         atomic_spin_nop instead of BUSY_WAIT_NOP.
14411         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14412         Likewise.
14413         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14414         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14415         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14416         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14417         instead of atomic_delay.
14419 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14421         [BZ #18613]
14422         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14423         X_ADJ not X when adjusting exponent.
14424         (__ieee754_gamma_r): Do intermediate computations in
14425         round-to-nearest then adjust overflowing and underflowing results
14426         as needed.
14427         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14428         of X_ADJ not X when adjusting exponent.
14429         (__ieee754_gammaf_r): Do intermediate computations in
14430         round-to-nearest then adjust overflowing and underflowing results
14431         as needed.
14432         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14433         log of X_ADJ not X when adjusting exponent.
14434         (__ieee754_gammal_r): Do intermediate computations in
14435         round-to-nearest then adjust overflowing and underflowing results
14436         as needed.  Use 1.0L not 1.0f as numerator of division.
14437         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14438         log of X_ADJ not X when adjusting exponent.
14439         (__ieee754_gammal_r): Do intermediate computations in
14440         round-to-nearest then adjust overflowing and underflowing results
14441         as needed.  Use 1.0L not 1.0f as numerator of division.
14442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14443         of X_ADJ not X when adjusting exponent.
14444         (__ieee754_gammal_r): Do intermediate computations in
14445         round-to-nearest then adjust overflowing and underflowing results
14446         as needed.  Use 1.0L not 1.0f as numerator of division.
14447         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14448         to auto-libm-test-in.
14449         (tgamma_test): Use ALL_RM_TEST.
14450         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14451         tests of tgamma with spurious-overflow.
14452         * math/auto-libm-test-out: Regenerated.
14453         * math/gen-libm-have-vector-test.sh: Do not check for START.
14454         * sysdeps/i386/fpu/libm-test-ulps: Update.
14455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14457         [BZ #18612]
14458         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14459         arguments, just return 0.5 times the argument, with underflow
14460         forced as needed.
14461         * math/auto-libm-test-in: Add more tests of j1.
14462         * math/auto-libm-test-out: Regenerated.
14464         [BZ #16559]
14465         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14466         (__ieee754_j1): Force underflow exception for small results.
14467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14468         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14469         (__ieee754_j1f): Force underflow exception for small results.
14470         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14471         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14472         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14473         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14474         (__ieee754_j1l): Force underflow exception for small results.
14475         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14476         * math/auto-libm-test-in: Add more tests of j1 and jn.
14477         * math/auto-libm-test-out: Regenerated.
14479         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14480         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14481         (PF_MPLS): Likewise.
14482         (AF_IB): Likewise.
14483         (AF_MPLS): Likewise.
14484         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14485         value and macro.
14486         (MS_RMT_MASK): Include MS_LAZYTIME.
14488 2015-06-26  Mel Gorman  <mgorman@suse.de>
14490         [BZ #18502]
14491         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14492         already minimal.
14494 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14496         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14497         (DT_MIPS_NUM): Update.
14498         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14499         DT_MIPS_RLD_MAP_REL.
14501 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #16559]
14504         [BZ #18602]
14505         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14506         round-to-nearest internally then recompute results that
14507         underflowed to zero in the original rounding mode.
14508         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14509         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14512         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14513         * sysdeps/i386/fpu/libm-test-ulps: Update.
14514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14518         * NEWS: Fixed description of link with vector math library.
14520 2015-06-25  Andreas Schwab  <schwab@suse.de>
14522         [BZ #18549]
14523         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14524         * libio/test-fmemopen.c (do_test): Add test for it.
14526 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14528         [BZ #17841]
14529         * Makeconfig (no-pie-ldflag): New.
14530         (+link): Set to $(+link-pie) if default to PIE.
14531         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14532         * config.make.in (build-pie-default): New.
14533         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14534         is default.  AC_SUBST.
14535         * configure: Regenerated.
14536         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14538 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14540         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14541         to 'unsigned int'.
14543         * resolv/gai_misc.h (struct waitlist): Change type of field
14544         counterp to 'volatile unsigned int *'.
14545         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14546         FUTEXADDR and OLDVAL.
14547         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14548         Give local variable TOTAL type 'volatile unsigned int'.
14549         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14550         * resolv/gai_suspend.c (gai_suspend):
14551         Give local variable CNTR type 'unsigned int'.
14553         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14554         counterp to 'volatile unsigned int *'.
14555         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14556         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14557         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14558         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14559         Give local variable TOTAL type 'volatile unsigned int'.
14560         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14562 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14564         [BZ #18383]
14565         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14566         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14567         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14568         comment for i386/x86-64.
14569         (test-xfail-tst-tlsalign-extern-static): Removed.
14571 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14573         * math/test-double.h: New file.
14574         * math/test-float.h: Likewise.
14575         * math/test-ldouble.h: Likewise.
14576         * math/test-math-inline.h: Likewise.
14577         * math/test-math-no-inline.h: Likewise.
14578         * math/test-math-scalar.h: Likewise.
14579         * math/test-math-vector.h: Likewise.
14580         * math/test-vec-loop.h: Remove file.  Contents moved into
14581         test-math-vector.h.
14582         * math/libm-test.inc (MATHCONST): Do not document macro.
14583         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14584         and test-math-scalar.h.
14585         (FUNC): Remove macro.
14586         (FUNC_TEST): Likewise.
14587         (FLOAT): Likewise.
14588         (MATHCONST): Likewise.
14589         (PRINTF_EXPR): Likewise.
14590         (PRINTF_XEXPR): Likewise.
14591         (PRINTF_NEXPR): Likewise.
14592         (TEST_DOUBLE): Likewise.
14593         (TEST_MATHVEC): Likewise.
14594         (__NO_MATH_INLINES): Likewise.
14595         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14596         and test-math-scalar.h.
14597         (FUNC): Remove macro.
14598         (FUNC_TEST): Likewise.
14599         (FLOAT): Likewise.
14600         (MATHCONST): Likewise.
14601         (PRINTF_EXPR): Likewise.
14602         (PRINTF_XEXPR): Likewise.
14603         (PRINTF_NEXPR): Likewise.
14604         (TEST_FLOAT): Likewise.
14605         (TEST_MATHVEC): Likewise.
14606         (__NO_MATH_INLINES): Likewise.
14607         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14608         and test-math-scalar.h.
14609         (FUNC): Remove macro.
14610         (FUNC_TEST): Likewise.
14611         (FLOAT): Likewise.
14612         (MATHCONST): Likewise.
14613         (PRINTF_EXPR): Likewise.
14614         (PRINTF_XEXPR): Likewise.
14615         (PRINTF_NEXPR): Likewise.
14616         (TEST_DOUBLE): Likewise.
14617         (TEST_MATHVEC): Likewise.
14618         (TEST_INLINE): Likewise.
14619         (__NO_MATH_INLINES): Likewise.
14620         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14621         test-math-scalar.h.
14622         (FUNC): Remove macro.
14623         (FUNC_TEST): Likewise.
14624         (FLOAT): Likewise.
14625         (MATHCONST): Likewise.
14626         (PRINTF_EXPR): Likewise.
14627         (PRINTF_XEXPR): Likewise.
14628         (PRINTF_NEXPR): Likewise.
14629         (TEST_FLOAT): Likewise.
14630         (TEST_MATHVEC): Likewise.
14631         (TEST_INLINE): Likewise.
14632         (__NO_MATH_INLINES): Likewise.
14633         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14634         and test-math-scalar.h.
14635         (FUNC): Remove macro.
14636         (FUNC_TEST): Likewise.
14637         (FLOAT): Likewise.
14638         (MATHCONST): Likewise.
14639         (PRINTF_EXPR): Likewise.
14640         (PRINTF_XEXPR): Likewise.
14641         (PRINTF_NEXPR): Likewise.
14642         (TEST_LDOUBLE): Likewise.
14643         (TEST_MATHVEC): Likewise.
14644         (TEST_INLINE): Likewise.
14645         (__NO_MATH_INLINES): Likewise.
14646         * math/test-ldouble.c: Include test-ldouble.h,
14647         test-math-no-inline.h and test-math-scalar.h.
14648         (FUNC): Remove macro.
14649         (FUNC_TEST): Likewise.
14650         (FLOAT): Likewise.
14651         (MATHCONST): Likewise.
14652         (PRINTF_EXPR): Likewise.
14653         (PRINTF_XEXPR): Likewise.
14654         (PRINTF_NEXPR): Likewise.
14655         (TEST_LDOUBLE): Likewise.
14656         (TEST_MATHVEC): Likewise.
14657         (__NO_MATH_INLINES): Likewise.
14658         * math/test-double-vlen2.h: Include test-double.h,
14659         test-math-no-inline.h and test-math-vector.h.
14660         (FLOAT): Remove macro.
14661         (FUNC): 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         (CNCT): Likewise.
14670         (CONCAT): Likewise.
14671         (WRAPPER_NAME): Likewise.
14672         (WRAPPER_DECL): Likewise.
14673         (WRAPPER_DECL_ff): Likewise.
14674         (WRAPPER_DECL_fFF): Likewise.
14675         (VECTOR_WRAPPER): Likewise.
14676         (VECTOR_WRAPPER_ff): Likewise.
14677         (VECTOR_WRAPPER_fFF): Likewise.
14678         (VEC_LEN): New macro.
14679         * math/test-double-vlen4.h: Include test-double.h,
14680         test-math-no-inline.h and test-math-vector.h.
14681         (FLOAT): Remove macro.
14682         (FUNC): Likewise.
14683         (MATHCONST): Likewise.
14684         (PRINTF_EXPR): Likewise.
14685         (PRINTF_XEXPR): Likewise.
14686         (PRINTF_NEXPR): Likewise.
14687         (TEST_DOUBLE): Likewise.
14688         (TEST_MATHVEC): Likewise.
14689         (__NO_MATH_INLINES): Likewise.
14690         (CNCT): Likewise.
14691         (CONCAT): Likewise.
14692         (WRAPPER_NAME): Likewise.
14693         (WRAPPER_DECL): Likewise.
14694         (WRAPPER_DECL_ff): Likewise.
14695         (WRAPPER_DECL_fFF): Likewise.
14696         (VECTOR_WRAPPER): Likewise.
14697         (VECTOR_WRAPPER_ff): Likewise.
14698         (VECTOR_WRAPPER_fFF): Likewise.
14699         (VEC_LEN): New macro.
14700         * math/test-double-vlen8.h: Include test-double.h,
14701         test-math-no-inline.h and test-math-vector.h.
14702         (FLOAT): Remove macro.
14703         (FUNC): Likewise.
14704         (MATHCONST): Likewise.
14705         (PRINTF_EXPR): Likewise.
14706         (PRINTF_XEXPR): Likewise.
14707         (PRINTF_NEXPR): Likewise.
14708         (TEST_DOUBLE): Likewise.
14709         (TEST_MATHVEC): Likewise.
14710         (__NO_MATH_INLINES): Likewise.
14711         (CNCT): Likewise.
14712         (CONCAT): Likewise.
14713         (WRAPPER_NAME): Likewise.
14714         (WRAPPER_DECL): Likewise.
14715         (WRAPPER_DECL_ff): Likewise.
14716         (WRAPPER_DECL_fFF): Likewise.
14717         (VECTOR_WRAPPER): Likewise.
14718         (VECTOR_WRAPPER_ff): Likewise.
14719         (VECTOR_WRAPPER_fFF): Likewise.
14720         (VEC_LEN): New macro.
14721         * math/test-float-vlen4.h: Include test-float.h,
14722         test-math-no-inline.h and test-math-vector.h.
14723         (FLOAT): Remove macro.
14724         (FUNC): Likewise.
14725         (MATHCONST): Likewise.
14726         (PRINTF_EXPR): Likewise.
14727         (PRINTF_XEXPR): Likewise.
14728         (PRINTF_NEXPR): Likewise.
14729         (TEST_FLOAT): Likewise.
14730         (TEST_MATHVEC): Likewise.
14731         (__NO_MATH_INLINES): Likewise.
14732         (CNCT): Likewise.
14733         (CONCAT): Likewise.
14734         (WRAPPER_NAME): Likewise.
14735         (WRAPPER_DECL): Likewise.
14736         (WRAPPER_DECL_ff): Likewise.
14737         (WRAPPER_DECL_fFF): Likewise.
14738         (VECTOR_WRAPPER): Likewise.
14739         (VECTOR_WRAPPER_ff): Likewise.
14740         (VECTOR_WRAPPER_fFF): Likewise.
14741         (VEC_LEN): New macro.
14742         * math/test-float-vlen8.h: Include test-float.h,
14743         test-math-no-inline.h and test-math-vector.h.
14744         (FLOAT): Remove macro.
14745         (FUNC): Likewise.
14746         (MATHCONST): Likewise.
14747         (PRINTF_EXPR): Likewise.
14748         (PRINTF_XEXPR): Likewise.
14749         (PRINTF_NEXPR): Likewise.
14750         (TEST_FLOAT): Likewise.
14751         (TEST_MATHVEC): Likewise.
14752         (__NO_MATH_INLINES): Likewise.
14753         (CNCT): Likewise.
14754         (CONCAT): Likewise.
14755         (WRAPPER_NAME): Likewise.
14756         (WRAPPER_DECL): Likewise.
14757         (WRAPPER_DECL_ff): Likewise.
14758         (WRAPPER_DECL_fFF): Likewise.
14759         (VECTOR_WRAPPER): Likewise.
14760         (VECTOR_WRAPPER_ff): Likewise.
14761         (VECTOR_WRAPPER_fFF): Likewise.
14762         (VEC_LEN): New macro.
14763         * math/test-float-vlen16.h: Include test-float.h,
14764         test-math-no-inline.h and test-math-vector.h.
14765         (FLOAT): Remove macro.
14766         (FUNC): Likewise.
14767         (MATHCONST): Likewise.
14768         (PRINTF_EXPR): Likewise.
14769         (PRINTF_XEXPR): Likewise.
14770         (PRINTF_NEXPR): Likewise.
14771         (TEST_FLOAT): Likewise.
14772         (TEST_MATHVEC): Likewise.
14773         (__NO_MATH_INLINES): Likewise.
14774         (CNCT): Likewise.
14775         (CONCAT): Likewise.
14776         (WRAPPER_NAME): Likewise.
14777         (WRAPPER_DECL): Likewise.
14778         (WRAPPER_DECL_ff): Likewise.
14779         (WRAPPER_DECL_fFF): Likewise.
14780         (VECTOR_WRAPPER): Likewise.
14781         (VECTOR_WRAPPER_ff): Likewise.
14782         (VECTOR_WRAPPER_fFF): Likewise.
14783         (VEC_LEN): New macro.
14784         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14785         test-vec-loop.h.
14786         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14787         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14788         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14789         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14794 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14796         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14797         (__getlogin_r): ... this.
14799 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14801         [BZ #18594]
14802         * math/s_ccosh.c (__ccosh): Compare with least normal value
14803         instead of comparing class with FP_SUBNORMAL.
14804         * math/s_ccoshf.c (__ccoshf): Likewise.
14805         * math/s_ccoshl.c (__ccoshl): Likewise.
14806         * math/s_cexp.c (__cexp): Likewise.
14807         * math/s_cexpf.c (__cexpf): Likewise.
14808         * math/s_cexpl.c (__cexpl): Likewise.
14809         * math/s_csin.c (__csin): Likewise.
14810         * math/s_csinf.c (__csinf): Likewise.
14811         * math/s_csinh.c (__csinh): Likewise.
14812         * math/s_csinhf.c (__csinhf): Likewise.
14813         * math/s_csinhl.c (__csinhl): Likewise.
14814         * math/s_csinl.c (__csinl): Likewise.
14815         * math/s_ctan.c (__ctan): Likewise.
14816         * math/s_ctanf.c (__ctanf): Likewise.
14817         * math/s_ctanh.c (__ctanh): Likewise.
14818         * math/s_ctanhf.c (__ctanhf): Likewise.
14819         * math/s_ctanhl.c (__ctanhl): Likewise.
14820         * math/s_ctanl.c (__ctanl): Likewise.
14821         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14822         csin, csinh, ctan and ctanh.
14823         * math/auto-libm-test-out: Regenerated.
14824         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14825         * sysdeps/i386/fpu/libm-test-ulps: Update.
14826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14828 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14830         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14831         return value is wrong, print the expected value too.
14833 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14835         [BZ #18585]
14836         * elf/readlib.c (is_gdb_python_file): New.
14837         (process_file): Don't issue errors on filenames with -gdb.py
14838         suffix.
14840 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14842         * math/auto-libm-test-in: Add more tests of csin and csinh.
14843         * math/auto-libm-test-out: Regenerated.
14844         * math/libm-test.inc (csin_test_data): Remove tests moved to
14845         auto-libm-test-in.
14846         (csinh_test_data): Likewise.
14848         [BZ #18593]
14849         * math/s_csin.c (__csin): Negate before rather than after possibly
14850         overflowing multiplication.
14851         * math/s_csinf.c (__csinf): Likewise.
14852         * math/s_csinh.c (__csinh): Likewise.
14853         * math/s_csinhf.c (__csinhf): Likewise.
14854         * math/s_csinhl.c (__csinhl): Likewise.
14855         * math/s_csinl.c (__csinl): Likewise.
14856         * math/auto-libm-test-in: Add some tests of csin and csinh.
14857         * math/auto-libm-test-out: Regenerated.
14858         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14859         (csinh_test_data): Likewise.
14860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14862         [BZ #18586]
14863         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14864         underflow exception for small results.
14866 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14869         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14870         variable and included header.
14871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14879         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14880         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14881         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14882         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14883         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14884         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14885         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14886         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14888 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14890         [BZ #16526]
14891         [BZ #16538]
14892         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14893         (__sin): Force underflow exception for arguments with small
14894         absolute value.
14895         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14896         (__kernel_sinf): Force underflow exception for arguments with
14897         small absolute value.
14898         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14899         (__kernel_sincosl): Force underflow exception for arguments with
14900         small absolute value.
14901         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14902         (__kernel_sinl): Force underflow exception for arguments with
14903         small absolute value.
14904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14905         (__kernel_sincosl): Force underflow exception for arguments with
14906         small absolute value.
14907         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14908         (__kernel_sinl): Force underflow exception for arguments with
14909         small absolute value.
14910         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14911         (__kernel_sinl): Force underflow exception for arguments with
14912         small absolute value.
14913         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14914         (__kernel_sinf): Force underflow exception for arguments with
14915         small absolute value.
14916         * math/auto-libm-test-in: Add more tests of sin and sincos.
14917         * math/auto-libm-test-out: Regenerated.
14919         [BZ #18245]
14920         [BZ #18583]
14921         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14922         (__kernel_standard_l): Use feholdexcept and fesetenv around
14923         conversion to double instead of special-casing overflow and
14924         underflow.
14925         * math/libm-test.inc (fmod_test_data): Add more tests.
14926         (remainder_test_data): Likewise.
14927         (sqrt_test_data): Likewise.
14929 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14931         [BZ #17403]
14932         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14933         atomic_read_barrier, atomic_write_barrier): Define.
14934         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14935         atomic_read_barrier, atomic_write_barrier): Define.
14937 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14939         * math/Makefile [$(PERL) != no]
14940         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14941         dependency on libm-test.stmp below the inclusion of Rules.
14943 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14945         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14947         and included header.
14948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14956         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14957         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14958         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14959         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14960         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14961         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14962         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14963         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14964         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14965         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14966         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14968 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #18371]
14971         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14972         intermediate but not final result might underflow.
14973         * math/s_csqrtf.c (__csqrtf): Likewise.
14974         * math/s_csqrtl.c (__csqrtl): Likewise.
14975         * math/auto-libm-test-in: Add more tests of csqrt.
14976         * math/auto-libm-test-out: Regenerated.
14977         * sysdeps/i386/fpu/libm-test-ulps: Update.
14979         [BZ #18219]
14980         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14981         threshold on absolute value of exponent for which scaling is used.
14982         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14983         * math/auto-libm-test-in: Add more tests of exp2.
14984         * math/auto-libm-test-out: Regenerated.
14986 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14988         [BZ #17977]
14989         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14990         when initializing interface list, based on the bug analysis
14991         and the patch proposed by Eric Newton.
14992         * resolv/tst-res_hconf_reorder.c: New test.
14993         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14994         tst-res_hconf_reorder.
14995         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14996         and $(shared-thread-library).
14997         (tst-res_hconf_reorder-ENV): New variable.
14999         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15000         in comment.
15002 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15004         [BZ #16353]
15005         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15006         (__expm1): Force underflow exception for arguments with small
15007         absolute value.
15008         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15009         (__expm1f): Force underflow exception for arguments with small
15010         absolute value.
15011         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15012         (__expm1): Force underflow exception for arguments with small
15013         absolute value.
15014         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15015         (__expm1f): Force underflow exception for arguments with small
15016         absolute value.
15017         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15018         Check for small arguments before calling __expm1.
15019         * math/auto-libm-test-in: Do not mark underflow exceptions as
15020         possibly missing for bug 16353.
15021         * math/auto-libm-test-out: Regenerated.
15023 2015-06-22  Andreas Schwab  <schwab@suse.de>
15025         [BZ #18513]
15026         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15027         PTR queries.
15029 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15031         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15033         * string/strcoll_l.c: Remove unused struct element idxnow.
15035 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15037         [BZ #18569]
15038         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15039         underflow and return argument in case of subnormal argument.
15040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15041         Likewise.
15042         * math/auto-libm-test-in: Add more tests of expm1.
15043         * math/auto-libm-test-out: Regenerated.
15045         [BZ #16361]
15046         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15047         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15048         tiny results.
15049         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15050         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15051         tiny results.
15052         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15053         mark underflow exceptions as possibly missing for bug 16361.
15054         * math/auto-libm-test-out: Regenerated.
15056 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15058         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15059         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15060         Remove variable.
15061         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15062         (test-xfail-XOPEN2K8/utmpx.h/conform).
15064         * conform/conformtest.pl ($xerrors): New variable.
15065         (note_error): New function.
15066         (compiletest): New argument $xfail.  Use not_error.
15067         (runtest): Likewise.
15068         (top level): Handle xfail- lines.  Update calls to compiletest and
15069         runtest.  Handle xfail- and optional- in headers listed with
15070         allow-header.
15071         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15072         (O_EXEC): Likewise.
15073         (O_SEARCH): Likewise.
15074         * conform/data/stropts.h-data (ioctl): Likewise.
15075         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15076         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15077         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15078         (msghdr.msg_controllen): Likewise.
15079         (cmsghdr.cmsg_len): Likewise.
15080         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15081         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15082         variable.
15083         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15084         (test-xfail-XPG4/stropts.h/conform): Likewise.
15085         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15086         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15087         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15088         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15089         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15090         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15091         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15092         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15093         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15094         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15095         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15096         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15097         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15098         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15099         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15100         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15101         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15102         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15103         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15105 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15107         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15108         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15109         definitions for proper unfolding of __MATHDECL_VEC.
15111 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15113         * benchtests/bench-strcoll.c:
15114         Include string.h.
15115         (main): Remove unused variable res.
15117 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15119         * timezone/Makefile (%/UTC %/Universal):
15120         Generate test-result files for UTC and Universal.
15122 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15124         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15126 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15128         [BZ #16350]
15129         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15130         for arguments with small absolute value.
15131         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15132         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15133         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15134         (__asinh): Force underflow exception for arguments with small
15135         absolute value.
15136         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15137         (__asinhf): Force underflow exception for arguments with small
15138         absolute value.
15139         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15140         (__asinhl): Force underflow exception for arguments with small
15141         absolute value.
15142         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15143         (__asinhl): Force underflow exception for arguments with small
15144         absolute value.
15145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15146         (__asinhl): Force underflow exception for arguments with small
15147         absolute value.
15148         * math/auto-libm-test-in: Do not mark underflow exceptions as
15149         possibly missing for bug 16350.
15150         * math/auto-libm-test-out: Regenerated.
15152         * include/bits/ipc.h: Remove file.
15153         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15154         variable.
15155         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15156         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15157         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15158         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15159         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15160         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15161         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15162         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15163         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15165         * math/auto-libm-test-in: Remove spurious underflow allowance for
15166         tests of cexp.
15167         * math/auto-libm-test-out: Regenerated.
15169         [BZ #18558]
15170         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15171         unconditional definition.
15172         (MCAST_BLOCK_SOURCE): Likewise.
15173         (MCAST_UNBLOCK_SOURCE): Likewise.
15174         (MCAST_LEAVE_GROUP): Likewise.
15175         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15176         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15177         (MCAST_MSFILTER): Likewise.
15178         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15179         Remove variable.
15180         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15181         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15182         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15183         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15184         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15186 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15188         * NEWS: Mention addition of x86_64 vector sincosf.
15189         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15190         * math/test-float-vlen4.h: Likewise.
15191         * math/test-float-vlen8.h: Likewise.
15192         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15193         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15194         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15195         * sysdeps/x86_64/fpu/Versions: New versions added.
15196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15197         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15198         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15199         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15203         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15205         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15206         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15207         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15208         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15209         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15210         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15211         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15212         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15213         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15214         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15215         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15217         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15218         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15219         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15221         * NEWS: Mention addition of x86_64 vector sincos.
15222         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15223         * math/math.h (__MATHDECL_VEC): New macro.
15224         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15225         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15226         declaration under condition.
15227         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15228         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15229         TEST_VEC_LOOP change.
15230         * math/test-double-vlen4.h: Likewise.
15231         * math/test-double-vlen8.h: Likewise.
15232         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15233         * math/test-float-vlen4.h: Likewise.
15234         * math/test-float-vlen8.h: Likewise.
15235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15236         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15238         * sysdeps/x86_64/fpu/Versions: New versions added.
15239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15241         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15242         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15243         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15248         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15249         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15250         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15251         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15252         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15253         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15254         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15255         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15256         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15257         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15259         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15260         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15261         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15262         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15264         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15265         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15266         redirections for powf.
15267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15268         * sysdeps/x86_64/fpu/Versions: New versions added.
15269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15271         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15272         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15273         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15279         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15280         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15281         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15282         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15283         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15284         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15285         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15286         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15287         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15288         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15291         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15292         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15293         * math/test-float-vlen16.h: Fixed 2 argument macro.
15294         * math/test-float-vlen4.h: Likewise.
15295         * math/test-float-vlen8.h: Likewise.
15296         * NEWS: Mention addition of x86_64 vector powf.
15298 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15300         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15301         and redefine.
15302         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15303         and redefine.
15304         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15305         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15306         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15308         [BZ #18553]
15309         * resource/getpriority.c (getpriority): Rename to __getpriority
15310         and define as weak alias of __getpriority.
15311         * resource/setpriority.c (setpriority): Rename to __setpriority
15312         and define as weak alias of __setpriority.
15313         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15314         __getpriority and define as weak alias of __getpriority.
15315         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15316         __setpriority and define as weak alias of __setpriority.
15317         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15318         strong name.
15319         (setpriority): Use __setpriority as strong name.
15320         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15321         __getpriority and define as weak alias of __getpriority.
15322         * include/sys/resource.h (__getpriority): Declare.  Use
15323         libc_hidden_proto.
15324         (__setpriority): Likewise.
15325         (getpriority): Don't use libc_hidden_proto.
15326         (setpriority): Likewise.
15327         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15328         getpriority.  Call __setpriority instead of setpriority.
15329         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15330         Remove variable.
15332         [BZ #18547]
15333         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15334         as weak alias of __getttynam.  Use prototype function definition.
15335         Call __setttyent, __getttyent and __endttyent instead of
15336         setttyent, getttyent and endttyent.
15337         (getttyent): Rename to __getttyent and define as weak alias of
15338         __getttyent.  Call __setttyent instead of setttyent.  Call
15339         __fgets_unlocked instead of fgets_unlocked.
15340         (setttyent): Rename to __setttyent and define as weak alias of
15341         __setttyent.
15342         (endttyent): Rename to __endttyent and define as weak alias of
15343         __endttyent.
15344         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15345         (__setttyent): Likewise.
15346         (__endttyent): Likewise.
15347         (getttyent): Don't use libc_hidden_proto.
15348         (setttyent): Likewise.
15349         (endttyent): Likewise.
15350         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15351         __endttyent instead of setttyent, getttyent and endttyent.
15352         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15353         Remove variable.
15355         [BZ #18546]
15356         * socket/recv.c (__recv): Use libc_hidden_def.
15357         * socket/socket.c (__socket): Likewise.
15358         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15359         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15360         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15361         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15362         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15363         libc_hidden_def.
15364         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15365         libc_hidden_weak.
15366         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15367         Use libc_hidden_proto.
15368         (__recv): Likewise.
15369         * socket/Versions (libc): Export __recv and __socket at version
15370         GLIBC_PRIVATE.
15371         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15372         instead of recv.
15373         (init_mq_netlink): Call __socket instead of socket.
15374         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15375         Remove variable.
15377         [BZ #18545]
15378         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15379         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15380         hidden_weak.
15381         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15382         define as alias of __mq_timedsend.  Use hidden_weak.
15383         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15384         __mq_timedsend as strong name.
15385         (mq_timedreceive): Use __mq_timedreceive as strong name.
15386         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15387         (__mq_timedreceive): Likewise.
15388         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15389         __mq_timedreceive instead of mq_timedreceive.
15390         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15391         instead of mq_timedsend.
15392         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15393         Remove variable.
15395         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15396         hidden_def and hidden_weak instead of libc_hidden_def and
15397         libc_hidden_weak.
15398         (top level): Refer to hidden_def in comment.
15399         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15400         macro.  Use it instead of libc_hidden_def.
15401         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15402         specify __GI_* name explicitly.
15403         (mq_timedreceive): Likewise.
15404         (mq_setattr): Likewise.
15406         [BZ #18544]
15407         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15408         __pthread_barrier_init and define as weak alias of
15409         __pthread_barrier_init.
15410         * sysdeps/sparc/nptl/pthread_barrier_init.c
15411         (pthread_barrier_init): Likewise.
15412         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15413         __pthread_barrier_wait and define as weak alias of
15414         __pthread_barrier_wait.
15415         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15416         (pthread_barrier_wait): Likewise.
15417         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15418         (pthread_barrier_wait): Likewise.
15419         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15420         (pthread_barrier_wait): Likewise.
15421         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15422         (pthread_barrier_wait): Likewise.
15423         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15424         __pthread_barrier_wait at version GLIBC_PRIVATE.
15425         * include/pthread.h (__pthread_barrier_init): Declare.
15426         (__pthread_barrier_wait): Likewise.
15427         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15428         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15429         (helper_thread): Likewise.
15430         (init_mq_netlink): Call __pthread_barrier_init instead of
15431         pthread_barrier_init.
15433         [BZ #18542]
15434         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15435         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15436         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15437         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15438         vswscanf.
15439         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15440         Remove variable.
15442         [BZ #18540]
15443         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15444         strong alias of _IO_fflush.  Use libc_hidden_def.
15445         * libio/iofflush_u.c (fflush_unlocked): Rename to
15446         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15447         Use libc_hidden_weak.
15448         * include/stdio.h (__fflush_unlocked): Declare.  Use
15449         libc_hidden_proto.
15450         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15451         fflush_unlocked.
15452         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15453         Remove variable.
15455         [BZ #18539]
15456         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15457         define as weak alias of __addseverity.
15458         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15459         Remove variable.
15460         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15461         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15462         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15464         [BZ #18536]
15465         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15466         (__tfind): Likewise.
15467         (__tdelete): Likewise.
15468         (__twalk): Likewise.
15469         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15470         __twalk to GLIBC_PRIVATE.
15471         * include/search.h (__tsearch): Use libc_hidden_proto.
15472         (__tfind): Likewise.
15473         (__tdelete): Likewise.
15474         (__twalk): Likewise.
15475         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15476         Call __tdelete instead of tdelete.
15477         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15478         tfind.  Call __tsearch instead of tsearch.
15479         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15480         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15481         Remove variable.
15482         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15484         [BZ #18534]
15485         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15486         (dprintf): Define as a weak alias of __dprintf, not a strong
15487         alias.
15488         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15489         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15490         dprintf.
15491         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15492         Remove variable.
15493         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15494         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15496         [BZ #18533]
15497         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15498         not a strong alias.
15499         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15500         Remove variable.
15502         [BZ #18532]
15503         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15504         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15505         (in6addr_loopback): Rename to __in6addr_loopback and define as
15506         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15507         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15508         libc_hidden_proto.
15509         (__in6addr_any): Likewise.
15510         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15511         in6addr_any.
15512         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15513         variable.
15514         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15516 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15518         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15519         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15520         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15521         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15522         redirections for pow.
15523         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15524         * sysdeps/x86_64/fpu/Versions: New versions added.
15525         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15527         build of SSE, AVX2 and AVX512 IFUNC versions.
15528         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15535         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15536         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15537         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15538         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15539         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15540         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15541         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15542         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15543         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15545         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15546         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15547         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15548         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15549         * NEWS: Mention addition of x86_64 vector pow.
15551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15553         redirections for expf.
15554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15555         * sysdeps/x86_64/fpu/Versions: New versions added.
15556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15558         build of SSE, AVX2 and AVX512 IFUNC versions.
15559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15565         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15566         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15567         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15568         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15569         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15570         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15571         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15572         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15573         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15574         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15577         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15578         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15579         * NEWS: Mention addition of x86_64 vector expf.
15581         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15582         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15585         redirections for exp.
15586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15587         * sysdeps/x86_64/fpu/Versions: New versions added.
15588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15590         build of SSE, AVX2 and AVX512 IFUNC versions.
15591         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15592         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15594         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15595         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15596         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15597         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15598         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15599         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15600         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15601         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15602         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15603         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15604         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15607         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15608         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15609         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15610         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15611         * NEWS: Mention addition of x86_64 vector exp.
15613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15614         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15615         redirections for logf.
15616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15617         * sysdeps/x86_64/fpu/Versions: New versions added.
15618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15619         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15620         build of SSE, AVX2 and AVX512 IFUNC versions.
15621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15627         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15628         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15629         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15630         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15631         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15632         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15633         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15634         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15635         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15636         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15638         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15639         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15640         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15641         * NEWS: Mention addition of x86_64 vector logf.
15643         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15644         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15647         redirections for log.
15648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15649         * sysdeps/x86_64/fpu/Versions: New versions added.
15650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15652         build of SSE, AVX2 and AVX512 IFUNC versions.
15653         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15654         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15655         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15656         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15657         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15658         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15659         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15660         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15661         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15662         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15663         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15664         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15665         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15666         test.
15667         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15668         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15669         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15670         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15671         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15672         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15673         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15674         * NEWS: Mention addition of x86_64 vector log.
15676 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15678         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15679         cfi_adjust_cfa_offset argument.
15680         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15681         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15683         [BZ #18034]
15684         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15685         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15686         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15687         ordering using ldar.
15688         (_dl_tlsdesc_dynamic): Likewise.
15689         (_dl_tlsdesc_return_lazy): Likewise.
15690         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15691         relaxed atomics instead of volatile and synchronize with release store.
15692         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15693         volatile.
15694         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15696 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15698         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15699         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15700         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15701         * sysdeps/x86_64/fpu/Versions: New versions added.
15702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15703         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15704         build of SSE, AVX2 and AVX512 IFUNC versions.
15705         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15711         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15712         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15713         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15714         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15715         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15716         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15717         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15718         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15719         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15720         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15722         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15723         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15724         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15725         * NEWS: Mention addition of x86_64 vector sinf.
15727 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15729         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15730         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15731         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15732         Remove variable.
15733         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15734         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15736 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15738         [BZ #18530]
15739         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15740         strong alias of _IO_fputs.  Use libc_hidden_def.
15741         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15742         and define as weak alias of __fputs_unlocked.  Use
15743         libc_hidden_weak.
15744         * include/stdio.h (__fputs_unlocked): Declare.  Use
15745         libc_hidden_proto.
15746         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15747         fputs_unlocked.
15749         [BZ #18529]
15750         * resolv/netdb.h [__USE_POSIX]: Change condition to
15751         [__USE_XOPEN2K].
15752         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15753         not expect.
15754         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15755         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15756         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15757         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15758         [XPG4 || UNIX98] (AI_ALL): Likewise.
15759         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15760         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15761         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15762         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15763         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15764         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15765         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15766         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15767         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15768         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15769         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15770         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15771         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15772         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15773         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15774         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15775         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15776         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15777         [XPG4 || UNIX98] (gai_strerror): Likewise.
15778         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15779         [XPG4 || UNIX98] (getnameinfo): Likewise.
15781         [BZ #18528]
15782         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15783         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15784         __USE_XOPEN2K8].
15785         (getgrent): Likewise.
15786         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15787         expect.
15788         [XPG3 || POSIX2008] (endgrent): Likewise.
15789         [XPG3] (setgrent): Likewise.
15790         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15791         variable.
15792         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15794         [BZ #18527]
15795         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15796         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15797         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15798         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15799         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15800         * include/unistd.h (__getlogin_r): Declare.  Use
15801         libc_hidden_proto.
15802         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15803         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15804         variable.
15805         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15806         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15807         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15809 2015-06-12  Martin Sebor  <msebor@redhat.com>
15811         [BZ #18512]
15812         * Makerules (check-install-supported): New target.
15813         (install): Add check-install-supported as a dependency.
15814         * manual/install.texi (Installing the C Library): Document
15815         that overriding prefix and exec_prefix is not supported.
15816         Mention DESTDIR.
15817         * INSTALL: Regenerate from the above.
15819 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15821         [BZ #18519]
15822         * posix/Versions (libc): Export __libc_pread at version
15823         GLIBC_PRIVATE.
15824         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15825         instead of pread.
15826         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15827         variable.
15829         [BZ #18522]
15830         * misc/efgcvt_r.c
15831         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15832         (cvt_symbol): Use weak_alias instead of strong_alias.
15833         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15834         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15835         Remove variable.
15836         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15837         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15839         [BZ #18520]
15840         * inet/herrno.c (h_errno): Rename to __h_errno.
15841         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15842         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15843         to __h_errno instead of h_errno.
15844         * nptl/herrno.c (h_errno): Rename to __h_errno.
15845         (__h_errno_location): Refer to __h_errno not h_errno.
15846         * resolv/Versions (h_errno): Rename to __h_errno.
15847         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15848         Remove variable.
15849         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15851 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15853         * configure.ac: More strict check for AVX512 assembler support.
15854         * configure: Regenerated.
15856         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15857         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15858         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15859         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15860         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15861         * sysdeps/x86_64/fpu/Versions: New versions added.
15862         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15863         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15864         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15868         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15871         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15872         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15873         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15874         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15875         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15876         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15877         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15878         test.
15879         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15880         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15882         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15883         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15884         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15885         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15886         * NEWS: Mention addition of x86_64 vector sin.
15888 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15890         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15891         comment.
15893 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15895         [BZ #18479]
15896         * nptl/pt-interp.c: New file.
15897         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15898         Add pt-interp.
15899         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15900         $(common-objpfx)runtime-linker.h.
15902 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15904         * Makeconfig (+interp): Remove unused variable.
15905         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15906         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15907         $(elf-objpfx)runtime-linker.h.
15908         ($(elf-objpfx)runtime-linker.h): Rename to
15909         $(common-objpfx)runtime-linker.h and move ...
15910         * Makerules [$(build-shared) = yes]: ... here.
15911         * elf/interp.c: Include <runtime-linker.h> instead of
15912         <elf/runtime-linker.h>.
15914 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15916         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15917         (__gettimeofday_syscall): Remove vsyscall fallback.
15918         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15919         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15920         Add syscall fallback function.
15921         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15922         if vDSO is not present.
15923         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15924         fallback function.
15925         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15926         present.
15927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15928         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15930 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15932         [BZ #18497]
15933         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15934         of wcscmp.
15935         (wcscmp): Define as weak alias of WCSCMP.
15936         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15937         wcscoll.
15938         (USE_HIDDEN_DEF): Define.
15939         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15940         __wcscoll.  Don't use libc_hidden_weak.
15941         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15942         wcscmp.
15943         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15944         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15945         __GI_wcscmp.
15946         (weak_alias): Undefine and redefine.
15947         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15948         __wcscmp and define as weak alias of __wcscmp.
15949         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15950         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15951         (__wcscoll): Likewise.
15952         (wcscmp): Don't use libc_hidden_proto.
15953         (wcscoll): Likewise.
15954         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15955         wcscoll.
15956         * posix/regexec.c (check_node_accept_bytes): Likewise.
15957         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15958         variable.
15959         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15960         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15962         [BZ #18507]
15963         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15964         __fstatvfs and define as weak alias of __fstatvfs.  Use
15965         libc_hidden_weak.
15966         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15967         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15968         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15969         Define as alias of __fstatvfs, not fstatvfs.
15970         (fstatvfs64): Likewise.
15971         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15972         Define as alias of __statvfs, not statvfs.
15973         (statvfs64): Likewise.
15974         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15975         Remove variable.
15977 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15980         (HAVE_GETCPU_VSYSCALL): Define.
15981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15982         (HAVE_GETCPU_VSYSCALL): Likewise.
15983         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15984         * sysdeps/unix/sysv/linux/sched_getcpu.c
15985         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15986         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15987         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15988         prototype.
15989         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15990         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15993         Define.
15994         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15995         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15996         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15997         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15999 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16001         * sysdeps/x86_64/fpu/Makefile: New file.
16002         * sysdeps/x86_64/fpu/Versions: New file.
16003         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16004         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16005         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16006         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16007         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16008         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16009         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16017         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16018         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16019         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16020         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16021         * sysdeps/x86_64/configure: Regenerated.
16022         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16023         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16024         * manual/install.texi (Configuring and compiling): Document
16025         --disable-mathvec.
16026         * INSTALL: Regenerated.
16027         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16029         * math/Makefile: Added rules for vector tests.
16030         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16031         declaration under condition.
16032         * math/test-double-vlen2.h: New file.
16033         * math/test-double-vlen4.h: New file.
16034         * math/test-double-vlen8.h: New file.
16035         * math/test-vec-loop.h: Added initialization macro.
16036         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16038         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16039         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16040         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16041         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16043         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16044         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16045         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16046         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16049         * sysdeps/x86_64/fpu/Versions: New versions added.
16050         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16051         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16053         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16054         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16055         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16057         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16058         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16059         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16060         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16061         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16062         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16063         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16064         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16066         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16067         * NEWS: Mention addition of x86_64 vector cosf.
16069         * math/Makefile: Added CFLAGS for new tests.
16070         * math/test-float-vlen16.h: New file.
16071         * math/test-float-vlen4.h: New file.
16072         * math/test-float-vlen8.h: New file.
16073         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16074         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16076         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16077         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16078         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16079         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16081         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16082         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16083         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16085 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16087         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16088         * locale/programs/ld-ctype.c: Likewise.
16090 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16092         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16093         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16094         bit_ZMM16_31_state): New macro.
16095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16096         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16098 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16100         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16102 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16104         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16106 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16108         [BZ #18498]
16109         * libio/memstream.c (open_memstream): Rename to __open_memstream
16110         and define as weak alias of __open_memstream.
16111         * include/stdio.h (__open_memstream): Declare.  Use
16112         libc_hidden_proto.
16113         (open_memstream): Don't use libc_hidden_proto.
16114         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16115         open_memstream.
16116         * posix/getopt.c (_getopt_internal_r): Likewise.
16117         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16118         variable.
16119         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16120         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16121         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16123         [BZ #18496]
16124         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16125         instead of wcrtomb.
16127         [BZ #18483]
16128         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16129         [__USE_XOPEN2K8].  Remove redundant #endif.
16130         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16131         Remove redundant #if.
16132         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16133         Remove variable.
16134         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16135         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16137         [BZ #18495]
16138         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16139         (__iswlower): Likewise.
16140         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16141         (__iswlower): Likewise.
16142         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16143         instead of towlower.
16144         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16145         instead of iswlower.  Call __towupper instead of towupper.
16146         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16147         instead of iswalnum.
16149 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16151         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16152         errors to stderr.
16154 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16156         [BZ #15661]
16157         [BZ #17322]
16158         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16159         Check for overflow properly.  Check for O_APPEND.  Ignore large
16160         file system block sizes.  Add comments about problems.
16161         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16162         * manual/filesys.texi (Storage Allocation): New node.
16164 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16166         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16167         cancellable syscalls.
16168         (SYS_ify): Add guard to no redefine it.
16169         (INLINE_SYSCALL): Likewise.
16170         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16171         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16172         SYSCALL_CANCEL instead.
16173         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16174         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16175         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16176         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16177         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16178         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16179         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16180         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16181         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16182         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16183         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16184         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16185         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16186         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16187         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16189         Likewise.
16190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16191         (__libc_pread64): Likewise.
16192         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16193         (__libc_preadv): Likewise.
16194         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16195         (__libc_readv64): Likewise.
16196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16197         (__libc_pwrite): Likewise.
16198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16199         (__libc_pwrite64): Likewise.
16200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16201         (__libc_pwritev): Likewise.
16202         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16203         (__libc_pwritev64): Likewise.
16204         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16205         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16206         (sync_file_range): Likewise.
16207         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16208         Likewise.
16209         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16210         Likewise.
16211         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16212         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16213         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16214         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16215         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16216         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16217         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16218         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16220         Likewise.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16222         (__libc_read64): Likewise.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16224         Likewise.
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16226         Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16228         Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16230         Likewise.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16232         (__libc_pread64): Likewise.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16234         Likewise.
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16236         (__libc_pwrite64): Likewise.
16237         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16238         (sync_file_range): Likewise.
16239         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16240         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16241         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16242         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16243         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16244         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16245         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16246         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16247         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16248         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16249         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16250         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16251         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16252         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16253         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16254         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16255         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16256         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16257         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16258         Likewise.
16259         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16260         Likewise.
16261         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16262         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16263         Likewise.
16264         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16265         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16266         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16267         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16268         Likewise.
16269         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16270         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16271         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16272         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16273         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16275 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16277         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16278         Include dl-vdso.
16279         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16280         Use VDSO routines for gettimeofday, clock_gettime if
16281         available.
16282         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16283         Declare VDSO symbols.
16284         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16285         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16286         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16287         * sysdeps/unix/sysv/linux/arm/Versions: Add
16288         __vdso_clock_gettime.
16290 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16292         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16293         be an inline implementation regardless of library is built within.
16294         (open_not_cancel_2): Likewise.
16295         (__read_nocancel): Likewise.
16296         (__write_nocancel): Likewise.
16297         (openat_not_cancel): Likewise.
16298         (openat_not_cancel_3): Likewise.
16299         (openat64_not_cancel): Likewise.
16300         (openat64_not_cancel_3): Likewise.
16301         (__close_nocancel): Likewise.
16302         (pause_not_cancel): Likewise.
16303         (nanosleep_not_cancel): Likewise.
16304         (sigsuspend_not_cancel): Likewise.
16306 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16308         [BZ #14958]
16309         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16310         wake-up.
16311         (__pthread_rwlock_rdlock_slow): Likewise.
16312         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16313         Likewise.
16314         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16315         Likewise.
16316         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16317         * nptl/tst-rwlock16.c: New file.
16318         * nptl/Makefile (tests): Add new test.
16320 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16322         [BZ #18324]
16323         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16324         missing wake-up of readers.
16325         * nptl/tst-rwlock15.c: New file.
16326         * nptl/Makefile (tests): Add new test.
16328 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16330         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16331         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16332         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16333         and __nacl_supply_interface_rtld.
16334         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16335         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16336         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16337         Add __nacl_supply_interface_rtld.
16338         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16340 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16342         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16343         isfinite.
16344         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16345         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16347 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16349         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16350         __signbit* with standard C99 macros.
16351         * math/e_exp10l.c: Likewise.
16352         * math/e_exp2l.c: Likewise.
16353         * math/e_scalb.c: Likewise.
16354         * math/e_scalbf.c: Likewise.
16355         * math/e_scalbl.c: Likewise.
16356         * math/s_ldexp.c: Likewise.
16357         * math/s_ldexpf.c: Likewise.
16358         * math/s_ldexpl.c: Likewise.
16359         * math/w_atan2.c: Likewise.
16360         * math/w_atan2f.c: Likewise.
16361         * math/w_atan2l.c: Likewise.
16362         * math/w_cosh.c: Likewise.
16363         * math/w_coshf.c: Likewise.
16364         * math/w_coshl.c: Likewise.
16365         * math/w_exp10.c: Likewise.
16366         * math/w_exp10f.c: Likewise.
16367         * math/w_exp10l.c: Likewise.
16368         * math/w_exp2.c: Likewise.
16369         * math/w_exp2f.c: Likewise.
16370         * math/w_exp2l.c: Likewise.
16371         * math/w_fmod.c: Likewise.
16372         * math/w_fmodf.c: Likewise.
16373         * math/w_fmodl.c: Likewise.
16374         * math/w_hypot.c: Likewise.
16375         * math/w_hypotf.c: Likewise.
16376         * math/w_hypotl.c: Likewise.
16377         * math/w_jnl.c: Likewise.
16378         * math/w_lgamma.c: Likewise.
16379         * math/w_lgamma_r.c: Likewise.
16380         * math/w_lgammaf.c: Likewise.
16381         * math/w_lgammaf_r.c: Likewise.
16382         * math/w_lgammal.c: Likewise.
16383         * math/w_lgammal_r.c: Likewise.
16384         * math/w_pow.c: Likewise.
16385         * math/w_powf.c: Likewise.
16386         * math/w_powl.c: Likewise.
16387         * math/w_remainder.c: Likewise.
16388         * math/w_remainderf.c: Likewise.
16389         * math/w_remainderl.c: Likewise.
16390         * math/w_scalb.c: Likewise.
16391         * math/w_scalbf.c: Likewise.
16392         * math/w_scalbl.c: Likewise.
16393         * math/w_scalbln.c: Likewise.
16394         * math/w_scalblnf.c: Likewise.
16395         * math/w_scalblnl.c: Likewise.
16396         * math/w_sinh.c: Likewise.
16397         * math/w_sinhf.c: Likewise.
16398         * math/w_sinhl.c: Likewise.
16399         * math/w_tgamma.c: Likewise.
16400         * math/w_tgammaf.c: Likewise.
16401         * math/w_tgammal.c: Likewise.
16402         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16403         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16404         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16405         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16406         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16407         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16408         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16409         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16410         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16411         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16412         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16413         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16414         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16415         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16417         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16419         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16420         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16422         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16423         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16424         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16425         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16426         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16427         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16428         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16429         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16430         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16431         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16432         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16433         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16434         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16435         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16436         * stdio-common/printf_fp.c: Likewise.
16437         * stdio-common/printf_fphex.c: Likewise.
16438         * stdio-common/printf_size.c: Likewise.
16440 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #18470]
16443         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16444         strnlen.
16445         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16446         Remove variable.
16447         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16448         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16449         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16450         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16451         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16452         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16453         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16454         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16455         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16456         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16458         [BZ #18468]
16459         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16460         weak alias of __wmemchr.  Use libc_hidden_weak.
16461         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16462         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16463         instead of wmemchr.
16465 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16467         [BZ #18383]
16468         * elf/tst-tlsalign-extern.c: New file.
16469         * elf/tst-tlsalign-extern-static.c: New file.
16470         * elf/tst-tlsalign-vars.c: New file.
16471         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16472         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16473         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16474         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16475         (test-xfail-tst-tlsalign-extern-static): New variable.
16477 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16479         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16480         Use variable name _sc_err instead of err.
16481         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16482         instead of ret.
16483         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16484         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16485         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16486         (INLINE_SYSCALL): Likewise.
16488         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16489         * include/string.h (__strnlen): Use libc_hidden_proto.
16490         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16491         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16492         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16493         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16494         (libc_hidden_def): Undefine and redefine.
16495         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16496         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16497         __GI_strnlen.
16498         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16499         libc_hidden_def.
16500         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16502         [BZ #18469]
16503         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16504         weak alias of __towlower.  Use libc_hidden_weak.
16505         (towupper): Rename to __towupper and define as weak alias of
16506         __towupper.  Use libc_hidden_weak.
16507         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16508         (__towupper): Likewise.
16509         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16510         __towlower instead of towlower.
16512 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16514         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16515         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16517 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16519         * sysdeps/aarch64/libm-test-ulps: Update.
16521 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16523         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16524         Define.
16525         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16527         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16528         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16529         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16530         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16531         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16533 2015-06-01  Martin Sebor  <msebor@redhat.com>
16535         [BZ #18116]
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16537         (__setcontext): Use extended four-operand version of mtsf whenever
16538         possible.
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16540         (__novec_swapcontext): Likewise.
16542 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16544         * benchtests/scripts/compare_bench.py: New file.
16545         * benchtests/scripts/import_bench.py (mean): New function.
16546         (split_list): Likewise.
16547         (do_for_all_timings): Likewise.
16548         (compress_timings): Likewise.
16550         * benchtests/scripts/import_bench.py: New file.
16551         * benchtests/scripts/validate_benchout.py: Import import_bench
16552         instead of jsonschema.
16553         (validate_bench): Remove function.
16554         (main): Use import_bench.
16556 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16558         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16559         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16561 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16565 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16567         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16568         set THREAD_SELF->tid to a magic value and futex-wake it.
16569         Pass its address to the thread_exit system call.
16570         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16571         bit is clear.
16572         * sysdeps/nacl/lowlevellock.h: New file.
16573         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16575         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16576         Add TIMEOUT to current time, don't subtract it.
16578 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16580         [BZ #2981]
16581         [BZ #18422]
16582         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16583         ($(objpfx)tst-audit2.out): Also depend on
16584         $(objpfx)tst-auditmod9b.so.
16585         * elf/tst-audit2.c: Include <dlfcn.h>.
16586         (calloc_called): New.
16587         (calloc): Allow to be called more than once.
16588         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16590 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16592         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16593         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16595 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16597         * stdlib/monetary.h: Fix comment.
16599 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16601         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16602         Avoid using variables in #defines that might cause shadowing.
16603         (INTERNAL_VSYSCALL_CALL): Likewise.
16605 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16607         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16609         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16610         * nptl/lll_timedlock_wait.c: ... to this new file.
16611         * nptl/Makefile (libpthread-routines): Add it.
16612         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16613         * nptl/lll_timedwait_tid.c: ... to this new file.
16614         * nptl/Makefile (libpthread-routines): Add it.
16615         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16616         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16617         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16618         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16619         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16620         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16621         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16622         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16623         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16624         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16626 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16628         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16629         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16630         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16632         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16634         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16636         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16637         * sysdeps/unix/sysv/linux/tile/sysdep.h
16638         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16639         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16640         using vDSO syscall macro.
16642 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16644         [BZ #17293]
16645         * uk_UA: Fix sorting order for Ukrainian locale
16647 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16649         * stdlib/monetary.h: Fix comment.
16651 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16653         [BZ #18234]
16654         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16655         st_mtim and st_ctim members.
16656         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16657         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16658         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16659         (struct stat64): Likewise.
16660         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16661         (struct stat64): Likewise.
16662         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16663         (struct stat64): Likewise.
16665 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16667         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16668         Define and include sysdep-vdso.h.
16669         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16670         Likewise.
16671         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16672         Likewise.
16673         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16674         Define with VDSO_SYMBOL and use PTR_MANGLE.
16675         (__vdso_clock_gettime): Likewise.
16676         (__vdso_clock_getres): Likewise.
16677         (_libc_vdso_platform_setup): Likewise.
16678         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16679         Likewise.
16680         (_libc_vdso_platform_setup): Likewise.
16681         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16682         Likewise.
16683         (__vdso_clock_gettime): Likewise.
16684         (__vdso_clock_getres): Likewise.
16685         (__vdso_get_tbfreq): Likewise.
16686         (__vdso_getcpu): Likewise.
16687         (__vdso_time): Likewise.
16688         (__vdso_sigtramp_rt64): Likewise.
16689         (__vdso_signtramp32): Likewise.
16690         (__vdso_sigtramp_rt32): Likewise.
16691         (_libc_vdso_platform_setup): Likewise.
16692         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16693         Likewise.
16694         (__vdso_clock_gettime): Likewise.
16695         (__vdso_clock_getres): Likewise.
16696         (_libc_vdso_platform_setup): Likewise.
16697         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16698         Likewise.
16699         (__vdso_clock_gettime): Likewise.
16700         (_libc_vdso_platform_setup): Likewise.
16701         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16702         Likewise.
16703         (__vdso_getcpu): Likewise.
16704         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16705         Use VDSO_SYMBOL macro to define.
16706         (__vdso_clock_gettime): Likewise.
16707         (__vdso_clock_getres): Likewise.
16708         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16709         Likewise.
16710         (__vdso_clock_gettime): Likewise.
16711         (__vdso_clock_getres): Likewise.
16712         (__vdso_get_tbfreq): Likewise.
16713         (__vdso_getcpu): Likewise.
16714         (__vdso_time): Likewise.
16715         (__vdso_sigtramp_rt64): Likewise.
16716         (__vdso_signtramp32): Likewise.
16717         (__vdso_sigtramp_rt32): Likewise.
16718         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16719         Likewise.
16720         (__vdso_clock_gettime): Likewise.
16721         (__vdso_clock_getres): Likewise.
16722         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16723         Likewise.
16724         (__vdso_clock_gettime): Likewise.
16725         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16726         Likewise.
16727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16728         macro.
16729         (INTERNAL_VSYSCALL): Likewise.
16730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16731         Remove macro.
16732         (INTERNAL_VSYSCALL): Likewise.
16733         (INTERNAL_VSYSCALL_NCS): Likewise.
16734         (INTERNAL_VSYSCALL_CALL): New macro.
16735         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16736         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16737         Likewise.
16738         (INTERNAL_VSYSCALL): Likewise.
16739         (INTERNAL_VSYSCALL_NCS): Likewise.
16740         (INTERNAL_VSYSCALL_CALL): New macro.
16741         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16743         (INLINE_VSYSCALL): Remove macro.
16744         (INTERNAL_VSYSCALL): Remove macro.
16745         (INTERNAL_VSYSCALL_NCS): Remove macro.
16746         (INTERNAL_VSYSCALL_CALL): New macro.
16747         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16748         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16749         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16750         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16751         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16753         (INLINE_VSYSCALL): Remove macro.
16754         (INTERNAL_VSYSCALL): Likewise.
16755         (INTERNAL_VSYSCALL_NCS): Likewise.
16756         (INTERNAL_VSYSCALL_CALL): New macro.
16757         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16758         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16759         PTR_DEMANGLE on vDSO pointer.
16760         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16761         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16762         macro.
16763         (INTERNAL_SYSCALL): Likewise.
16764         (INTERNAL_VSYSCALL_NCS): Remove macro.
16765         (INTERNAL_VSYSCALL_CALL): New macro.
16766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16767         Remove macro.
16768         (INTERNAL_VSYSCALL): Likewise.
16769         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16770         sysdep-vdso.h instead of libc-vdso.h.
16771         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16772         definition.
16773         (INLINE_VSYSCALL): Likewise.
16774         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16775         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16776         definition.
16777         (INLINE_VSYSCALL): Likewise.
16778         (INTERNAL_VSYSCALL): Likewise.
16779         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16780         * sysdeps/unix/sysv/linux/timespec_get.c
16781         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16782         (timespec_get): Use ANSI prototype.
16783         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16784         and definition for Linux.
16786 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16788         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16789         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16791 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16793         [BZ #2981]
16794         [BZ #18410]
16795         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16796         for missing DT_PLTRELSZ.
16798 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16800         Remove obsolete aliases that broke 'locale -a'
16801         [BZ #18412]
16802         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16803         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16804         breaking some applications that use 'locale -a' output.
16805         Change the encoding of this file from Latin-1 to ASCII to avoid
16806         other potential problems with people grepping this file.
16808 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16810         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16811         -fasynchronous-unwind-tables.
16812         (CFLAGS-sendto.c): Likewise.
16813         (CFLAGS-sendmsg.c): Likewise.
16814         (CFLAGS-connect.c): Likewise.
16815         (CFLAGS-recvmsg.c): Likewise.
16816         (CFLAGS-recvfrom.c): Likewise.
16817         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16818         (SOCKETCALL): New macro: non-cancellable socketcall.
16819         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16820         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16821         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16822         * sysdeps/unix/sysv/linux/accept.c: New file.
16823         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16824         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16825         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16826         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16827         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16828         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16829         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16830         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16831         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16832         * sysdeps/unix/sysv/linux/send.c: Likewise.
16833         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16834         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16835         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16836         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16837         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16838         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16839         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16840         prototype.
16841         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16842         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16843         instead of __internal_xxx function.
16844         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16845         prototype.
16846         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16847         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16848         instead of __internal_xxx function.
16849         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16850         prototype.
16851         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16852         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16853         instead of __internal_xxx function.
16854         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16855         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16856         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16857         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16858         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16859         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16860         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16861         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16862         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16863         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16864         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16865         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16866         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16867         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16868         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16869         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16870         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16871         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16872         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16873         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16876         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16877         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16878         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16879         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16880         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16881         * sysdeps/unix/sysv/linux/send.S: Likewise.
16882         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16883         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16884         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16885         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16886         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16887         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16889         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16890         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16891         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16892         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16893         socketcall is implemented in GLIBC.
16895 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16897         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16898         (__fma): Ignore uninitialized warnings around packing.
16899         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16900         (__fmaf): Ignore uninitialized warnings around packing.
16901         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16902         (__fmal): Ignore uninitialized warnings around packing.
16904         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16905         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16906         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16907         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16909         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16910         switch statement into default case.
16911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16913         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16914         a conditional in forcing "inexact".
16915         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16916         Likewise.
16918 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16920         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16921         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16922         for each INTERNAL_SYSCALL use.
16924 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16926         [BZ #438]
16927         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16928         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16929         variable.
16931         [BZ #18444]
16932         * string/basename.c (basename): Rename to __basename and define as
16933         weak alias of __basename.  Use libc_hidden_weak.
16934         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16935         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16936         __basename instead of basename.
16937         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16938         Remove variable.
16939         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16941 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16943         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16944         (_IO_JUMPS_FILE_plus): New.
16945         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16946         _IO_CAST_FIELD_ACCESS.
16947         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16948         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16949         * libio/freopen.c (freopen): Likewise.
16950         * libio/freopen64.c (freopen64): Likewise.
16951         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16952         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16953         * libio/iofwide.c (_IO_fwide): Likewise.
16954         * libio/memstream.c (open_memstream): Likewise.
16955         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16956         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16957         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16959 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16961         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16962         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16963         NADJ.
16964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16965         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16966         NADJ.
16967         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16968         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16969         NADJ.
16971         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16972         (p == 4) case.
16974         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16975         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16976         Remove variable.
16977         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16978         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16979         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16981 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16983         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16984         Adjust jump table label generation macros.
16986 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16988         * stdio-common/vfprintf.c (vfprintf): Move local variables
16989         args_malloced, specs, specs_malloced, and the code after
16990         do_positional to the printf_positional function.
16991         (printf_positional): New function.
16993 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16995         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16996         function.
16997         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16998         STEP4_TABLE, process_arg): Move macro definitions
16999         out of the vfprintf function.  (Cosmetic change only.)
17001 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17003         * benchtests/Makefile (stdio-common-bench): Define.
17004         (benchset): Add stdio-common-bench.
17005         * sprintf-inputs: New file.
17006         * sprintf-source.c: New file.
17008 2015-05-21  Andreas Schwab  <schwab@suse.de>
17010         [BZ #13028]
17011         [BZ #17053]
17012         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17013         of struct __res_state.
17014         * resolv/res_send.c (__libc_res_nsend): Likewise.
17015         (get_nsaddr): New function.
17016         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17017         statp directly.
17019 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17021         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17022         -D_POSIX_C_SOURCE=199506L.
17024         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17026         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17027         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17028         Do not mention otherwise.
17029         [POSIX] (_XOPEN_VERSION): Do not expect.
17030         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17031         [POSIX] (_POSIX2_C_BIND): Likewise.
17032         [POSIX] (_POSIX2_VERSION): Likewise.
17033         [POSIX] (_XOPEN_XPG2): Likewise.
17034         [POSIX] (_XOPEN_XPG3): Likewise.
17035         [POSIX] (_XOPEN_XPG4): Likewise.
17036         [POSIX] (_XOPEN_UNIX): Likewise.
17037         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17038         [POSIX] (_POSIX_BARRIERS): Likewise.
17039         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17040         [POSIX] (_POSIX_CPUTIME): Likewise.
17041         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17042         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17043         [POSIX] (_POSIX_SHELL): Likewise.
17044         [POSIX] (_POSIX_SPAWN): Likewise.
17045         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17046         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17047         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17048         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17049         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17050         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17051         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17052         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17053         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17054         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17055         [POSIX] (_POSIX2_PBS): Likewise.
17056         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17057         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17058         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17059         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17060         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17061         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17062         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17063         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17064         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17065         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17066         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17067         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17068         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17069         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17070         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17071         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17072         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17073         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17074         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17075         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17076         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17077         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17078         [POSIX] (_SC_2_C_BIND): Likewise.
17079         [POSIX] (_SC_2_C_VERSION): Likewise.
17080         [POSIX] (_SC_2_PBS): Likewise.
17081         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17082         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17083         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17084         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17085         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17086         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17087         [POSIX] (_SC_BARRIERS): Likewise.
17088         [POSIX] (_SC_BASE): Likewise.
17089         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17090         [POSIX] (_SC_DEVICE_IO): Likewise.
17091         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17092         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17093         [POSIX] (_SC_FD_MGMT): Likewise.
17094         [POSIX] (_SC_FIFO): Likewise.
17095         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17096         [POSIX] (_SC_FILE_LOCKING): Likewise.
17097         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17098         [POSIX] (_SC_IOV_MAX): Likewise.
17099         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17100         [POSIX] (_SC_NETWORKING): Likewise.
17101         [POSIX] (_SC_PAGE_SIZE): Likewise.
17102         [POSIX] (_SC_PASS_MAX): Likewise.
17103         [POSIX] (_SC_PIPE): Likewise.
17104         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17105         [POSIX] (_SC_REGEXP): Likewise.
17106         [POSIX] (_SC_SHELL): Likewise.
17107         [POSIX] (_SC_SIGNALS): Likewise.
17108         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17109         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17110         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17111         [POSIX] (_SC_USER_GROUPS): Likewise.
17112         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17113         [POSIX] (_SC_STREAMS): Likewise.
17114         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17115         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17116         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17117         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17118         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17119         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17120         [POSIX] (_PC_FILESIZEBITS): Likewise.
17121         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17122         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17123         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17124         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17125         [POSIX] (uid_t): Likewise.
17126         [POSIX] (gid_t): Likewise.
17127         [POSIX] (off_t): Likewise.
17128         [POSIX] (pid_t): Likewise.
17129         [POSIX] (cuserid): Allow.
17130         (_SC_2_CHAR_TERM): Require constant.
17131         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17132         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17133         variable.
17135 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17137         * sysdeps/nacl/pthread-pids.h: New file.
17138         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17139         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17141         * nptl/pthread-pids.h: New file.
17142         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17143         * nptl/nptl-init.c: Include <pthread-pids.h>.
17144         (__pthread_initialize_minimal_internal):
17145         Call __pthread_initialize_pids instead of set_tid_address syscall.
17147         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17148         * sysdeps/posix/usleep.c: ... here.
17150 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17152         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17153         call_pselect6 object.
17154         [$(subdir) = io]: Remove call_sync_file_range object.
17155         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17156         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17157         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17158         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17160 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17162         * math/s_cproj.c: Add include "math_private.h".
17163         * math/s_cprojf.c: Likewise.
17164         * math/s_cprojl.c: Likewise.
17166 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17168         [BZ #18244]
17169         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17170         high mantissa bit when testing whether P is a NaN.
17171         * math/libm-test.inc (remainder_test_data): Add more tests.
17172         (remquo_test_data): Likewise.
17174         [BZ #18049]
17175         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17176         below -32, return the argument, with underflow if subnormal.
17177         * math/auto-libm-test-in: Add more tests of atanh.
17178         * math/auto-libm-test-out: Regenerated.
17180 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17182         [BZ #18434]
17183         * nptl/tst-sem15.c: New file.
17184         * nptl/Makefile (tests): Add it.
17185         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17186         s/<</>>/ to fix typo in EOVERFLOW check.
17187         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17189 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17191         * manual/strings.texi (envz_remove): Fix typo in safety
17192         annotations.
17194 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17195             Steve Ellcey  <sellcey@imgtec.com>
17197         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17198         in order to avoid strict alias warnings.
17199         (iruserok_af): Ditto for ra.
17201 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17203         [BZ #17581]
17204         * malloc/hooks.c
17205         (magicbyte): Convert to a function and avoid returning 0x01.
17206         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17207         (mem2chunk_check): Fix unsigned comparisons to zero.
17208         Hoist defs of sz and magic.
17210 2015-05-19  Richard Henderson  <rth@redhat.com>
17212         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17214         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17216 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17218         [BZ #16159]
17219         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17220         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17221         (reused_arena): Find a non-corrupt arena.
17222         (heap_trim): Pass arena to unlink.
17223         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17224         malloc_printerr.
17225         (top_check): Likewise.
17226         (free_check): Likewise.
17227         (realloc_check): Likewise.
17228         * malloc/malloc.c (malloc_printerr): Add arena argument.
17229         (unlink): Likewise.
17230         (munmap_chunk): Adjust.
17231         (ARENA_CORRUPTION_BIT): New macro.
17232         (arena_is_corrupt): Likewise.
17233         (set_arena_corrupt): Likewise.
17234         (sysmalloc): Use mmap if there are no usable arenas.
17235         (_int_malloc): Likewise.
17236         (__libc_malloc): Don't fail if arena_get returns NULL.
17237         (_mid_memalign): Likewise.
17238         (__libc_calloc): Likewise.
17239         (__libc_realloc): Adjust for additional argument to
17240         malloc_printerr.
17241         (_int_free): Likewise.
17242         (malloc_consolidate): Likewise.
17243         (_int_realloc): Likewise.
17244         (_int_memalign): Don't touch corrupt arenas.
17245         * malloc/tst-malloc-backtrace.c: New test case.
17247         * Makefile (summarize-tests): Fix return value on success.
17249         * manual/string.texi (Envz Functions): Add envz_remove.
17251 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17253         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17254         (invalid_name): New function, broken out of ...
17255         (__opendirat): ... here.  Call it.
17256         (need_isdir_precheck): New function, broken out of ...
17257         (__opendirat): ... here.  Call it.
17258         Use __fxstatat64, not __xstatat64.
17259         (opendir_oflags): New function, broken out of ...
17260         (__opendirat): ... here.  Call it.
17261         (opendir_tail): New function, broken out of ...
17262         (__opendirat): ... here.  Call it.
17263         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17264         opendir_tail, rather than punting to __opendirat.
17265         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17267 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17269         * .gitignore: Ignore generated *.pyc.
17271 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17273         * include/stdio.h: Define __need_wint_t.
17274         * test-skeleton.c: Avoid `for' loop initial declaration.
17275         * nptl/tst-initializers1.c: Use test-skeleton.c.
17277 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17279         [BZ #18418]
17280         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17282 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17284         [BZ #16352]
17285         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17286         (__ieee754_atanh): Force underflow exception for results with
17287         small absolute value.
17288         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17289         (__ieee754_atanhf): Force underflow exception for results with
17290         small absolute value.
17291         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17292         (__ieee754_atanh): Force underflow exception for results with
17293         small absolute value.
17294         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17295         (__ieee754_atanhf): Force underflow exception for results with
17296         small absolute value.
17297         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17298         (__ieee754_atanhl): Force underflow exception for results with
17299         small absolute value.
17300         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17301         (__ieee754_atanhl): Force underflow exception for results with
17302         small absolute value.
17303         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17304         (__ieee754_atanhl): Force underflow exception for results with
17305         small absolute value.
17306         * math/auto-libm-test-in: Do not allow missing underflow
17307         exceptions from atanh.
17308         * math/auto-libm-test-out: Regenerated.
17310         [BZ #18221]
17311         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17312         2**-28 as threshold for returning x or +/- 1/x.
17313         * math/auto-libm-test-in: Add more tests of tan.
17314         * math/auto-libm-test-out: Regenerated.
17316         [BZ #18220]
17317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17318         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17319         * math/auto-libm-test-in: Add another test of lgamma.
17320         * math/auto-libm-test-out: Regenerated.
17322 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17324         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17325         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17326         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17327         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17328         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17329         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17330         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17331         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17333         (log1): Use fabs.  (my_log2): Use fabs.
17334         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17335         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17336         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17337         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17339         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17340         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17341         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17342         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17343         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17344         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17346 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #18217]
17349         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17350         as threshold for returning 1 - x.
17351         * math/auto-libm-test-in: Add more tests of erfc.
17352         * math/auto-libm-test-out: Regenerated.
17354 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17356         [BZ #18196]
17357         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17358         threshold for large arguments.
17359         * math/auto-libm-test-in: Add another test of atan.
17360         * math/auto-libm-test-out: Regenerated.
17362         [BZ #16339]
17363         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17364         (__log1p): Force underflow exception for results with small
17365         absolute value.
17366         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17367         (__log1pf): Force underflow exception for results with small
17368         absolute value.
17369         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17370         (__log1p): Force underflow exception for results with small
17371         absolute value.
17372         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17373         (__log1pf): Force underflow exception for results with small
17374         absolute value.
17375         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17376         (__log1pl): Force underflow exception for results with small
17377         absolute value.
17378         * math/auto-libm-test-in: Do not allow missing underflow
17379         exceptions from log1p.
17380         * math/auto-libm-test-out: Regenerated.
17382 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17383             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17385         [BZ #16704]
17386         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17388 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17390         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17391         (libmvec): New variable.
17392         * configure.ac: Added option for mathvec build.
17393         * configure: Regenerated.
17394         * mathvec/Depend: New file.
17395         * mathvec/Makefile: New file.
17396         * shlib-versions: Added libmvec.
17397         * math/Makefile: Added rule for libm.so installation.
17399         * bits/math-vector.h: New file.
17400         * bits/libm-simd-decl-stubs.h: New header.
17401         * math/Makefile (headers): Added new header
17402         libm-simd-decl-stubs.h.
17403         * math/math.h (__MATHCALL_VEC): New macro.
17405         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17406         for conditions in testing functions.
17407         * math/Makefile: Added call of libm-have-vector-test.sh.
17408         * math/libm-test.inc (HAVE_VECTOR): New macros.
17410         * math/libm-test.inc: START refactored.
17411         * math/test-double.c (TEST_MATHVEC): Add define.
17412         * math/test-float.c: Likewise.
17413         * math/test-idouble.c: Likewise.
17414         * math/test-ifloat.c: Likewise.
17415         * math/test-ildoubl.c: Likewise.
17416         * math/test-ldouble.c: Likewise.
17417         * sysdeps/generic/math-tests-arch.h
17418         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17419         architecture check.
17421         * math/test-double.c (FUNC_TEST): New macro.
17422         * math/test-float.c: Likewise.
17423         * math/test-idouble.c: Likewise.
17424         * math/test-ifloat.c: Likewise.
17425         * math/test-ildoubl.c: Likewise.
17426         * math/test-ldouble.c: Likewise.
17427         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17429 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17431         * sysdeps/nacl/fdopendir.c: New file.
17433         * dirent/scandir-tail.c: New file.
17434         * dirent/scandir64-tail.c: New file.
17435         * dirent/Makefile (routines): Add them.
17436         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17437         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17438         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17439         [!SCANDIR] (SCANDIR_TAIL): New macro.
17440         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17441         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17442         (SCANDIRAT): Macro removed.
17443         (SCANDIR_TAIL): New macro.
17444         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17445         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17446         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17447         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17448         (READDIR): Macro removed.
17449         (SCANDIR_TAIL): New macro.
17450         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17451         (SCANDIR_TAIL): New macro.
17453         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17454         * dirent/scandir-cancel.c: ... to this new file.
17455         * dirent/Makefile (routines): Add it.
17456         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17457         * sysdeps/unix/sysv/linux/i386/scandir64.c
17458         (SKIP_SCANDIR_CANCEL): Macro removed.
17459         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17461         * dirent/tst-scandir.c: New file.
17462         * dirent/tst-scandir64.c: New file.
17463         * dirent/Makefile (tests): Add them.
17465 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17467         [BZ #18409]
17468         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17470 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17472         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17473         list.
17475 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17477         * benchtests/bench-strcoll.c: New benchmark.
17478         * benchtests/Makefile: Generate locales and run benchmark.
17479         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17480         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17481         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17482         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17483         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17484         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17485         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17486         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17487         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17488         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17489         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17490         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17491         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17492         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17493         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17494         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17495         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17496         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17497         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17498         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17499         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17500         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17501         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17502         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17504 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17506         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17507         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17509 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17511         * posix/uname-values.h: New file.
17512         * posix/uname.c: Include that instead of <config-name.h>.
17513         * sysdeps/nacl/uname-values.h: New file.
17514         * sysdeps/arm/nacl/uname-values.h: New file.
17516 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17518         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17519         splitting into fields.
17521 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17523         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17524         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17525         * locale/localeinfo.h: Add enum collation_encoding_type.
17526         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17527         * programs/ld-collate.c (collate_output): Add encoding type info.
17528         * string/strcoll_l.c (STRDIFF): New function.
17529         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17530         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17532 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17534         [BZ #18397]
17535         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17536         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17537         <fpu_control.h> instead of <math/fpu_control.c>.
17538         * sysdeps/mips/mips32/fpu/Makefile: New file.
17540 2015-05-11  Andreas Schwab  <schwab@suse.de>
17542         [BZ #18007]
17543         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17544         nss_endgrent.
17545         (_nss_compat_endgrent): Call nss_endgrent.
17546         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17547         nss_endpwent.
17548         (_nss_compat_endpwent): Call nss_endpwent.
17549         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17550         needent, call nss_setspent only if non-zero.
17551         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17552         (internal_endspent): Don't call nss_endspent.
17553         (_nss_compat_endspent): Call nss_endspent.
17554         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17555         Remove.  All uses removed.
17556         (internal_setent): Remove parameter stayopen, add parameter
17557         stream.  Use it instead of global variable.
17558         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17559         (internal_endent, internal_getent): Add parameter stream.  Use it
17560         instead of global variable.
17561         (CONCAT(_nss_files_end,ENTNAME))
17562         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17563         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17564         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17565         uses removed.
17566         (internal_setent, internal_endent): Add parameter stream.  Use it
17567         instead of global variable.
17568         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17569         stream.
17570         (get_next_alias): Add parameter stream.
17571         (_nss_files_getaliasent_r): Pass global stream.
17572         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17573         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17574         (_nss_files_gethostbyname4_r): Pass local stream to
17575         internal_setent, internal_getent and internal_endent.  Remove
17576         locking.
17578 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17580         * tst-strfmon1.c (tests): Update expected currency symbol.
17582 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17584         * sysdeps/nacl/gethostname.c: New file.
17586 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17588         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17589         and sinh.
17590         * math/auto-libm-test-out: Regenerated.
17591         * sysdeps/i386/fpu/libm-test-ulps: Update.
17592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17594 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17596         [BZ #18125]
17597         * stdlib/tst-setcontext3.c: New file.
17598         * stdlib/tst-setcontext3.sh: New file.
17599         * stdlib/Makefile (tests): Add tst-setcontext3.
17600         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17601         to verify test program created output file.
17602         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17603         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17604         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17605         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17607 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17609         [BZ #18383]
17610         * elf/tst-tlsalign.c: New file.
17611         * elf/tst-tlsalign-static.c: New file.
17612         * elf/tst-tlsalign-lib.c: New file.
17613         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17614         (tests-static): Add tst-tlsalign-static.
17615         (modules-names): Add tst-tlsalign-lib.
17616         (test-xfail-tst-tlsalign): New variable.
17617         (test-xfail-tst-tlsalign-static): New variable.
17619         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17620         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17622 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17624         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17625         csqrt, erfc, sin and sincos.
17626         * math/auto-libm-test-out: Regenerated.
17627         * sysdeps/i386/fpu/libm-test-ulps: Update.
17628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17630 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17632         * sysdeps/aarch64/libm-test-ulps: Update.
17634 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17636         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17637         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17638         * math/auto-libm-test-out: Regenerated.
17639         * sysdeps/i386/fpu/libm-test-ulps: Update.
17640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17642 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17644         [BZ #18265]
17645         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17646         (wcsncpy): Likewise.
17648 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17650         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17651         Assume __ASSUME_FALLOCATE is always true.
17652         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17653         (__posix_fallocate64_l64): Likweise.
17654         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17655         (posix_fallocate): Likewise.
17656         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17657         (__posix_fallocate64_l64): Likewise.
17658         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17659         [!__ASSUME_FALLOCATE]: Add comment.
17661 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17663         * sysdeps/unix/sysv/linux/i386/Makefile
17664         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17665         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17666         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17667         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17668         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17669         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17670         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17672 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17674         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17675         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17676         tgamma.
17677         * math/auto-libm-test-out: Regenerated.
17678         * sysdeps/i386/fpu/libm-test-ulps: Update.
17679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17681 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17683         * math/auto-libm-test-in: Add more tests of tgamma.
17684         * math/auto-libm-test-out: Regenerated.
17685         * sysdeps/i386/fpu/libm-test-ulps: Update.
17686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17688         * math/auto-libm-test-in: Add more tests of tanh.
17689         * math/auto-libm-test-out: Regenerated.
17690         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17693         * math/auto-libm-test-in: Add more tests of tan.
17694         * math/auto-libm-test-out: Regenerated.
17695         * sysdeps/i386/fpu/libm-test-ulps: Update.
17696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17698         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17699         * math/auto-libm-test-out: Regenerated.
17700         * sysdeps/i386/fpu/libm-test-ulps: Update.
17701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17703         * math/auto-libm-test-in: Add another test of pow.
17704         * math/auto-libm-test-out: Regenerated.
17705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17707         * math/auto-libm-test-in: Add more tests of lgamma.
17708         * math/auto-libm-test-out: Regenerated.
17709         * sysdeps/i386/fpu/libm-test-ulps: Update.
17710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17712         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17713         log1p.
17714         * math/auto-libm-test-out: Regenerated.
17715         * sysdeps/i386/fpu/libm-test-ulps: Update.
17716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17720         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17721         Elf64_Chdr structs and ELFCOMPRESS constants.
17723 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17725         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17726         expm1.
17727         * math/auto-libm-test-out: Regenerated.
17728         * sysdeps/i386/fpu/libm-test-ulps: Update.
17729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17731         * math/auto-libm-test-in: Add more tests of erf and erfc.
17732         * math/auto-libm-test-out: Regenerated.
17733         * sysdeps/i386/fpu/libm-test-ulps: Update.
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17736 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17738         * config.h.in (HAVE_AARCH64_BE): Add.
17740 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17742         * math/auto-libm-test-in: Add more tests of csqrt.
17743         * math/auto-libm-test-out: Regenerated.
17744         * sysdeps/i386/fpu/libm-test-ulps: Update.
17745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17748         * math/auto-libm-test-out: Regenerated.
17749         * sysdeps/i386/fpu/libm-test-ulps: Update.
17750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17752         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17754 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17756         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17757         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17759         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17760         (euidaccess, eaccess): Define as weak aliases.
17762         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17763         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17764         but __suseconds_t is often 'long int' so some sources assume that
17765         type is being used (e.g. they use %ld to print tv_usec).
17767 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17769         [BZ #18007]
17770         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17771         (CVE-2014-8121)
17772         * nss/tst-nss-getpwent.c: New file.
17773         * nss/Makefile (tests): Add new test.
17775 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17777         [BZ #18346]
17778         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17779         exponents less than 48 as cases where high part of mantissa needs
17780         examining to determine whether argument is integral.
17781         * math/libm-test.inc (round_test_data): Add more tests.
17783 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17785         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17787 2015-04-27  David S. Miller  <davem@davemloft.net>
17789         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17790         __tls_get_addr.
17791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17793 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17795         [BZ#18333]
17796         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17798 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17800         [BZ#18333]
17801         * time/tzset.c (parse_tzname): Return error on memory allocation
17802         failure.
17803         * test-skeleton.c (struct temp_name_list): Change type of name
17804         member to non-const.
17805         (add_temp_file): Create a copy of the file name.
17806         (delete_temp_files): Deallocate memory.
17807         (create_temp_file): Add comment.
17809 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17811         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17812         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17814 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17816         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17817         * sysdeps/arm/configure: Regenerated.
17819 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17821         [BZ #17715]
17822         * time/tzfile.c (__tzfile_read): Check for large values of
17823         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17824         * time/tzset.c (__tzstring_len): New function, based on the old
17825         __tzstring function.
17826         (__tzstring): Call __tzstring_len.
17827         (parse_tzname): New helper function extracted from
17828         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17829         the input string.
17830         (parse_offset): New helper function extracted from
17831         __tzset_parse_tz.  Replace switch with fallthrough with
17832         initialization before sscanf.
17833         (parse_rule): Likewise.
17834         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17835         new-style function definition.
17836         * timezone/Makefile (tests): Add tst-tzset.
17837         (tst-tzset.out): Dependencies on time zone files.
17838         (tst-tzset-ENV): Set TZDIR.
17839         (testdata/XT%): Copy crafted time zone files.
17840         * timezone/README: Mention crafted time zone files.
17841         * timezone/testdata/XT1, timezone/testdata/XT2,
17842         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17843         files.
17844         * timezone/tst-tzset.c: New test.
17846 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17848         * Makeconfig (+gccwarn): Remove -Winline.
17850 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17852         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17854 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17856         * NEWS: Mention sysconf() cache information support for s390.
17857         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17859 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17861         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17862         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17863         (__nearbyint): Likewise.
17864         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17865         (copysignl): Likewise.
17867 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17869         [BZ #18287]
17870         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17871         based on padding.  (CVE-2015-1781)
17873 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17875         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17876         libc-vdso.h.
17877         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17878         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17879         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17880         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17881         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17882         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17883         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17884         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17885         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17886         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17887         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17888         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17889         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17890         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17891         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17892         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17893         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17895         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17896         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17897         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17898         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17899         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17901 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17903         * stdlib/setenv.c (__add_to_environ):
17904         Dump core quickly if setenv (..., NULL, ...) is called.
17905         This time, do it the right way, and pacify GCC with a pragma.
17907 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17909         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17910         IMAP->l_prev cannot be null, and #if out the code for the contrary
17911         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17912         believe that NS (&_dl_ns[NSID]) could point outside the array.
17914         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17915         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17916         before using NSID as an index.
17918 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17920         [BZ #17825]
17921         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17922         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17923         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17925 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17927         Add preliminary port to Google Native Client on ARM.
17928         * abi-tags (.*-.*-nacl.*): New entry.
17929         * sysdeps/arm/nacl: New directory.
17930         * sysdeps/nacl: New directory.
17932 2015-04-16  David S. Miller  <davem@davemloft.net>
17934         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17935         lowlevellock-futex.h
17937 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17939         * sysdeps/tile/configure.ac: New file.
17940         * sysdeps/tile/configure: Regenerated.
17942 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17944         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17945         conditionals for weak_alias and libc_hidden_weak.
17946         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17947         libc_hidden_weak and weak_alias.
17948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17949         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17950         and weak_alias for static one.
17952 2015-04-15  David S. Miller  <davem@davemloft.net>
17954         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17956 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17958         [BZ #18206]
17959         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17960           Use signed comparision instead of substraction to avoid
17961           overflow bug.
17962         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17963           Take the sign of ret.
17964         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17965           Do not expect precise return values. Only the sign matters.
17966         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17967         * wcsmbs/test-wcsncmp.c: New File.
17968         * string/test-strncmp.c: Add wcsncmp support.
17970 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17972         [BZ #6792]
17973         * math/w_log1p.c: New file.
17974         * math/w_log1pf.c: Likewise.
17975         * math/w_log1pl.c: Likewise.
17976         * math/Makefile (libm-calls): Add w_log1p.
17977         * math/s_log1pl.c (log1pl): Remove weak_alias.
17978         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17979         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17980         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17981         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17982         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17983         [NO_LONG_DOUBLE] (log1pl): Likewise.
17984         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17985         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17986         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17987         (log1p): Remove long_double_symbol.
17988         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17989         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17990         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17991         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17992         remove weak_alias for corresponding log1p function.
17993         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17994         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17995         * sysdeps/ia64/fpu/w_log1p.c: New file.
17996         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17997         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17998         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18000 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18002         [BZ #18247]
18003         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18004         decimal exponent by 1.
18005         * stdlib/tst-strtod-round-data: Add more tests.
18006         * stdlib/tst-strtod-round.c (tests): Regenerated.
18008 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18010         * math/auto-libm-test-in: Add more tests of clog and clog10.
18011         * math/auto-libm-test-out: Regenerated.
18012         * sysdeps/i386/fpu/libm-test-ulps: Update.
18013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18015 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18017         * Makeconfig (module-cppflags): Exclude all .v.i files.
18018         (skip-module-cppflags): Variable removed.
18020         * configure.ac (libc_config_ok): Initialize before reading
18021         preconfigure scripts, not after.
18022         * configure: Regenerated.
18024         * test-skeleton.c (TIMEOUT): Move #define to top level.
18025         (main): Grok environment variable TEST_DIRECT.  If set, print
18026         test expectation details into that file and then behave as if
18027         given --direct.
18029 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18031         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18032         warning on 32-bit.
18034 2015-04-08  David S. Miller  <davem@davemloft.net>
18036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18038 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18040         * math/auto-libm-test-in: Add more tests of atanh.
18041         * math/auto-libm-test-out: Regenerated.
18042         * sysdeps/i386/fpu/libm-test-ulps: Update.
18043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18045         * math/auto-libm-test-in: Add more tests of atan.
18046         * math/auto-libm-test-out: Regenerated.
18047         * sysdeps/i386/fpu/libm-test-ulps: Update.
18048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18050 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18052         * elf/pldd.c (main): Rewrite to use struct
18053         scratch_buffer instead of extend_alloca.
18054         * elf/pldd-xx.c (find_maps): Likewise.
18055         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18056         <alloca.h>.
18057         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18058         scratch_buffer instead of extend_alloca.
18059         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18060         grp/compat-initgroups.c.
18061         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18062         Rewrite to use struct scratch_buffer instead of extend_alloca.
18063         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18064         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18066 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18068         * math/auto-libm-test-in: Add more tests of cbrt.
18069         * math/auto-libm-test-out: Regenerated.
18070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18072         * math/auto-libm-test-in: Add more tests of cabs.
18073         * math/auto-libm-test-out: Regenerated.
18074         * sysdeps/i386/fpu/libm-test-ulps: Update.
18075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077         [BZ #18210]
18078         [BZ #18211]
18079         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18080         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18081         computations.
18082         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18083         clog10.
18084         * math/auto-libm-test-out: Regenerated.
18085         * sysdeps/i386/fpu/libm-test-ulps: Update.
18086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18088         [BZ #18197]
18089         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18090         (atan): Set FE_TONEAREST mode for internal computations.
18091         * math/auto-libm-test-in: Add more tests of atan.
18092         * math/auto-libm-test-out: Regenerated.
18094 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18096         [BZ #17930]
18097         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18099 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18101         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18103 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18105         * include/scratch_buffer.h: New file.
18106         * malloc/scratch_buffer_grow.c: Likewise.
18107         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18108         * malloc/scratch_buffer_set_array_size.c: Likewise.
18109         * malloc/tst-scratch_buffer.c: Likewise.
18110         * malloc/Makefile (routines): Add scratch_buffer_grow.
18111         (tests): Add test case.
18112         * malloc/Versions (GLIBC_PRIVATE): Export
18113         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18114         __libc_scratch_buffer_set_array_size.
18116 2015-04-06  Richard Henderson  <rth@redhat.com>
18118         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18119         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18121         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18122         unsigned int before printing.
18124 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18126         [BZ #17596]
18127         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18128         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18130 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18132         * include/libc-internal.h (libc_max_align_t): Define.
18134 2015-04-02  Andreas Schwab  <schwab@suse.de>
18136         [BZ #16850]
18137         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18139 2015-04-02  Mel Gorman  <mgorman@suse.de>
18141         [BZ #17195]
18142         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18143         as well as the main arena.
18145 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18147         [BZ #18185]
18148         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18149         sharing L2 cache to 2 for Silvermont/Knights Landing.
18151 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18153         [BZ #17711]
18154         * config.make.in (have-protected-data): New.
18155         * configure.ac: Check linker support for protected data symbol.
18156         * configure: Regenerated.
18157         * elf/Makefile (modules-names): Add tst-protected1moda and
18158         tst-protected1modb if $(have-protected-data) is yes.
18159         (tests): Add tst-protected1a and tst-protected1b if
18160         $(have-protected-data) is yes.
18161         ($(objpfx)tst-protected1a): New.
18162         ($(objpfx)tst-protected1b): Likewise.
18163         (tst-protected1modb.so-no-z-defs): Likewise.
18164         * elf/tst-protected1a.c: New file.
18165         * elf/tst-protected1b.c: Likewise.
18166         * elf/tst-protected1mod.h: Likewise.
18167         * elf/tst-protected1moda.c: Likewise.
18168         * elf/tst-protected1modb.c: Likewise.
18170 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18172         [BZ #17711]
18173         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18174         indicates it is called from do_lookup_x on relocation against
18175         protected data, skip the data definion in the executable from
18176         copy reloc.
18177         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18178         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18179         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18180         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18181         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18182         otherwise to 0.
18183         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18184         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18185         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18186         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18187         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18188         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18190 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18192         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18193         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18195 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18197         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18198         THREAD_SETMEM_NC.
18199         * sysdeps/x86_64/nptl/tls.h: Ditto.
18201 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18203         * dlfcn/tststatic.c (main): Converted to ...
18204         (do_test): ... this.
18205         (TEST_FUNCTION): New macro.
18206         Include test-skeleton.c.
18208 2015-03-26  Alan Modra  <amodra@gmail.com>
18210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18211         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18212         zero for undefined weak.
18213         (elf_machine_plt_conflict): Similarly.
18215 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18217         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18218         atanh.
18219         * math/auto-libm-test-out: Regenerated.
18220         * sysdeps/i386/fpu/libm-test-ulps: Update.
18221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18223         * math/auto-libm-test-in: Add another test of asin.
18224         * math/auto-libm-test-out: Regenerated.
18225         * sysdeps/i386/fpu/libm-test-ulps: Update.
18226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18229         Remove macro.
18230         (LLL_EBX_REG): Likewise.
18231         (LLL_ENTER_KERNEL): Likewise.
18233         * math/auto-libm-test-in: Add more tests of asin.
18234         * math/auto-libm-test-out: Regenerated.
18235         * sysdeps/i386/fpu/libm-test-ulps: Update.
18236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18238         [BZ #18138]
18239         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18240         libc_do_syscall_args): New structure.
18241         (INTERNAL_SYSCALL_MAIN_0): New macro.
18242         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18243         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18244         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18245         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18246         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18247         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18248         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18249         Replace conditional definitions by conditional definitions of ....
18250         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18251         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18252         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18253         (libpthread-sysdep_routines): Add libc-do-syscall.
18254         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18256         to __NR_futex not 240.
18258 2015-03-25  Alan Modra  <amodra@gmail.com>
18260         * NEWS: Advertise TLS optimization.
18261         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18262         (DT_PPC_NUM): Increment.
18263         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18264         (CHECK_STATIC_TLS): Use here.
18265         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18266         TLS descriptors.
18267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18268         * sysdeps/powerpc/dl-tls.c: New file.
18269         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18270         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18271         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18272         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18277 2015-03-25  Alan Modra  <amodra@gmail.com>
18279         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18280         for overlapping .opd entries" to "support...".
18281         * sysdeps/powerpc/powerpc64/configure: Regenerate
18283 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18285         * math/auto-libm-test-in: Add more tests of acos.
18286         * math/auto-libm-test-out: Regenerated.
18287         * sysdeps/i386/fpu/libm-test-ulps: Update.
18288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18290         * math/auto-libm-test-in: Add more tests of expm1.
18291         * math/auto-libm-test-out: Regenerated.
18292         * sysdeps/i386/fpu/libm-test-ulps: Update.
18293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18295 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18297         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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/i386/fpu/libm-test-ulps: Regenerated.
18303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305         * math/auto-libm-test-in: Add more tests of log2.
18306         * math/auto-libm-test-out: Regenerated.
18307         * sysdeps/i386/fpu/libm-test-ulps: Update.
18308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18310 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18312         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18313         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18314         _IO_IS_APPENDING bit in READ_WRITE instead.
18316 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18318         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18319         (__determine_cpumask_size): Replace extend_alloca with a
18320         variable-length array.  Do not treat res == 0 as an error.
18322 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18324         [BZ #18100]
18325         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18326         and integer overflow.
18327         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18328         (main): Add integer overflow tests.
18329         * manual/pattern.texi (Calling Wordexp): Document additional use
18330         for WRDE_SYNTAX.
18332 2015-03-23  Alan Modra  <amodra@gmail.com>
18334         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18335         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18336         and false branch of conditional.
18337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18338         Likewise.
18340 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18342         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18343         libc-modules.h
18344         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18345         unused declaration of _hurd_intr_rpc_msg_in_trap.
18346         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18347         defined instead of whether it is non-zero.
18348         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18349         input constraint instead of both input and output constraint.  Use ecx
18350         clobber instead of %ecx.
18351         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18352         mutex_unlock): Use a statement expression instead of an expression list.
18353         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18354         type to vm_size_t instead of vm_address_t.
18355         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18356         defined instead of whether it is non-zero.
18357         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18358         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18359         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18360         comparisons with mapaddr.
18361         * nscd/nscd-client.h: Include <time.h>.
18362         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18363         9th parameter to __vm_region instead of int.
18364         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18365         * scripts/check-local-headers.sh (exclude): Add device/,
18366         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18367         cthreads.h.
18369 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18371         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18372         to account for alignment padding.
18373         * sysdeps/arm/memmove.S: Likewise.
18375 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18377         * sysdeps/unix/sysv/linux/generic/README: New file.
18379 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18381         [BZ #18138]
18382         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18383         (futex_abstimed_wait)
18384         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18385         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18386         of lll_futex_timed_wait.
18388 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18390         [BZ #17542]
18391         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18393 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18395         [BZ #17090]
18396         [BZ #17620]
18397         [BZ #17621]
18398         [BZ #17628]
18399         * NEWS: Update.
18400         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18401         entries with Static TLS too.  Skip entries past the end of the
18402         allocated DTV, from Alan Modra.
18403         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18404         Static TLS DTV entry set up from...
18405         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18406         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18407         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18408         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18409         for Static TLS.
18410         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18411         that the slot we find is associated with the given map before
18412         using its generation count.
18413         * nptl_db/db_info.c: Include ldsodefs.h.
18414         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18415         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18416         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18417         (link_map::l_tls_offset): New struct field.
18418         (dtv_t::counter): Likewise.
18419         (rtld_global): New struct.
18420         (_rtld_global): New rtld variable.
18421         (dl_tls_dtv_slotinfo_list): New rtld global field.
18422         (dtv_slotinfo_list): New struct.
18423         (dtv_slotinfo): Likewise.
18424         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18425         (td_lookup): Rename to...
18426         (td_mod_lookup): ... this.  Use new mod parameter instead of
18427         LIBPTHREAD_SO.
18428         * nptl_db/td_thr_tlsbase.c: Include link.h.
18429         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18430         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18431         addresses even if the DTV is out of date or missing them.
18432         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18433         index zero-length arrays.
18434         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18435         (td_lookup): Make it a macro implemented in terms of...
18436         (td_mod_lookup): ... this declaration.
18437         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18438         (DB_MAIN_VARIABLE): Likewise.
18440 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18442         [BZ #18134]
18443         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18445 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18447         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18449 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18451         [BZ #18128]
18452         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18453         (atomic_add, atomic_increment_and_test)
18454         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18456 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18458         * stdlib/setenv.c (__add_to_environ):
18459         Dump core quickly if setenv (..., NULL, ...) is called.
18461 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18463         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18464         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18465         all the necessary asm magic in one place.
18466         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18467         using those.
18469 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18471         [BZ #14906]
18472         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18473         traced file mtime. Use consistent log message.
18474         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18475         (register_traced_file): Call install_watches. Always set mtime.
18476         (invalidate_cache): Iterate over all trace files. Call install_watches.
18477         (inotify_check_files): Don't inline. Handle watching parent
18478         directories and configuration file movement in and out.
18479         (handle_inotify_events): New function.
18480         (main_loop_poll): Call handle_inotify_events.
18481         (main_loop_epoll): Likewise.
18482         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18483         (struct traced_file): Use array of inotify fds. Add parent directory,
18484         and basename.
18485         (struct database_dyn): Remove unused file_mtime.
18486         (init_traced_file): New inline function.
18487         (define_traced_file): New macro.
18488         * nss/nss_db/db-init.c: Use define_traced_file.
18489         (_nss_db_init): Use init_traced_file.
18490         * nss/nss_files/files-init.c: Use define_traced_file.
18491         (_nss_files_init): Use init_traced_file.
18493 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18495         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18496         [_LIBC]: Do not include <stdlib.h>.
18497         [!_LIBC] (abort): Remove declaration.
18498         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18499         _FP_STATIC_ASSERT instead of conditionally calling abort.
18500         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18501         (_FP_EXTEND_CNAN): Likewise.
18502         (FP_TRUNC): Likewise.
18503         (__FP_CLZ): Likewise.
18504         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18506 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18508         * manual/string.texi (XPG basename): Fix prototype.
18510 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18512         [BZ #18080]
18513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18514         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18515         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18516         (__setcontext): Likewise.
18517         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18518         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18519         Call rt_sigprocmask syscall one time to set new signal mask
18520         and retrieve the current signal mask instead of two calls.
18521         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18522         (__swapcontext): Likewise.
18523         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18524         * stdlib/tst-setcontext2.c: New file.
18526 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18528         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18530 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18532         [BZ #18093]
18533         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18534         the wrong size.
18536 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18538         [BZ #18043]
18539         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18541 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18543         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18544         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18545         Remove define.
18546         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18547         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18548         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18549         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18550         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18551         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18552         define.
18553         * nptl_db/td_symbol_list.c (td_lookup): Remove
18554         HAVE_ASM_GLOBAL_DOT_NAME code.
18555         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18556         HAVE_ASM_GLOBAL_DOT_NAME check.
18557         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18558         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18559         (DOT_LABEL): Remove define.
18560         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18561         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18562         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18563         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18564         (__TLS_GET_ADDR): Likewise.
18565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18566         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18568 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18570         [BZ #18111]
18571         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18572         (_FPU_SETCW): Initialize cw from fpsr before storing.
18573         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18574         (fesetexceptflag): Rewrite using fpu_control.h.
18575         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18577 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18579         [BZ #18110]
18580         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18581         asms.
18582         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18584 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18586         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18587         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18588         abort.
18589         (_FP_FMA): Likewise.
18590         (_FP_DIV): Likewise.
18592 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18594         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18595         with 0 in that case.
18596         * Makefile (summarize-tests): New canned sequence, factored out of
18597         commands for targets tests and xtests.  Display summary lines that
18598         don't start with PASS: or XFAIL: rather than ones that do start with
18599         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18600         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18601         do start with ERROR: or FAIL:.
18602         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18603         (except for [$(build-shared) = yes]).
18604         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18605         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18606         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18607         * nptl/Makefile: Revert 2015-03-04 changes.
18608         [$(CXX) empty] (tests-unsupported): New variable.
18609         * debug/Makefile: Likewise.
18611         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18612         gnulib file.  Replace __attribute with __attribute__ throughout.
18614 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18616         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18618 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18620         [BZ #18104]
18621         * math/auto-libm-test-in: Add another test of pow.
18622         * math/auto-libm-test-out: Regenerated.
18624 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18626         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18627         $(config-cflags-nofma).
18629 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18631         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18632         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18633         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18634         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18635         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18636         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18637         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18638         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18639         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18640         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18641         Add comment on closing #endif.
18643 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18645         * posix/wordexp.c (CHAR_IN_SET): New macro.
18646         (parse_param): Use it.
18648 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18650         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18652 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18654         [BZ #18043]
18655         * posix/wordexp.c (parse_param): Fix buffer overflow.
18656         * posix/wordexp-test.c (test_case): Add test case.
18658 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18660         [BZ #18042]
18661         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18662         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18664 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18666         [BZ #18043]
18667         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18668         (do_bz18043): Delete.
18669         (at_page_end): New.
18670         (testit): Refactor to have words at the edge of unreadable page.
18672 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18674         [BZ #16734]
18675         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18676         Cleanup read-only streams as well.
18677         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18679 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18681         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18682         <bits/libc-lockP.h>
18684 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18686         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18687         on [__KERNEL__].
18688         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18689         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18690         * soft-fp/op-common.h (_FP_DECL): Likewise.
18692 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18694         * elf/ifuncdep2.c (global): Replace
18695         __attribute__((visibility("protected"))) with
18696         asm (".protected global").
18697         * elf/ifuncmod1.c (global): Likewise.
18698         * elf/ifuncmod5.c (global): Likewise.
18700 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18702         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18703         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18705 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18707         * manual/install.texi (Configuring and compiling):
18708         Document test-wrapper-env-only.
18709         * INSTALL: Regenerated.
18711 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18713         [BZ #18043]
18714         * posix/wordexp.c (parse_param): Fix buffer overflow.
18715         * posix/wordexp-test.c (do_bz18043): Add test case.
18717 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18719         * time/tst-strptime2.c (do_test): Ensure failing tests are
18720         reported correctly.
18721         * time/tst-strptime3.c (do_test): Likewise.
18723 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18725         Fix aio_error thread-safety.
18726         * sysdeps/pthread/aio_error.c: New file
18727         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18728         synchronization.
18730 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18732         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18733         (group_number, vfprintf): Use it.
18734         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18735         (JUMP, REF): Use it.
18736         (WORK_BUFFER_SIZE): New enum constant.
18737         (process_arg, vfprintf): Use it.
18739 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18741         * manual/errno.texi (Error Messages): Complete example function
18742         by adding missing #define.
18743         (program_invocation_name): Add statement indicating GNU
18744         extension and reference which header file declares the variable.
18745         (program_invocation_short_name): Likewise.
18747 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18749         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18750         compatibility note.
18752 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18754         * Makeconfig (test-wrapper-env-only): New variable.
18755         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18756         then use that with $(test-wrapper-env-only) rather than using
18757         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18759 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18761         [BZ #18082]
18762         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18763         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18764         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18765         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18766         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18767         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18768         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18769         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18770         Likewise.
18771         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18772         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18773         Likewise.
18774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18775         Likewise.
18776         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18777         Likewise.
18778         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18779         Likewise.
18780         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18782         Likewise.
18783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18784         Likewise.
18785         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18786         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18788 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18790         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18791         (ETH_ALEN): New macro.
18792         (struct ether_addr): Use it for length of ether_addr_octet.
18794         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18795         (setdb): Don't call __nss_configure_lookup for "rpc".
18796         (do_test): Don't call test_rpc.
18797         (output_rpcent, test_rpc): Functions moved ...
18798         * sunrpc/test-rpcent.c: ... to this new file.
18799         * sunrpc/Makefile (tests): Add it.
18801         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18802         __xpg_sigpause.
18803         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18804         * nptl/tst-signal6.c: Likewise.
18805         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18806         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18808         * configure.ac (libc_cv_cxx_link_ok): New check.
18809         Reset CXX to empty if it fails to link.
18810         * configure: Regenerated.
18811         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18812         bug-atexit3-lib only if $(CXX) is nonempty.
18813         * nptl/Makefile (tests): Likewise for tst-cancel24.
18814         (tests, tests-static): Likewise for tst-cancel24-static.
18815         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18816         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18817         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18818         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18820 2015-03-04  Andreas Schwab  <schwab@suse.de>
18822         [BZ #17631]
18823         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18824         for non-GCC compilers.
18825         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18826         Likewise.
18828 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18830         [BZ #17776]
18831         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18832         integer before bitwise and assembly operations.
18833         (feclearexcept): Likewise.
18834         * math/test-fenvinline.c: New file.
18835         * math/Makefile: Add test-fenvinline test.
18837 2015-03-03  Alan Modra  <amodra@gmail.com>
18839         [BZ #16512]
18840         * scripts/localplt.awk: Strip off symbol version.
18841         * NEWS: Mention bug fix.
18843 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18845         * sysdeps/pthread/timer_routines.c
18846         (timer_free_list, thread_free_list, thread_active_list): Make static.
18848 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #17779]
18851         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18852         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18853         Undefine.
18854         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18855         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18856         Likewise.
18857         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18858         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18859         Likewise.
18861 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18863         [BZ #18036]
18864         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18865         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18867 2015-03-02  Andreas Schwab  <schwab@suse.de>
18869         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18870         variable name.
18872 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18874         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18875         Return error status.
18877 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18879         [BZ #15969]
18880         * locale/findlocale.c (_nl_find_locale): Introduce const
18881         version of loc_name and drop unsafe type casts.
18883 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18885         * dlfcn/tststatic2.c (main): Converted to ...
18886         (do_test): ... this.
18887         (TEST_FUNCTION): New macro.
18888         Include test-skeleton.c.
18890 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18892         [BZ #17711]
18893         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18894         (tests-pie): Add vismain.
18895         (CFLAGS-vismain.c): New.
18896         * elf/vismain.c: Add comments for PIE requirement.
18898 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18900         [BZ #18046]
18901         [BZ #18047]
18902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18903         0x1p-56L as threshold for just returning the argument.
18904         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18905         0x1p-32L as threshold for just returning the argument.
18906         * math/auto-libm-test-in: Add more tests of atanh.
18907         * math/auto-libm-test-out: Regenerated.
18908         * sysdeps/i386/fpu/libm-test-ulps: Update.
18909         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18911 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18913         * string/bcopy.c (bcopy): Call memmove for performance.
18915 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18917         * string/bzero.c (__bzero): Call memset for performance.
18919 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18921         [BZ #18068]
18922         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18923         to 00100000.
18925 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18927         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18929 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18931         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18932         (__kernel_standard): Use CSTR macro when setting exc.name.
18933         * sysdeps/ieee754/Makefile [$(subdir) = math]
18934         (CFLAGS-k_standard.c): Remove variable.
18936         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18937         setting p and q from "else if" to "else".
18938         (qzero): Likewise.
18939         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18940         (qone): Likewise.
18941         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18942         (qzerof): Likewise.
18943         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18944         (qonef): Likewise.
18945         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18946         (qzero): Likewise.
18947         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18948         (qone): Likewise.
18950         [BZ #18038]
18951         [BZ #18039]
18952         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18953         return pi/2 for arguments below 0x1p-113L.
18954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18955         return pi/2 for arguments below 0x1p-106L.
18956         * math/auto-libm-test-in: Add more tests of acos.
18957         * math/auto-libm-test-out: Regenerated.
18959         [BZ #16351]
18960         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18961         (MO): New macro.
18962         (__ieee754_asin): Force underflow exception for results with small
18963         absolute value.
18964         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18965         (MO): New macro.
18966         (__ieee754_asinf): Force underflow exception for results with
18967         small absolute value.
18968         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18969         (__ieee754_asin): Force underflow exception for results with small
18970         absolute value.
18971         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18972         (__ieee754_asinf): Force underflow exception for results with
18973         small absolute value.
18974         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18975         (__ieee754_asinl): Force underflow exception for results with
18976         small absolute value.
18977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18978         (__ieee754_asinl): Force underflow exception for results with
18979         small absolute value.
18980         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18981         (__ieee754_asinl): Force underflow exception for results with
18982         small absolute value.
18983         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18984         Include <math.h>.
18985         * math/auto-libm-test-in: Do not mark underflow exceptions as
18986         possibly missing for bug 16351.
18987         * math/auto-libm-test-out: Regenerated.
18989         [BZ #18030]
18990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18991         of power of 2 down when low part has opposite sign.
18992         * math/libm-test.inc (logb_test_data): Add more tests.
18994 2015-02-26  Andreas Schwab  <schwab@suse.de>
18996         [BZ #18032]
18997         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18998         over collating symbol inside a bracket expression.  Minor cleanup.
18999         * posix/tst-fnmatch3.c (do_test): Add test case.
19001 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19003         [BZ #18029]
19004         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19005         Adjust exponent of power of 2 down when low part has opposite
19006         sign.
19007         * math/libm-test.inc (ilogb_test_data): Add more tests.
19009 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19011         [BZ #15969]
19012         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19013         the previous change.
19015         [BZ #15969]
19016         * locale/findlocale.c (_nl_find_locale): Retry archive search
19017         after alias expansion.
19019 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19021         * iconv/tst-iconv3.c (main): Converted to ...
19022         (do_test): ... this.
19023         (TEST_FUNCTION): New macro.
19024         Include test-skeleton.c.
19026         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19027         (convert): Make function static.
19028         (test_unalign): Likewise.  Add const to argument pointee types.
19029         (main): Replace with static function do_test.
19030         Print "Succeeded." only if RET is zero.
19031         (TEST_FUNCTION): New macro.
19032         Include test-skeleton.c.
19034         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19035         returns a null pointer.
19037 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19039         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19040         to __memcpy_ppc only for static builds.
19042 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19044         [BZ #18020]
19045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19046         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19047         * math/auto-libm-test-in: Add more tests of asinh.
19048         * math/auto-libm-test-out: Regenerated.
19049         * sysdeps/i386/fpu/libm-test-ulps: Update.
19050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19052 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19054         [BZ #15850]
19055         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19056         and ip6_mtuinfo definitions here.
19057         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19058         in this define too.  Update comment.
19060 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19062         * elf/sprof.c (load_shobj): Tweak error message to match others.
19064 2015-02-24  Kevin Easton  <kevin@guarana.org>
19066         [BZ #16145] (partial fix)
19067         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19068         to reduce lock contention.
19070 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19072         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19073         (struct timex): Update time comment.
19074         (ADJ_SETOFFSET): Define.
19076 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19078         [BZ #18019]
19079         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19080         2**56 not 2**28 as threshold for log (2x) formula.
19081         * math/auto-libm-test-in: Add more tests of acosh.
19082         * math/auto-libm-test-out: Regenerated.
19083         * sysdeps/i386/fpu/libm-test-ulps: Update.
19084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19086 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19088         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19089         parenthesis around the buf assignment.
19090         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19092 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #16783]
19095         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19096         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19097         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19098         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19099         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19100         * math/libm-test.inc (scalb_test_data): Add more tests.
19102 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19104         [BZ #17916]
19105         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19106         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19108 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19110         [BZ #17523]
19111         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19112         * io/bits/fcntl2.h (open): Use it.
19113         (openat): Likewise.
19114         * io/open.c (__libc_open): Likewise.
19115         * io/open64.c (__libc_open64): Likewise.
19116         * io/open64_2.c (__open64_2): Likewise.
19117         * io/open_2.c (__open_2): Likewise.
19118         * io/openat.c (__openat): Likewise.
19119         * io/openat64.c (__openat64): Likewise.
19120         * io/openat64_2.c (__openat64_2): Likewise.
19121         * io/openat_2.c (__openat_2): Likewise.
19122         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19123         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19124         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19125         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19126         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19127         (__open_nocancel): Likewise.
19128         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19129         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19130         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19132 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19134         [BZ #14841]
19135         * resolv/gethnamaddr.c (getanswer): Skip logging if
19136         RES_USE_DNSSEC is set.
19137         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19139 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19141         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19143 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19145         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19146         201304L, for Unicode 7.
19148 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19150         [BZ #17836]
19151         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19152         shared library.  Add gmon-start.os otherwise.
19153         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19154         $(objpfx)gmon-start.os if builing shared library.
19155         ($(objpfx)g$(static-start-installed-name)): Likewise.
19157 2015-02-23  Andreas Schwab  <schwab@suse.de>
19159         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19161 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19163         [BZ #17269]
19164         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19165         (enlarge_userbuf): Likewise.
19167 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19169         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19170         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19171         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19172         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19174 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19176         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19177         expression inside statement expression.
19179 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19181         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19182         <sysdeps/nptl/lowlevellock.h> and remove macros and
19183         functions that are now defined there.
19184         (SYS_futex): Remove.
19185         (lll_compare_and_swap): Remove.
19186         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19188 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19190         [BZ #17999]
19191         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19192         instead of scandirat.
19193         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19194         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19195         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19196         __scandirat.
19197         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19198         (__scandirat): Declare.  Use libc_hidden_proto.
19199         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19200         Remove variable.
19201         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19203 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19205         [BZ #15319]
19206         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19207         (MO): New macro.
19208         (__ieee754_atan2): For results with small absolute value, force
19209         underflow exception and remove excess range and precision from
19210         return value.
19211         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19212         (MO): New macro.
19213         (__ieee754_atan2f): For results with small absolute value, force
19214         underflow exception and remove excess range and precision from
19215         return value.
19216         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19217         (MO): New macro.
19218         (__atan): For results with small absolute value, force underflow
19219         exception and remove excess range and precision from return value.
19220         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19221         (MO): New macro.
19222         (__atanf): For results with small absolute value, force underflow
19223         exception and remove excess range and precision from return value.
19224         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19225         <math.h>.
19226         (__ieee754_atan2): Force underflow exception for results with
19227         small absolute value.
19228         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19229         <math_private.h>.
19230         (atan): Force underflow exception for results with small absolute
19231         value.
19232         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19233         (__atanf): Force underflow exception for results with small
19234         absolute value.
19235         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19236         <math.h>.
19237         (__atanl): Force underflow exception for results with small
19238         absolute value.
19239         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19240         (__atanl): Force underflow exception for results with small
19241         absolute value.
19242         * sysdeps/x86/fpu/bits/mathinline.h
19243         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19244         (__ieee754_atan2): Only define inline for long double.
19245         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19246         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19247         * math/auto-libm-test-in: Do not mark underflow exceptions as
19248         possibly missing for bug 15319.  Add more tests of atan2.
19249         * math/auto-libm-test-out: Regenerated.
19250         * math/libm-test.inc (casin_test_data): Do not mark underflow
19251         exceptions as possibly missing for bug 15319.
19252         (casinh_test_data): Likewise.
19253         * sysdeps/i386/fpu/libm-test-ulps: Update.
19255 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19257         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19258         * sysdeps/mips/bits/endian.h: Fix comments.
19260 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19262         [BZ #17996]
19263         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19264         (hdestroy_r): Likewise.
19265         (hsearch_r): Likewise.
19266         (__hcreate_r): Declare and use libc_hidden_proto.
19267         (__hdestroy_r): Likewise.
19268         (__hsearch_r): Likewise.
19269         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19270         (hcreate): Call __hcreate_r instead of hcreate_r.
19271         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19272         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19273         as weak alias of __hcreate_r.
19274         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19275         __hdestroy_r.
19276         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19277         __hsearch_r.
19278         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19279         Remove variable.
19280         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19281         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19282         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19283         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19285 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19287         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19288         arena_lock into a single arena_get.
19290 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19292         * dl-reloc.c: Inlucde libc-internal.h.
19293         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19294         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19295         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19296         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19297         (grow_heap): Likewise.
19298         * malloc/malloc.c: Include libc-internal.h.
19299         (do_check_malloc): Call powerof2.
19300         (sysmalloc): Use pagesize. Call ALIGN_UP.
19301         (systrim): Use pagesize.
19302         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19303         (__libc_valloc): Use pagesize.
19304         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19306 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19308         [BZ #17991]
19309         * include/sys/resource.h (__getrlimit64): Declare.  Use
19310         libc_hidden_proto.
19311         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19312         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19313         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19314         getrlimit64.
19315         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19316         __getrlimit64.
19317         [!getrlimit64] (getrlimit64): Define as weak alias of
19318         __getrlimit64.  Use libc_hidden_weak.
19319         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19320         using __getrlimit64 not __new_getrlimit64.
19321         (__GI_getrlimit64): Likewise.
19322         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19323         Likewise.
19324         (__GI_getrlimit64): Likewise.
19325         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19327         (getrlimit): Add __getrlimit64 alias.
19328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19329         Likewise.
19330         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19331         Remove variable.
19332         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19333         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19335 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19337         * libio/fileops.c: Add missing sys/mman.h
19338         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19340 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19342         * manual/math.texi (Errors in Math Functions): Clarify goals
19343         regarding inexact and underflow exceptions.
19345 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19347         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19348         * sysdeps/mips/memset.S: Ditto.
19350 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19352         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19354 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19356         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19357         (__v1longjmp): Remove versioned symbol.
19358         (__v1siglongjmp): Remove alias and versioned symbol.
19359         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19360         (__v2siglongjmp): Likewise.
19362 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19364         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19366 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19368         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19370 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19372         [BZ #17987]
19373         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19374         zero result does not depend on the sign resulting from
19375         subtraction.
19376         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19377         Likewise.
19378         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19379         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19381         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19382         * math/libm-test.inc (remquo_test_data): Add more tests.
19384 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19386         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19387         Problem reported by J William Piggott.
19389 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19391         [BZ #17978]
19392         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19393         products 4 * y and 2 * y where those would overflow.
19394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19395         Likewise.
19396         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19397         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19398         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19399         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19400         * math/libm-test.inc (remquo_test_data): Add more tests.
19402         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19404         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19405         [defined _COMPILING_NEWLIB].
19406         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19407         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19409         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19410         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19412 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19414         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19415         acquired.
19417 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19419         [BZ #17792]
19420         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19421         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19422         HOST_STACK_END_ADDR): Likewise.
19424 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19426         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19427         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19428         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19430 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19432         * sysdeps/generic/c++-types.data: New file.
19433         * sysdeps/generic/ld.abilist: New file.
19434         * sysdeps/generic/libBrokenLocale.abilist: New file.
19435         * sysdeps/generic/libanl.abilist: New file.
19436         * sysdeps/generic/libc.abilist: New file.
19437         * sysdeps/generic/libcrypt.abilist: New file.
19438         * sysdeps/generic/libdl.abilist: New file.
19439         * sysdeps/generic/libm.abilist: New file.
19440         * sysdeps/generic/libpthread.abilist: New file.
19441         * sysdeps/generic/libresolv.abilist: New file.
19442         * sysdeps/generic/librt.abilist: New file.
19444 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #17569]
19447         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19448         Compute absolute value of x as modified by fmod, not original
19449         value of x.
19450         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19451         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19452         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19453         RUN_TEST_ffI_f1_mod8.
19454         (remquo_test_data): Add more tests.
19456 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19458         * sysdeps/init_array/pt-crti.S: New file.
19460 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19462         [BZ #17967]
19463         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19464         __builtin_fmaf instead of relying on contraction of a * b + c.
19466 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19468         [BZ #17969]
19469         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19470         node.
19472 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19474         [BZ #17964]
19475         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19476         __builtin_fma instead of relying on contraction of a * b + c.
19478 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19480         * Makeconfig (ASFLAGS): Add -Werror=undef.
19481         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19482         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19483         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19485         * Makeconfig (after-link): New variable.
19486         (+link-pie, +link-pie-tests): Use it.
19487         (+link-static, +link-static-tests): Likewise.
19488         (+link, +link-tests): Likewise.
19489         * Makerules (build-module, build-module-asneeded): Likewise.
19490         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19491         Likewise.
19492         * elf/Makefile ($(objpfx)ld.so): Likewise.
19494 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19496         [BZ #17965]
19497         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19498         both struct timeval and struct timespec.
19500 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19502         [BZ #16560]
19503         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19504         and redefine.
19505         (__ieee754_exp2l): Do not multiply small fractional parts by
19506         M_LN2l.
19507         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19508         small argument.
19509         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19510         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19511         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19512         * math/auto-libm-test-in: Add more tests of exp2.
19513         * math/auto-libm-test-out: Regenerated.
19515 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19517         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19518         unaligned path.
19520 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19522         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19523         little endian.
19525 2015-02-12  Andreas Schwab  <schwab@suse.de>
19527         [BZ #15790]
19528         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19529         Filter out elision flags from value returned in kind.
19530         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19531         * nptl/tst-pthread-mutexattr.c: New file.
19533 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19535         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19536         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19537         into gnu-gnu, and update comment to refer to abi-tags.
19539 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #15467]
19542         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19543         (__sincos): Set errno to EDOM for infinite argument.
19544         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19545         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19546         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19547         (__sincosl): Set errno to EDOM for infinite argument.
19548         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19549         (__sincosl): Set errno to EDOM for infinite argument.
19550         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19551         (__sincosl): Set errno to EDOM for infinite argument.
19552         * math/libm-test.inc (sincos_test_data): Test errno setting.
19554 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19556         * string/strxfrm_l.c: Remove #define STRCMP.
19557         * string/strcoll_l.c: Remove #define STRLEN.
19558         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19559         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19561 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19563         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19564         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19565         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19566         * sysdeps/mips/mips64/Makefile: ... here.
19567         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19568         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19569         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19570         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19571         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19572         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19573         * sysdeps/mips/mips64/n64/Implies: Likewise.
19575 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19577         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19578         <sys/time.h>, <string.h>, and <errno.h>.
19579         (dest_offset, dest_address, value, zero): Remove unused variables.
19580         (ldouble): Remove typedef.
19581         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19582         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19583         1).  Fix code style.
19584         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19585         (check): Function removed.
19586         (CHECK): New macro.
19587         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19588         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19589         Don't call set_sigaction_FP and remove_sigaction_FP here.
19590         (ldouble_test): Just use 'long double' as macro argument, no need for
19591         the 'ldouble' typedef.
19592         (do_test): Set up SIGFPE handler at start, using plain signal rather
19593         than sigaction.  Fix code style.
19595 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19597         [BZ #17949]
19598         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19599         jump label.
19601 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19603         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19604         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19606         * sysdeps/powerpc/configure.ac: Remove file.
19607         * sysdeps/powerpc/configure: Likewise.
19609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19610         [sysdep_routines]: Remove wordcopy-power6 object.
19611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19612         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19614         (__memmove_ppc32): Likewise.
19615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19616         file.
19617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19618         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19619         Remove preprocessor.
19621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19622         [sysdep_routines]: Remove wide chars objects.
19623         [wcsmbs]: New rule for wide char objects.
19625         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19626         Remove wordcopy-power6 obejct.
19627         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19628         Use local call for wordcopy and memcpy symbols.
19629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19631         implementation for loader.
19632         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19634         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19635         Remove wordcopy-power7 object.
19636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19637         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19638         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19639         (_wordcopy_fwd_dest_aligned): Likewise.
19640         (_wordcopy_bwd_aligned): Likewise.
19641         (_wordcopy_bwd_dest_aligned): Likewise.
19643         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19644         Rewrite to call __memmove_ppc instead of include default
19645         implementation.
19647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19648         Remove wide chars objects.
19649         [wcsmbs]: New rule for wide char objects.
19651 2015-02-09  Andreas Schwab  <schwab@suse.de>
19653         [BZ #17912]
19654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19655         in terms of __O_DIRECTORY.
19657 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19659         * time/getdate.c: Include <stdbool.h>.
19660         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19661         call PTR_MANGLE.
19662         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19663         PTR_DEMANGLE.
19665 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19667         Add ersatz _Static_assert on older C hosts
19668         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19669         pre-C11 C platform that is not known to support _Static_assert.
19671 2015-02-07  Richard Braun  <rbraun@sceen.net>
19673         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19674         sigstate.
19675         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19677 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19679         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19680         priority against unexistent AIO_PRIO_DELTA_MAX.
19681         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19682         instead of int.
19683         * misc/fchflags.c (fchflags): Likewise.
19684         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19685         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19686         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19687         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19688         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19689         Declare macros.
19690         [__USE_MISC] (chflags, fchflags): Declare functions.
19691         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19692         EINVAL when nfds is greater than FD_SETSIZE.
19693         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19694         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19695         45.
19696         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19697         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19698         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19699         MACH_RCV_TIMED_OUT.
19700         * hurd/hurd/signal.h (_hurd_self_sigstate,
19701         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19702         Explicit casts from void *.
19703         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19704         * abi-tags: Rename gnu-gnu os into gnu.
19706         [BZ #4719]
19707         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19708         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19709         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19710         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19711         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19712         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19714         [BZ #17944]
19715         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19716         duplicates ADDR->sun_path with sockaddr LEN limitation.
19717         * sysdeps/mach/hurd/connect.c: Include <string.h>
19718         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19719         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19720         * sysdeps/mach/hurd/sendto.c: Likewise.
19721         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19722         implementing it by hand.
19724 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19726         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19727         Use sfi_breg on ldr.
19728         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19729         Likewise.
19731         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19732         it's defined.
19733         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19734         Test SIGSETXID only if it's defined.
19736         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19738         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19739         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19741         * nptl/tst-align2.c: Moved ...
19742         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19743         * nptl/Makefile (tests): Remove tst-align2.
19744         * sysdeps/unix/sysv/linux/Makefile
19745         [$(subdir) = nptl] (tests): Add tst-align-clone.
19746         * nptl/tst-getpid1.c: Moved ...
19747         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19748         * nptl/tst-getpid2.c: Moved ...
19749         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19750         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19751         * sysdeps/unix/sysv/linux/Makefile
19752         [$(subdir) = nptl] (tests): ... here.
19753         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19754         * sysdeps/unix/sysv/linux/Makefile
19755         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19757         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19758         Drop trailing \n from perror argument.  Use return rather than exit.
19760         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19761         on [SA_SIGINFO].
19762         * nptl/tst-cancel21.c (do_test): Likewise.
19763         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19764         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19765         [!SA_SIGINFO]: Make it a stub test.
19767         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19768         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19770         * posix/tst-getlogin.c: Move to ...
19771         * login/tst-getlogin.c: ... here.
19772         * posix/Makefile (tests): Move tst-getlogin to ...
19773         * login/Makefile (tests): ... here.
19775         * libio/tst-atime.c (do_test): Move local variables SV and E
19776         inside [ST_NOATIME] conditional.
19778         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19780         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19782         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19783         (wait_code): New function replaces macro.
19784         Call nanosleep rather than syscall.
19786         * nptl/pt-system.c: Rewritten.  Put everything under
19787         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19788         Use IFUNC to redirect when possible.
19790         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19791         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19792         Use IFUNC to redirect when possible.
19794         * nptl/pt-fork.c: Rewritten.  Put everything under
19795         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19796         Use IFUNC to redirect when possible.
19797         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19799         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19800         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19801         unconditionally nowadays.  This included the only reference to
19802         __vdso_clock_gettime that appears outside libc proper.
19803         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19804         Remove version set (containing only __vdso_clock_gettime).
19805         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19806         Add attribute_hidden.
19807         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19808         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19809         libc_hidden_data_def.
19810         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19811         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19813         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19814         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19815         setrpcent, and getrpcport to ...
19816         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19817         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19818         getrpcbynumber_r, and getrpcent_r to ...
19819         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19820         * inet/getrpcbyname.c: Moved ...
19821         * sunrpc/getrpcbyname.c: ... here.
19822         * inet/getrpcbyname_r.c: Moved ...
19823         * sunrpc/getrpcbyname_r.c: ... here.
19824         * inet/getrpcbynumber.c: Moved ...
19825         * sunrpc/getrpcbynumber.c: ... here.
19826         * inet/getrpcbynumber_r.c: Moved ...
19827         * sunrpc/getrpcbynumber_r.c: ... here.
19828         * inet/getrpcent.c: Moved ...
19829         * sunrpc/getrpcent.c: ... here.
19830         * inet/getrpcent_r.c: Moved ...
19831         * sunrpc/getrpcent_r.c: ... here.
19832         * inet/Makefile (routines): Move those to ...
19833         * sunrpc/Makefile (routines): ... here.
19834         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19835         the $(subdirs) list.
19836         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19837         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19838         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19839         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19841         * elf/Makefile (routines): Include $(all-dl-routines), not just
19842         $(dl-routines).
19843         (rtld-routines): Likewise.  Use = rather than :=.
19844         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19845         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19846         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19847         * sysdeps/arm/Makefile: Likewise.
19848         * sysdeps/i386/Makefile: Likewise.
19849         * sysdeps/x86_64/Makefile: Likewise.
19850         * sysdeps/hppa/Makefile [$(subdir) = elf]
19851         (sysdep_routines, sysdep-rtld-routines): Don't add
19852         $(sysdep-dl-routines) to these.
19853         * sysdeps/ia64/Makefile: Likewise.
19854         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19855         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19856         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19857         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19858         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19859         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19860         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19861         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19862         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19863         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19864         these; sysdep-dl-routines alone is enough.
19866 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19868         [BZ #17932]
19869         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19870         where multiplication results in zero and third argument is finite
19871         and nonzero.
19872         * math/auto-libm-test-in: Add more tests of fma.
19873         * math/auto-libm-test-out: Regenerated.
19875         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19876         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19877         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19878         (_FP_CMP_EQ): Likewise.
19879         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19881         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19882         extra argument CHECK_NAN.  Redefine as wrapper around
19883         _FP_EXTEND_CNAN.
19885 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19887         * version.h (RELEASE): Set to "stable".
19888         (VERSION): Set to "2.21"
19889         * include/features.h (__GLIBC_MINOR__): Set to 21.
19891         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19893 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19894             Paul Eggert  <eggert@cs.ucla.edu>
19896         [BZ #16618]
19897         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19898         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19899         size in bytes. Store needed elements in wpmax. Use needed size
19900         in bytes for extend_alloca.
19902 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19904         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19905         binutls 2.25, and texinfo 5.2.
19906         * INSTALL: Regenerate.
19907         * sysdeps/nios2/configure: Regenerate.
19908         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19909         * manual/contrib.texi: Update.
19910         * po/be.po: Update.
19911         * po/bg.po: Update.
19912         * po/ca.po: Update.
19913         * po/cs.po: Update.
19914         * po/da.po: Update.
19915         * po/de.po: Update.
19916         * po/el.po: Update.
19917         * po/eo.po: Update.
19918         * po/es.po: Update.
19919         * po/fi.po: Update.
19920         * po/fr.po: Update.
19921         * po/gl.po: Update.
19922         * po/hr.po: Update.
19923         * po/hu.po: Update.
19924         * po/ia.po: Update.
19925         * po/id.po: Update.
19926         * po/it.po: Update.
19927         * po/ja.po: Update.
19928         * po/ko.po: Update.
19929         * po/lt.po: Update.
19930         * po/nb.po: Update.
19931         * po/nl.po: Update.
19932         * po/pl.po: Update.
19933         * po/pt_BR.po: Update.
19934         * po/ru.po: Update.
19935         * po/rw.po: Update.
19936         * po/sk.po: Update.
19937         * po/sl.po: Update.
19938         * po/sv.po: Update.
19939         * po/tr.po: Update.
19940         * po/uk.po: Update.
19941         * po/vi.po: Update.
19942         * po/zh_CN.po: Update.
19943         * po/zh_TW.po: Update.
19945         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19946         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19947         * sysdeps/hppa/dl-irel.h: Remove #warning.
19948         * sysdeps/hppa/entry.h: Provide prototype for
19949         __canonicalize_funcptr_for_compare and cast argument.
19950         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19951         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19952         * sysdeps/hppa/sotruss-lib.c: New file.
19953         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19954         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19955         (atomic_compare_and_exchange_bool_acq): Likewise.
19956         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19957         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19959         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19960         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19961         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19963 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19965         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19966         called function in non-PIC case.
19968 2015-01-31  David S. Miller  <davem@davemloft.net>
19970         * sysdeps/sparc/sparc32/bits/atomic.h
19971         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19972         unlock not after it.
19973         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19974         volatile register usage warnings from the compiler.
19976         * sysdeps/sparc/nptl/sem_init.c: Delete.
19977         * sysdeps/sparc/nptl/sem_post.c: Delete.
19978         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19979         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19980         * sysdeps/sparc/sparc32/sem_init.c: New file.
19981         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19982         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19983         padding explicitly initialized.
19984         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19985         padding for in-semaphore spinlock.
19986         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19987         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19988         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19989         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19990         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19991         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19992         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19993         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19994         version.
19995         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19996         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19998 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20000         [BZ #17801]
20001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20002         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20003         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20004         New.
20005         (index_AVX_Fast_Unaligned_Load): Likewise.
20006         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20007         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20008         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20009         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20010         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20011         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20012         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20013         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20014         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20016 2015-01-29  Andreas Schwab  <schwab@suse.de>
20018         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20020 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20022         [BZ #17892]
20023         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20025 2015-01-28  Martin Sebor  <msebor@redhat.com>
20027         * math/README.libm-test: Clarify. Add "How to read the test output."
20029 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20031         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20032         Define to 0.
20034 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20036         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20037         (__HAVE_64B_ATOMICS): Define to 0.
20039 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20041         [BZ #17885]
20042         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20043         value to set as new flag.
20045         [BZ #16576]
20046         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20047         and use _ARCH_PPCSQ instead.
20048         (__ieee754_sqrt): Likewise.
20049         (__ieee754_sqrtf): Likewise.
20050         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20051         _ARCH_PPCSQ is defined.
20052         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20053         fsqrt instruction.
20054         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20055         _ARCH_PPCSQ is defined.
20056         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20057         fsqrts instruction.
20058         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20060 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20062         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20063         bug (GCC BZ #64739).
20065 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20068         Mark _retval as used.
20069         (lll_futex_wake_unlock): Likewise.
20070         (lll_futex_timed_wait_requeue_pi): Likewise.
20072         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20073         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20074         register variables.
20076         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20077         libm_hidden_def.
20079         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20080         (__bswap_64): Mark as __always_inline.
20082 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20084         [BZ #15378]
20085         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20086         when none of the search directories exist.
20088 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20090         [BZ #17869]
20091         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20092         power8 in .machine directive.
20094         [BZ #17868]
20095         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20096         set dependency from opd value.
20098 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20101         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20102         architecture.
20104 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20106         [BZ #17870]
20107         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20108         with uint64_t.
20109         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20110         (uint64_t) 1.
20111         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20112         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20113         Replace 1UL with (uint64_t) 1.
20114         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20115         int with uint64_t.
20117 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20119         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20120         (if_freenameindex): Likewise.
20122         * resource/getrlimit64.c: Add missing libc_hidden_def.
20124 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20126         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20127         __label__.
20128         (_FP_FMA): Likewise.
20129         (_FP_TO_INT_ROUND): Likewise.
20130         (_FP_FROM_INT): Likewise.
20132 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20134         [BZ #16418]
20135         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20136         Make code racy and cancel safe.
20138 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20140         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20141         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20142         attribution.
20144         * pwd/tst-getpw.c: Rewrite.
20146         [BZ #17702]
20147         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20148         (modules-names): Add moddummy1 and moddummy2.
20149         ($(objpfx)tst-rec-dlopen): Define.
20150         * dlfcn/moddummy1.c: New file.
20151         * dlfcn/moddummy2.c: New file.
20152         * dlfcn/tst-rec-dlopen.c: New file.
20153         * elf/dl-cache.c (_dl_load_cache_lookup):
20154         Return char*. Copy result with alloca/strcpy/strdup.
20155         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20156         returns char*. Free cached. If not saving realname
20157         free cached.
20158         * elf/dl-open.c (dl_open_worker): Do not assert that
20159         _r_debug->r_state is RT_CONSISTENT.
20160         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20161         returns char*.
20163 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20164             Carlos O'Donell  <carlos@redhat.com>
20166         [BZ #12674]
20167         * nptl/sem_waitcommon.c: New file.
20168         * nptl/sem_wait.c: Include sem_waitcommon.c.
20169         (__sem_wait_cleanup, do_futex_wait): Remove.
20170         (__new_sem_wait): Adapt.
20171         (__new_sem_trywait): New function.
20172         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20173         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20174         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20175         (sem_timedwait): Adapt.
20176         * nptl/sem_post.c (__new_sem_post): Adapt.
20177         (futex_wake): New function.
20178         (__old_sem_post): Add release MO fence.
20179         * nptl/sem_open.c (sem_open): Adapt.
20180         * nptl/sem_init.c (__new_sem_init): Adapt.
20181         (futex_private_if_supported): New function.
20182         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20183         (__old_sem_getvalue): Add using previous code.
20184         * sysdeps/nptl/internaltypes.h: Adapt.
20185         * nptl/tst-sem13.c (do_test): Adapt.
20186         * nptl/tst-sem11.c (main): Adapt.
20187         * nptl/sem_trywait.c: Remove.
20188         * nptl/DESIGN-sem.txt: Remove.
20189         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20190         (gen-as-const-headers): Remove structsem.sym.
20191         * nptl/structsem.sym: Remove.
20192         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20193         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20194         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20195         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20196         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20197         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20198         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20199         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20200         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20201         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20202         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20203         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20204         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20205         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20206         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20207         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20208         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20209         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20210         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20211         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20212         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20213         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20215 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20217         * INSTALL: Regenerated.
20219         * po/libc.pot: Regenerated.
20221 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20222             Sandra Loosemore  <sandra@codesourcery.com>
20223             Andrew Jenner  <andrew@codesourcery.com>
20224             Joseph Myers  <joseph@codesourcery.com>
20225             Nathan Sidwell  <nathan@codesourcery.com>
20227         * NEWS: Mention new Nios II port.
20228         * sysdeps/nios2/Implies: New file.
20229         * sysdeps/nios2/Makefile: New file.
20230         * sysdeps/nios2/Subdirs: New file.
20231         * sysdeps/nios2/Versions: New file.
20232         * sysdeps/nios2/__longjmp.S: New file.
20233         * sysdeps/nios2/abort-instr.h: New file.
20234         * sysdeps/nios2/backtrace.c: New file.
20235         * sysdeps/nios2/bits/endian.h: New file.
20236         * sysdeps/nios2/bits/fenv.h: New file.
20237         * sysdeps/nios2/bits/link.h: New file.
20238         * sysdeps/nios2/bits/setjmp.h: New file.
20239         * sysdeps/nios2/bsd-_setjmp.S: New file.
20240         * sysdeps/nios2/bsd-setjmp.S: New file.
20241         * sysdeps/nios2/configure: New generated file.
20242         * sysdeps/nios2/configure.ac: New file.
20243         * sysdeps/nios2/crti.S: New file.
20244         * sysdeps/nios2/crtn.S: New file.
20245         * sysdeps/nios2/dl-init.c: New file.
20246         * sysdeps/nios2/dl-machine.h: New file.
20247         * sysdeps/nios2/dl-sysdep.h: New file.
20248         * sysdeps/nios2/dl-tls.h: New file.
20249         * sysdeps/nios2/dl-trampoline.S: New file.
20250         * sysdeps/nios2/gccframe.h: New file.
20251         * sysdeps/nios2/gmp-mparam.h: New file.
20252         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20253         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20254         * sysdeps/nios2/ldsodefs.h: New file.
20255         * sysdeps/nios2/libc-tls.c: New file.
20256         * sysdeps/nios2/libm-test-ulps: New file.
20257         * sysdeps/nios2/machine-gmon.h: New file.
20258         * sysdeps/nios2/math-tests.h: New file.
20259         * sysdeps/nios2/math_private.h: New file.
20260         * sysdeps/nios2/memusage.h: New file.
20261         * sysdeps/nios2/nptl/Makefile: New file.
20262         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20263         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20264         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20265         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20266         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20267         * sysdeps/nios2/nptl/tls.h: New file.
20268         * sysdeps/nios2/preconfigure: New file.
20269         * sysdeps/nios2/s_fma.c: New file.
20270         * sysdeps/nios2/s_fmaf.c: New file.
20271         * sysdeps/nios2/setjmp.S: New file.
20272         * sysdeps/nios2/sfp-machine.h: New file.
20273         * sysdeps/nios2/sotruss-lib.c: New file.
20274         * sysdeps/nios2/stackguard-macros.h: New file.
20275         * sysdeps/nios2/stackinfo.h: New file.
20276         * sysdeps/nios2/start.S: New file.
20277         * sysdeps/nios2/sysdep.h: New file.
20278         * sysdeps/nios2/tls-macros.h: New file.
20279         * sysdeps/nios2/tst-audit.h: New file.
20280         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20281         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20282         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20283         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20284         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20285         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20286         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20287         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20288         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20289         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20290         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20291         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20292         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20293         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20294         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20295         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20296         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20297         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20298         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20299         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20300         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20301         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20302         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20303         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20304         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20305         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20306         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20307         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20308         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20309         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20310         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20311         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20312         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20313         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20314         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20315         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20316         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20317         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20318         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20319         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20320         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20321         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20322         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20323         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20325 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20327         [BZ #17844]
20328         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20329         (getutent): Use weak_alias in non SHARED case
20330         and default_symbol_version in SHARED case.
20331         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20332         (getutent_r, pututline): Likewise.
20333         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20334         (getutid): Likewise.
20335         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20336         (getutid_r): Likewise.
20337         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20338         (getutline): Likewise.
20339         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20340         (getutline_r): Likewise.
20341         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20342         (updwtmp): Likewise.
20344 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20346         [BZ #17848]
20347         * sysdeps/s390/s390-32/memcmp.S
20348         (memcmp_g5): Rename to __memcmp_g5.
20349         * sysdeps/s390/s390-32/memcpy.S
20350         (memcpy_g5): Rename to __memcpy_g5.
20351         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20352         (memcpy_mvcle) Rename to __memcpy_mvcle.
20353         * sysdeps/s390/s390-32/memset.S
20354         (memset_g5): Rename to __memset_g5.
20355         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20356         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20357         and use prefixed functions.
20358         * sysdeps/s390/s390-32/multiarch/memcmp.S
20359         (memcmp_z196): Rename to __memcmp_z196.
20360         (memcmp_z10): Rename to __memcmp_z10.
20361         (memcmp): Set alias to __memcmp_g5.
20362         (bcmp): Set alias to __memcmp_g5.
20363         * sysdeps/s390/s390-32/multiarch/memcpy.S
20364         (memcpy_z196): Rename to __memcpy_z196.
20365         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20366         (memcpy_z10): Rename to __memcpy_z10.
20367         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20368         (memcpy): Set alias to __memcpy_g5.
20369         * sysdeps/s390/s390-32/multiarch/memset.S
20370         (memset_z196): Rename to __memset_z196.
20371         Jump to __memset_mvcle instead of memset_mvcle.
20372         (memset_z10): Rename to __memset_z10.
20373         Jump to __memset_mvcle instead of memset_mvcle.
20374         (memset_mvcle) Rename to __memset_mvcle.
20375         (memset): Set alias to __memset_g5.
20376         * sysdeps/s390/s390-64/memcmp.S
20377         (memcmp_z900): Rename to __memcmp_z900.
20378         * sysdeps/s390/s390-64/memcpy.S
20379         (memcpy_z900): Rename to __memcpy_z900.
20380         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20381         (memcpy_mvcle) Rename to __memcpy_mvcle.
20382         * sysdeps/s390/s390-64/memset.S
20383         (memset_z900): Rename to __memset_z900.
20384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20385         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20386         and use prefixed functions.
20387         * sysdeps/s390/s390-64/multiarch/memcmp.S
20388         (memcmp_z196): Rename to __memcmp_z196.
20389         (memcmp_z10): Rename to __memcmp_z10.
20390         (memcmp): Set alias to __memcmp_z900.
20391         (bcmp): Set alias to __memcmp_z900.
20392         * sysdeps/s390/s390-64/multiarch/memcpy.S
20393         (memcpy_z196): Rename to __memcpy_z196.
20394         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20395         (memcpy_z10): Rename to __memcpy_z10.
20396         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20397         (memcpy): Set alias to __memcpy_z900.
20398         * sysdeps/s390/s390-64/multiarch/memset.S
20399         (memset_z196): Rename to __memset_z196.
20400         Jump to __memset_mvcle instead of memset_mvcle.
20401         (memset_z10): Rename to __memset_z10.
20402         Jump to __memset_mvcle instead of memset_mvcle.
20403         (memset_mvcle) Rename to __memset_mvcle.
20404         (memset): Set alias to __memset_z900.
20406 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20408         [BZ #17748]
20409         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20410         __fesetenv instead of fesetenv.
20412 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20414         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20415         macro.
20417 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20419         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20420         regression on LE.
20422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20423         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20425         strncmp-power8 object.
20426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20427         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20428         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20429         * NEWS: Update.
20431 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20432             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20434         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20435         trailing byte check.
20437 2015-01-13  David S. Miller  <davem@davemloft.net>
20439         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20441 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20443         * login/logout.c (logout): Use memset rather than bzero.
20444         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20445         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20446         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20447         (_gethtbyaddr): Likewise.
20448         * locale/programs/simple-hash.c (bcopy): Macro removed.
20450 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20452         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20453         Add strcmp-power8 object.
20454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20455         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20456         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20457         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20458         __strcmp_power8 implementation.
20459         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20460         * NEWS: Update.
20462         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20463         Add strncpy-power8 and stpncpy-power8 objects.
20464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20465         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20466         implementations.
20467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20468         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20469         __stpncpy_power8 implementation.
20470         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20471         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20472         __strncpy_power8 implementation.
20473         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20474         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20475         * NEWS: Update.
20477         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20478         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20479         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20481         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20482         strncat-power8 object.
20483         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20484         __strcat_power8 implementation.
20485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20486         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20487         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20488         optimized strcat for power8.
20490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20491         strcpy-power8 and stpcpy-power8 objects.
20492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20493         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20494         implementations.
20495         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20496         multiarch stpcpy implementation for POWER8.
20497         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20498         multiarch strcpy implementation for POWER8.
20499         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20500         __strcpy_power8 function.
20501         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20502         stpcpy for POWER8.
20503         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20504         strcpy for POWER8.
20505         * NEWS: Update.
20507 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20509         [BZ #16009]
20510         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20511         weights and rules. Use do_xfrm_cached if data fits in cache,
20512         do_xfrm otherwise.  Moved former main loop to...
20513         * (do_xfrm_cached): New function.
20514         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20515         find_idx, find_position and stack_push.
20516         * (find_idx): New function.
20517         * (find_position): Likewise.
20518         * localedata/sort-test.sh: Added test run for do_xfrm.
20519         * localedata/xfrm-test.c (main): Added command line option
20520         -nocache to run the test with strings that are too large for
20521         the STRXFRM cache.
20523 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20525         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20526         variable to lll_futex_wake call, not the value itself.
20528 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20530         [BZ #17803]
20531         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20532         twom64.  Adjust value to 0x1p-64L.
20533         (__scalblnl): Only return standard underflowing result for K <=
20534         -64 not K <= -63; adjust exponent for underflowing result by 64
20535         not 63.
20536         * math/libm-test.inc (scalbn_test_data): Add more tests.
20537         (scalbln_test_data): Likewise.
20539         [BZ #17834]
20540         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20541         0x1p63L.
20542         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20543         not HX.
20544         * math/libm-test.inc (scalbn_test_data): Add more tests.
20545         (scalbln_test_data): Likewise.
20547 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20548             Stefani Seibold  <stefani@seibold.net>
20550         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20551         (sysdep_routines): Add dl-vdso here, ...
20552         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20553         (sysdep_routines): ... not here.
20554         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20555         fallback when vDSO is not presented.
20556         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20557         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20558         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20559         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20560         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20561         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20562         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20563         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20564         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20566         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20567         fallback configurable symbol when vDSO is not available.
20568         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20569         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20570         be able to redefine fallback symbol when vDSO is not available.
20571         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20572         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20574 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20576         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20577         (TLS_INIT_TP): Add tm_capable initialization.
20578         (TLS_DEFINE_INIT_TP): Likewise.
20579         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20580         TCB.
20581         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20582         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20583         calculation.
20584         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20585         transactoion is lock elision is built and TCB tm_capable is set.
20586         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20588         (INTERNAL_SYSCALL_NCS): Likewise.
20589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20590         (INTERNAL_SYSCALL_NCS): Likewise.
20591         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20593         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20594         for powerpc.
20595         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20596         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20597         and remove it for 32 bits case.
20598         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20600         initialization.
20601         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20602         Disable lock elision with rdlocks if elision is not available.
20604         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20605         (sysdep_routines): Add lock elision objects.
20606         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20607         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20608         [pthread_mutex_t] (__elision): Add field.
20609         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20610         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20611         elision definitions for powerpc.
20612         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20613         implementation of lock elision for powerpc.
20614         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20615         implementation of timed lock elision for powerpc.
20616         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20617         implementation of trylock with lock elision for powerpc.
20618         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20619         implementaion of unlock for lock elision for powerpc.
20620         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20621         automatic enable lock elision for mutexes.
20622         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20623         transaction execution definitions for powerpc.
20624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20625         definitions.
20626         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20627         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20628         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20629         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20630         * NEWS: Update.
20632 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20634         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20635         for #include of <shm-directory.h>.
20637 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20640         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20642 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20644         [BZ #17791]
20645         * NEWS: Mention bug fix.
20646         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20647         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20648         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20650 2015-01-09  Torvald Riegel <triegel@redhat.com>
20652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20654 2015-01-09  Torvald Riegel <triegel@redhat.com>
20656         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20658 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20660         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20661         pointer and cast to uintptr_t.
20663 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20665         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20666         removed.
20667         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20669 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20671         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20672         of 0.
20674 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20676         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20677         <nptl/pthreadP.h> instead.
20678         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20680         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20681         already defined.
20682         [__SIGRTMIN] (init): Function removed.
20683         [__SIGRTMIN] (initialized): Variable removed.
20684         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20685         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20686         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20687         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20688         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20689         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20690         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20691         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20692         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20693         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20694         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20695         * sysdeps/nptl/allocrtsig.c: New file.
20696         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20697         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20698         * sysdeps/generic/testrtsig.h: File removed.
20700         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20701         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20703         * nptl/nptl-init.c (pthread_functions): Conditionalize
20704         .ptr__nptl_setxid initialization on [SIGSETXID].
20706         * sysdeps/nptl/sys/procfs.h: New file.
20707         * nptl_db/Makefile (headers): Add it.
20708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20710         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20711         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20712         * nptl/pthread_attr_setaffinity.c: Include it.
20713         * nptl/pthread_setattr_default_np.c: Likewise.
20714         * nptl/check-cpuset.h: New file.
20716 2015-01-08  Richard Henderson  <rth@redhat.com>
20718         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20719         (CFLAGS-tst-execstack-prog.c): Likewise.
20720         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20722 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20723             Sandra Loosemore  <sandra@codesourcery.com>
20724             Andrew Jenner  <andrew@codesourcery.com>
20725             Joseph Myers  <joseph@codesourcery.com>
20726             Nathan Sidwell  <nathan@codesourcery.com>
20728         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20729         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20730         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20731         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20732         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20733         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20734         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20735         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20736         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20737         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20738         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20739         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20740         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20741         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20742         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20743         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20744         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20746 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20748         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20749         timespec struct member in syscall macro.
20750         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20751         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20752         first timeval struct member in syscall macro.
20753         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20755 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20757         [BZ #17748]
20758         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20759         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20760         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20761         __feupdateenv and define as weak alias of __feupdateenv.  Use
20762         libm_hidden_weak.
20763         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20764         libm_hidden_def.
20765         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20766         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20767         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20768         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20769         libm_hidden_def.
20770         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20771         __feupdateenv and define as weak alias of __feupdateenv.  Use
20772         libm_hidden_weak.
20773         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20774         libm_hidden_def.
20775         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20776         __feupdateenv and define as weak alias of __feupdateenv.  Use
20777         libm_hidden_weak.
20778         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20779         libm_hidden_def.
20780         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20781         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20782         (__feupdateenv): Likewise.
20783         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20784         __feupdateenv and define as weak alias of __feupdateenv.  Use
20785         libm_hidden_weak.
20786         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20787         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20788         libm_hidden_def.
20789         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20790         function.
20791         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20792         libm_hidden_def.
20793         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20794         __feupdateenv instead of feupdateenv.
20795         (default_libc_feupdateenv_test): Likewise.
20796         (libc_feresetround_ctx): Likewise.
20798 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20800         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20801         prototype.
20803 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20805         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20806         COLL_SYM in a couple of places to avoid uninitialized variable
20807         wanings on tilegx gcc 4.8.2.
20809 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20811         * sysdeps/aarch64/strcpy.S: New file.
20812         * sysdeps/aarch64/stpcpy.S: New file.
20813         * NEWS: Updated.
20815 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20817         * sysdeps/aarch64/strrchr.S: New file.
20818         * NEWS: Updated.
20820 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20822         [BZ #17658]
20823         * stdlib/setenv.c: Fix memory leak when setting large,
20824         duplicate string.
20826 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20828         [BZ #17273]
20829         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20830         and tabs from buffer before parsing fstab entry.
20831         * misc/tst-mntent.c (main): Add test for mount entry with
20832         trailing spaces and tabs.
20834 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20836         [BZ #17748]
20837         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20838         * math/fesetround.c (fesetround): Rename to __fesetround and
20839         define as weak alias of __fesetround.  Use libm_hidden_weak.
20840         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20841         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20842         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20843         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20844         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20845         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20846         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20847         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20848         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20849         __fesetround_inline.
20850         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20851         __fesetround_inline instead of __fesetround.
20852         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20853         __fesetround and define as weak alias of __fesetround.  Use
20854         libm_hidden_weak.  Call __fesetround_inline instead of
20855         __fesetround.
20856         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20857         __fesetround and define as weak alias of __fesetround.  Use
20858         libm_hidden_weak.
20859         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20860         Likewise.
20861         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20862         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20863         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20864         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20865         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20866         __fesetround and define as weak alias of __fesetround.  Use
20867         libm_hidden_weak.
20868         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20869         __fesetround instead of fesetround.
20870         (default_libc_feholdexcept_setround): Likewise.
20871         (libc_feholdsetround_ctx): Likewise.
20872         (libc_feholdsetround_noex_ctx): Likewise.
20874         [BZ #17748]
20875         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20876         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20877         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20878         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20879         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20880         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20881         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20882         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20883         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20884         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20885         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20886         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20887         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20888         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20889         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20890         libm_hidden_def.
20891         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20892         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20893         Likewise.
20894         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20895         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20896         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20897         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20898         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20899         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20900         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20901         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20902         __fesetenv instead of fesetenv.
20903         (libc_feresetround_noex_ctx): Likewise.
20904         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20905         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20906         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20907         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20908         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20909         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20910         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20911         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20912         (__feupdateenv): Likewise.
20913         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20914         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20915         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20916         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20918 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20920         [BZ #17806]
20921         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20922         addresses have been freed.
20924 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20926         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20927         and nservall.
20929 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20931         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20932         Clean up check_pf allocation pattern. addresses
20934 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20936         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20937         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20938         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20939         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20940         * nptl/pthread_join.c (pthread_join): Likewise.
20941         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20942         * sysdeps/posix/waitid.c (__waitid): Likewise.
20943         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20944         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20945         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20946         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20947         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20948         Likewise.
20949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20950         (__libc_pread64): Likewise.
20951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20952         (__libc_pwrite): Likewise.
20953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20954         (__libc_pwrite64): Likewsie.
20955         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20956         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20957         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20958         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20959         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20960         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20961         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20963         Likewise.
20964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20965         (__libc_pread64): Likewise.
20966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20967         Likewise.
20968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20969         (__libc_pwrite64): Likewise.
20970         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20971         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20972         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20973         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20974         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20975         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20976         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20977         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20978         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20979         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20980         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20981         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20982         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20983         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20984         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20985         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20986         Likewise.
20988 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20990         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20991         (CFLAGS-test-double.c): Likewise.
20992         (CFLAGS-test-ldouble.c): Likewise.
20993         (CPPFLAGS-test-ifloat.c): Likewise.
20994         (CPPFLAGS-test-idouble.c): Likewise.
20995         (CPPFLAGS-test-ildoubl.c): Likewise.
20996         (CFLAGS-test-test-fenv.c): Remove variable.
20997         (CFLAGS-test-misc.c): Likewise.
20999 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21001         [BZ #17797]
21002         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21003         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21004         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21005         CLOCKS_PER_SEC == 1000000.
21006         * time/clocktest.c (main): Replace %ld with %jd and cast to
21007         intmax_t.
21009 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21011         * sysdeps/generic/unwind-resume.h: New file.
21012         * sysdeps/gnu/unwind-resume.c: Include it.
21013         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21014         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21015         argument list.
21016         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21017         global rather than static.
21018         (_Unwind_Resume): Update user.
21019         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21020         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21021         rather than static.  Add __attribute__ ((cold)).
21022         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21023         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21024         * sysdeps/arm/arm-unwind-resume.S: New file.
21025         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21026         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21027         * sysdeps/arm/Makefile [$(subdir) = csu]
21028         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21029         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21030         Add rt-arm-unwind-resume.
21031         [$(subdir) = nptl]
21032         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21033         Add pt-arm-unwind-resume.
21034         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21035         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21037 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21039         [BZ #17748]
21040         * include/fenv.h (__feholdexcept): Declare.  Use
21041         libm_hidden_proto.
21042         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21043         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21044         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21045         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21046         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21047         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21048         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21049         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21050         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21051         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21052         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21053         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21054         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21055         (feholdexcept): Likewise.
21056         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21057         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21058         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21059         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21060         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21061         __feholdexcept instead of feholdexcept.
21062         (default_libc_feholdexcept_setround): Likewise.
21064 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21066         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21067         to avoid using stl/str to align destination.
21069 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21071         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21073 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #17796]
21076         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21077         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21078         Define as weak alias not strong alias.
21080 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21082         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21083         bltzal with addiupc.
21084         (RTLD_START): Ditto.
21086 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21088         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21089         for __vdso_* functions in declarations.
21090         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21091         definitions.
21092         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21093         INTERNAL_VSYSCALL): Use struct return types to check for error.
21095         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21096         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21097         function with cast from llround().
21098         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21099         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21100         Define.
21102 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21104         [BZ #17793]
21105         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21106         Define as weak alias not strong alias.
21108         [BZ #17635]
21109         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21110         ...
21111         * ctype/ctype-extn.c: ... here.
21112         (__isblank_l): Move to ...
21113         * ctype/ctype-c99_l.c: ... here.  New file.
21114         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21115         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21116         Remove variable.
21117         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21118         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21119         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21120         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21121         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21123         [BZ #17777]
21124         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21125         (posix_fadvise64): Define as weak alias not strong alias.
21126         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21127         (posix_fallocate64): Likewise.
21128         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21129         Remove variable.
21130         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21131         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21132         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21133         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21134         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21136 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21138         [BZ #16191]
21139         * NEWS: Mention bug fix.
21140         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21141         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21142         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21143         (HOST_STACK_END_ADDR): Likewise.
21145 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21147         [BZ #17748]
21148         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21149         * math/fegetround.c (fegetround): Rename to __fegetround and
21150         define as weak alias of __fegetround.  Use libm_hidden_weak.
21151         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21152         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21153         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21154         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21155         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21156         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21157         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21158         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21159         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21160         Undefine after rather than before function definition; use
21161         parentheses around function name in definition.
21162         (__fegetround): Also undefine macro after function definition.
21163         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21164         __fegetround and define as weak alias of __fegetround.  Use
21165         libm_hidden_weak.  Do not undefine as macro.
21166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21167         Likewise.
21168         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21169         __fegetround and define as weak alias of __fegetround.  Use
21170         libm_hidden_weak.
21171         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21172         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21173         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21174         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21175         __fegetround and define as weak alias of __fegetround.  Use
21176         libm_hidden_weak.
21177         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21178         __fegetround instead of fegetround.
21180         [BZ #17782]
21181         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21182         Condition macro definition on [__USE_MISC].
21184         [BZ #17781]
21185         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21186         (struct sigaction): Change type of sa_flags field to int.
21188         [BZ #17780]
21189         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21190         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21191         __glibc_reserved0.
21193         * nptl/version.c (banner): Use single year in copyright notice.
21195         * NEWS: Update copyright dates.
21196         * catgets/gencat.c (print_version): Likewise.
21197         * csu/version.c (banner): Likewise.
21198         * debug/catchsegv.sh: Likewise.
21199         * debug/pcprofiledump.c (print_version): Likewise.
21200         * debug/xtrace.sh (do_version): Likewise.
21201         * elf/ldconfig.c (print_version): Likewise.
21202         * elf/ldd.bash.in: Likewise.
21203         * elf/pldd.c (print_version): Likewise.
21204         * elf/sotruss.sh: Likewise.
21205         * elf/sprof.c (print_version): Likewise.
21206         * iconv/iconv_prog.c (print_version): Likewise.
21207         * iconv/iconvconfig.c (print_version): Likewise.
21208         * locale/programs/locale.c (print_version): Likewise.
21209         * locale/programs/localedef.c (print_version): Likewise.
21210         * login/programs/pt_chown.c (print_version): Likewise.
21211         * malloc/memusage.sh (do_version): Likewise.
21212         * malloc/memusagestat.c (print_version): Likewise.
21213         * malloc/mtrace.pl: Likewise.
21214         * manual/libc.texinfo: Likewise.
21215         * nptl/version.c (banner): Likewise.
21216         * nscd/nscd.c (print_version): Likewise.
21217         * nss/getent.c (print_version): Likewise.
21218         * nss/makedb.c (print_version): Likewise.
21219         * posix/getconf.c (main): Likewise.
21220         * scripts/test-installation.pl: Likewise.
21221         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21223 2015-01-02  Will Newton  <will.newton@linaro.org>
21225         * sysdeps/arm/armv7/configure: Removed.
21226         * sysdeps/arm/armv7/configure.ac: Likewise.
21228 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21230         * All files with FSF copyright notices: Update copyright dates
21231         using scripts/update-copyrights.
21232         * intl/plural.c: Regenerated.
21233         * locale/programs/charmap-kw.h: Likewise.
21234         * locale/programs/locfile-kw.h: Likewise.
21236 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21238         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21240 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21242         [BZ #17748]
21243         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21244         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21245         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21246         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21247         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21248         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21249         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21250         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21251         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21252         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21253         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21254         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21255         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21256         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21257         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21258         libm_hidden_def.
21259         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21261         Likewise.
21262         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21263         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21264         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21265         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21266         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21267         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21268         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21269         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21270         __fegetenv instead of fegetenv.
21271         (libc_feholdsetround_noex_ctx): Likewise.
21273 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21275         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21276         (Elf_MIPS_ABIFlags_v0): New structure.
21277         (EF_MIPS_FP64): Define.
21278         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21279         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21280         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21281         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21282         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21283         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21284         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21285         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21286         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21287         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21288         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21289         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21290         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21291         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21292         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21293         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21294         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21295         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21296         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21297         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21298         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21299         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21300         field.
21301         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21302         EF_MIPS_FP64.
21303         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21304         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21305         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21306         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21307         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21308         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21309         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21310         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21311         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21312         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21313         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21314         record the current FP ABI extension.
21315         (mips-mode-switch): Define to show if kernel headers support mode
21316         switching.
21317         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21318         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21319         supported SYSV ABI version to 3.
21320         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21321         feature.
21323 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21324             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21326         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21327         path.
21328         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21330 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21332         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21333         __fegetround and redefine to call __fegetround.  Remove condition
21334         on [!__NO_MATH_INLINES].
21335         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21336         function.
21337         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21339         Remove macro.
21340         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21341         instead of <fenv_libc.h>.
21342         (__llrintl): Call fegetround instead of __fegetround.
21343         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21344         instead of <fenv_libc.h>.
21345         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21346         (__lrintl): Call fegetround instead of __fegetround.
21347         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21348         instead of <fenv_libc.h>.
21349         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21350         (__rintl): Call fegetround instead of __fegetround.
21352 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21354         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21355         arrays.
21357 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21359         [BZ #17775]
21360         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21361         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21362         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21364 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21366         * sysdeps/i386/tls-macros.h: Include <features.h>.
21367         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21368         (TLS_IE): Likewise.
21369         (TLS_LD): Likewise.
21370         (TLS_GD): Likewise.
21371         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21372         define for GCC >= 5.0.
21374 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21376         * math/test-fenv.c (test_single_exception, set_single_exc,
21377         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21378         feexcp_mask_test, feenable_test, fe_single_test): Add
21379         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21380         case where they are not used.
21381         * math/libm-test.inc: Likewise.
21382         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21383         unused in the absence of FP rounding/exception support.
21384         * stdio-common/tst-printf-round.c: Likewise.
21385         * stdlib/tst-strtod-round.c: Likewise.
21386         * stdlib/tst-strtod-underflow.c: Likewise.
21388 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21390         [BZ #17723]
21391         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21392         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21393         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21394         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21395         libm_hidden_weak.
21396         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21397         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21398         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21399         libm_hidden_def.
21400         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21401         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21402         libm_hidden_weak.
21403         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21404         Likewise.
21405         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21406         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21408         libm_hidden_weak.
21409         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21410         libm_hidden_def.
21411         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21412         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21413         (__feraiseexcept): Likewise.
21414         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21415         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21416         libm_hidden_weak.
21417         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21418         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21419         libm_hidden_def.
21420         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21421         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21422         Use libm_hidden_def.
21423         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21424         libm_hidden_def.
21425         (feraiseexcept): Define as weak not strong alias.  Use
21426         libm_hidden_weak.
21427         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21428         New inline function.  Factored out of ...
21429         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21430         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21431         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21432         feraiseexcept.
21433         * math/w_acos.c (__acos): Likewise.
21434         * math/w_asin.c (__asin): Likewise.
21435         * math/w_ilogb.c (__ilogb): Likewise.
21436         * math/w_j0.c (y0): Likewise.
21437         * math/w_j1.c (y1): Likewise.
21438         * math/w_jn.c (yn): Likewise.
21439         * math/w_log.c (__log): Likewise.
21440         * math/w_log10.c (__log10): Likewise.
21441         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21442         * sysdeps/aarch64/fpu/math_private.h
21443         (libc_feupdateenv_test_aarch64): Likewise.
21444         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21445         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21446         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21447         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21448         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21449         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21450         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21451         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21452         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21453         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21455 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21457         [BZ #17732]
21458         * io/test-utime.c (main): Replace %ld with %jd and cast to
21459         intmax_t.
21460         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21461         * nptl/tst-mutex5.c: Include <stdint.h>.
21462         (do_test): Replace %ld with %jd and cast to intmax_t.
21463         * posix/tst-regex.c (run_test): Likewise.
21464         (run_test_backwards): Likewise.
21465         * rt/tst-clock.c: Include <stdint.h>.
21466         (clock_test): Replace %ld with %jd and cast to intmax_t.
21467         * rt/tst-cpuclock1.c: Include <stdint.h>.
21468         (do_test): Replace %lu with %ju and cast to uintmax_t.
21469         * rt/tst-cpuclock2.c: Include <stdint.h>.
21470         (do_test): Replace %lu with %ju and cast to uintmax_t.
21471         * rt/tst-mqueue1.c: Include <stdint.h>.
21472         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21473         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21474         intmax_t.
21475         * rt/tst-mqueue4.c (do_test): Likewise.
21476         * rt/tst-timer4.c: Include <stdint.h>.
21477         (check_ts): Replace %ld with %jd and cast to intmax_t.
21478         (do_test): Likewise.
21479         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21480         and cast to intmax_t.
21481         * sysdeps/pthread/tst-timer.c (main): Likewise.
21482         * time/clocktest.c (main): Likewise.
21483         * time/tst-posixtz.c (do_test): Likewise.
21484         * timezone/tst-timezone.c (main): Likewise.
21486 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21487             H.J. Lu  <hongjiu.lu@intel.com>
21489         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21490         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21491         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21492         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21493         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21494         version if bit_Fast_Unaligned_Load is set.
21495         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21496         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21497         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21498         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21499         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21500         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21502         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21503         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21504         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21505         to 4.
21506         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21507         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21508         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21509         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21511 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21513         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21514         instead of #if to avoid a Wundef warning.
21515         * stdlib/tst-limits.c (do_test): Likewise.
21517         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21518         parallel other exception macros.
21519         (fegetenv): Convert from macro to extern inline so that it applies
21520         retroactively to inline functions already seen by the compiler.
21521         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21523         * posix/Makefile (before-compile): Use $(objpfx) for
21524         posix-conf-vars-def.h.
21526 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21528         * posix/getconf.c (main): Use size_t for type of I.
21529         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21530         NSPEC.
21532         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21533         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21534         * posix/posix-envs.def: Likewise.
21535         * sysdeps/posix/sysconf.c: Likewise.
21536         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21537         (specs): Remove array.
21538         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21539         array.
21541         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21542         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21543         (__sysconf): Use CONF_IS_* macros.
21545         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21546         ($(objpfx)posix-conf-vars-def.h): New target.
21547         * posix/posix-conf-vars.list: New file.
21548         * posix/posix-conf-vars.h: New file.
21549         * posix/confstr.c: Include posix-conf-vars.h.
21550         (confstr): Use CONF_IS_* macros.
21551         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21552         CONF_IS_* macros.
21553         * scripts/gen-posix-conf-vars.awk: New file.
21555 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21557         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21558         fegetround): Add no-op macros to avoid linknamespace issues.
21560         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21561         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21563         * sysdeps/unix/sysv/linux/tile/sysdep.h
21564         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21565         assembly-specific section to avoid a redefinition warning.
21567         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21568         long before casting to pointer to avoid a cast warning.
21570 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21572         * sysdeps/tile/tilegx/Implies: New file.
21574 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21576         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21578 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21580         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21582 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21584         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21585         not define.
21586         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21587         <kernel-features.h>.
21588         (__utimes) [__NR_utimes]: Make code unconditional.
21589         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21590         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21591         (__ASSUME_UTIMES): Do not undefine.
21592         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21593         (__ASSUME_UTIMES): Likewise.
21594         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21595         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21596         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21597         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21599 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21601         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21603 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21605         [BZ #17747]
21606         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21607         alias to weak alias for j0l, y0l.
21608         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21609         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21611         [BZ #17746]
21612         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21613         conversion.
21615 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21617         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21618         to zero if not already defined.
21620 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21622         [BZ #17724]
21623         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21624         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21625         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21626         (char *) casts added.
21627         * sysdeps/ieee754/k_standardf.c: New file.
21628         * sysdeps/ieee754/k_standardl.c: Likewise.
21629         * math/Makefile (libm-support): Remove k_standard.
21630         (libm-calls): Add k_standard.
21632 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21634         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21635         Optimize to avoid an unnecessary FPCR read.
21637 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21639         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21640         Optimize to reduce FPCR/FPSR accesses.
21642 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21644         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21645         Call libc_fetestexcept_aarch64.
21647 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21649         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21650         Call libc_fesetround_aarch64.
21652 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21654         [BZ #17733]
21655         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21656         (__bind): Do not define as weak alias.
21657         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21658         define.
21659         (__getsockname): Do not define as weak alias.
21661 2014-12-22  Will Newton  <will.newton@linaro.org>
21663         * manual/install.texi: Document that we require bison 2.7
21664         or above.
21665         * INSTALL: Regenerate.
21666         * configure.ac: Use AC_CHECK_PROG_VER instead of
21667         AC_PATH_PROG when checking for bison and check for
21668         version 2.7 or above.
21669         * configure: Regenerate.
21671 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21673         [BZ #17745]
21674         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21675         * sysdeps/tile/ffsll.c (ffsll): To here.
21677         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21679 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21681         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21682         if not defined.
21683         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21684         definition.
21685         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21686         hidden ___tls_get_addr.
21687         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21688         hidden __tls_get_addr.
21689         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21690         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21691         Likewise.
21693 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21695         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21696         _dl_init call.
21698 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21700         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21701         from "call _dl_init@PLT".
21702         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21704 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21706         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21707         guarantees.
21709 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21711         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21713 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21715         [BZ #17744]
21716         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21717         strnlen.
21719 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21721         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21722         of multu on MIPSr6.
21723         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21724         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21725         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21726         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21727         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21729 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21731         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21732         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21733         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21734         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21735         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21736         mips32r6/mips64r6.
21737         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21739 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21741         * string/strncat.c (STRNCAT): Simplify implementation.
21743 2014-12-19  David S. Miller  <davem@davemloft.net>
21745         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21746         access the quad as both a long double and as a series of 4 words.
21748         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21749         link_map->l_info array access.
21751 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21753         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21755         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21756         * math/atest-exp2.c (TIMEOUT): Likewise.
21757         * math/atest-sincos.c (TIMEOUT): Likewise.
21759 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21761         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21762         -Wno-error with -fno-builtin-lround.
21764 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21766         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21767         Contains futex constants and functions moved over from ...
21768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21769         <lowlevellock-futex.h>.
21770         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21771         (lll_timedwait_tid): Add comments and parentheses around macro
21772         arguments.
21774 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21776         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21777         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21778         (__lll_private_flag): Remove.
21779         (lll_futex_wait): Likewise.
21780         (lll_futex_timed_wait): Likewise.
21781         (lll_futex_wake): Likewise.
21782         (lll_futex_requeue): Likewise.
21783         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21784         (__lll_timedwait_tid): Spell out argument names.
21785         (lll_timedwait_tid): Add comments and parentheses around macro
21786         arguments.
21787         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21788         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21790 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21792         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21793         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21794         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21795         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21796         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21797         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21798         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21799         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21800         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21802         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21806         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21807         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21808         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21809         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21810         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21812 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21814         * sysdeps/x86_64/x32/Makefile: New file.
21816 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21818         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21819         1L with (mp_limb_t) 1.
21821 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21823         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21824         * nptl/libc_pthread_init.c: ... here.
21825         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21826         * nptl/register-atfork.c: ... here.
21828         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21829         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21830         Use assert_perror to check its return value.
21831         (__gai_create_helper_thread): Likewise.
21833         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21835         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21837 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21839         [BZ #17725]
21840         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21841         __profil_counter.
21842         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21843         Likewise.
21844         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21845         Likewise.
21846         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21847         Likewise.
21848         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21849         (profil_counter): Likewise.
21850         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21851         (profil_counter): Likewise.
21852         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21853         Likewise.
21854         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21855         Likewise.
21856         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21857         (profil_counter): Likewise.
21858         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21859         Likewise.
21860         [!__profil_counter] (profil_counter): Define as weak alias of
21861         __profil_counter.
21862         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21863         (profil_counter): Rename to __profil_counter.
21864         [!__profil_counter] (profil_counter): Define as weak alias of
21865         __profil_counter.
21866         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21867         (profil_counter): Rename to __profil_counter.
21868         [!__profil_counter] (profil_counter): Define as weak alias of
21869         __profil_counter.
21870         * sysdeps/posix/profil.c: Update comment referring to
21871         profil_counter.
21872         (__profil): Use __profil_counter instead of profil_counter.
21873         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21874         __profil_counter.  Use __profil_counter_ushort and
21875         __profil_counter_uint in definitions.
21876         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21877         instead of profil_counter_uint and profil_counter_ushort.
21879         [BZ #17722]
21880         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21881         define as weak alias of __inet_makeaddr.
21882         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21883         as weak alias of __inet_addr.
21884         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21885         as weak alias of __inet_pton.  Use libc_hidden_weak.
21886         * include/arpa/inet.h (__inet_pton): Declare.  Use
21887         libc_hidden_proto.
21888         (inet_makeaddr): Don't use libc_hidden_proto.
21889         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21890         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21891         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21892         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21893         Remove variable.
21894         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21895         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21897 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21899         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21901 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21903         * stdio-common/bug-vfprintf-nargs.c (do_test):
21904         Cast value to intptr_t to avoid format warning
21905         for usage with PRIdPTR printing macro.
21907 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21909         * libio/tst-widetext.c (do_test):
21910         Use format type %td instead of %Zd for ptrdiff_t
21911         in order to avoid format warning.
21913 2014-12-17  Andreas Schwab  <schwab@suse.de>
21915         * nscd/mem.c (gc): Add size_t cast to match printf format.
21917 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21919         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21920         (init): Apply PTR_MANGLE to pointers before storing them.
21921         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21922         before using them.
21924 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21926         [BZ #17719]
21927         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21928         define as weak alias of __memrchr.
21929         (__memrchr): Do not define as strong alias of memrchr.
21930         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21931         Remove variable.
21932         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21933         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21934         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21936         [BZ #17717]
21937         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21938         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21939         (if_indextoname): Rename to __if_indextoname and define as weak
21940         alias of __if_indextoname.  Use libc_hidden_weak.
21941         (if_freenameindex): Rename to __if_freenameindex and define as
21942         weak alias of __if_freenameindex.
21943         (if_nameindex): Rename to __if_nameindex and define as weak alias
21944         of __if_nameindex.
21945         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21946         __if_nametoindex and define as weak alias of __if_nametoindex.
21947         Use libc_hidden_weak.
21948         (if_freenameindex): Rename to __if_freenameindex and define as
21949         weak alias of __if_freenameindex.
21950         (if_nameindex): Rename to __if_nameindex and define as weak alias
21951         of __if_nameindex.
21952         (if_indextoname): Rename to __if_indextoname and define as weak
21953         alias of __if_indextoname.  Use libc_hidden_weak.
21954         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21955         __if_nametoindex and define as weak alias of __if_nametoindex.
21956         Use libc_hidden_weak.
21957         (if_freenameindex): Rename to __if_freenameindex and define as
21958         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21959         (if_nameindex_netlink): Use __if_freenameindex instead of
21960         if_freenameindex.
21961         (if_nameindex): Rename to __if_nameindex and define as weak alias
21962         of __if_nameindex.  Use libc_hidden_weak.
21963         (if_indextoname): Rename to __if_indextoname and define as weak
21964         alias of __if_indextoname.  Use libc_hidden_weak.
21965         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21966         libc_hidden_proto.
21967         [!_ISOMAC] (__if_freenameindex): Likewise.
21968         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21969         if_nametoindex.
21970         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21971         variable.
21972         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21973         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21974         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21975         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21976         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21977         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21978         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21980         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21981         Remove variable.
21982         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21983         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21985 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21987         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21988         subscript above bounds'
21990         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21991         bounds.
21993 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21995         * libio/tst-fopenloc.c: Use test-skeleton.c.
21997         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21998         (entry): Rename to ITEM.
21999         (do_test, comp): Adjust.
22001         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22003 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22005         * string/tester.c: Include <libc-internal.h>.
22006         (test_memset): Ignore -Wmemset-transposed-args.
22008 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22010         * misc/tst-mntent2.c (do_test): Fix warning.
22012 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22014         * elf/tst-unique4lib.cc(a): Mark as used.
22016 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22018         [BZ #17630]
22019         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22020         names.
22022 2014-12-16  Allan McRae  <allan@archlinux.org>
22024         * stdio-common/Makefile (tests): Re-add bug26.
22026 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22028         [BZ #17657]
22029         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22030         static array.
22032 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22034         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22035         (__lll_lock_wait): Likewise.
22036         (__lll_timedlock_wait): Likewise.
22037         (__lll_timedwait_tid): Likewise.
22038         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22039         (__lll_robust_timedlock_wait): Likewise.
22040         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22041         (lll_cond_trylock): Likewise.
22042         (__lll_lock): Likewise.
22043         (__lll_robust_lock): Likewise.
22044         (__lll_cond_lock): Likewise.
22045         (lll_robust_cond_lock): Likewise.
22046         (__lll_timedlock): Likewise.
22047         (__lll_robust_timedlock): Likewise.
22048         (__lll_unlock): Likewise.
22049         (__lll_robust_unlock): Likewise.
22050         (lll_wait_tid): Likewise.
22051         (lll_timedwait_tid): Likewise.
22053 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22055         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22057 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22059         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22061 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22063         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22064         * stdio-common/tst-sprintf.c: Likewise.
22066 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22068         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22070 2014-12-15  Jeff Law  <law@redhat.com>
22072         [BZ #16617]
22073         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22074         on the heap.  (CVE-2012-3406)
22075         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22076         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22077         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22079 2014-12-15  Will Newton  <will.newton@linaro.org>
22081         * manual/install.texi: Bump required version of texinfo
22082         to 4.7 from 4.5.
22083         * INSTALL: Regenerated.
22084         * configure.ac: Check for makeinfo version 4.7 and above.
22085         * configure: Regenerated.
22087 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22089         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22090         PREFIX, string constant to insert between directory and name.
22091         * sysdeps/posix/shm_open.c: Update caller.
22092         * sysdeps/posix/shm_unlink.c: Likewise.
22093         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22094         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22095         (SEM_SHM_PREFIX): New macro.
22096         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22097         [$(have-thread-library) = no].
22098         * nptl/Makefile (libpthread-routines): Add shm-directory.
22099         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22100         * sysdeps/nptl/shm-directory.h: New file.
22101         * sysdeps/posix/shm-directory.c
22102         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22103         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22104         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22105         INTERNAL_SYSCALL.
22106         (__where_is_shmfs): Function removed.
22107         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22108         Variables removed.
22109         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22110         Use SHM_GET_NAME.
22111         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22113         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22114         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22115         unconditional for use inside libpthread.
22116         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22118 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22120         * nptl/pthread_getaffinity.c: New file.
22121         * nptl/pthread_setaffinity.c: New file.
22122         * nptl/pthread_getname.c: New file.
22123         * nptl/pthread_setname.c: New file.
22125         * nptl/pthread_create.c (START_THREAD_DEFN)
22126         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22128 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22131         * resolv/res_send.c (send_vc): Disable warning resplen may
22132         be used uninitialized.
22134 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22136         * nptl/tst-mutex6.c
22137         (ATTR_NULL): New define checks ATTR against NULL.
22138         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22139         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22141 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22143         [BZ #17581]
22144         * malloc/hooks.c
22145         (mem2mem_check): Revert my previous change.
22146         (malloc_check_get_size): Revert my previous change.
22147         (mem2chunk_check): Revert my previous change.
22149 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22151         * sysdeps/posix/shm-directory.c: New file.
22152         * sysdeps/posix/shm-directory.h: New file.
22153         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22154         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22155         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22156         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22157         Transmute EPERM to EACCES.
22158         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22159         from ...
22160         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22161         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22163 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22165         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22166         pointer and cast to uintptr_t.
22167         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22168         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22169         Add cast to avoid warning.
22170         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22172 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22174         * nptl/semaphore.h: Move to ...
22175         * sysdeps/pthread/semaphore.h: ... here.
22176         * Makefile (installed-headers): Change nptl/semaphore.h to
22177         sysdeps/pthread/semaphore.h.
22179 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22181         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22182         generated error format strings.
22184         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22185         -Wformat-extra-args warnings for scanf formats.
22186         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22187         test of zero-length format (duh).
22188         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22189         corner-case scanf format test.
22190         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22191         generated fprintf format string.
22192         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22193         corner-case sprintf format tests.
22194         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22195         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22196         -Wformat-extra-args warnings throughout.
22197         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22198         (CFLAGS-scanf4.c): Likewise.
22199         (CFLAGS-scanf7.c): Likewise.
22200         (CFLAGS-tst-sprintf.c): Likewise.
22201         (CFLAGS-tst-printf.c): Likewise.
22202         (CFLAGS-tst-printfsz.c): Likewise.
22204 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22206         * include/cpio.h: New file.
22207         * include/fmtmsg.h: Likewise.
22209         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22210         corresponding format argument to size_t.
22211         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22212         arguments.
22213         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22214         corresponding format argument to size_t.
22215         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22216         arguments.
22217         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22218         corresponding format argument to size_t.
22219         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22220         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22221         (CFLAGS-tst-mbswcs2.c): Likewise.
22222         (CFLAGS-tst-mbswcs3.c): Likewise.
22223         (CFLAGS-tst-mbswcs4.c): Likewise.
22224         (CFLAGS-tst-mbswcs5.c): Likewise.
22225         (CFLAGS-tst-trans.c): Likewise.
22227 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22229         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22230         rather than assuming they won't contain any '%'s.
22232 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22234         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22235         inhibit_loop_to_libcall to avoid recursive calls.
22236         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22237         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22239 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22241         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22242         prototype.
22244 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22246         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22247         integer value instead of boolean.
22249 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22251         * malloc/malloc.c: Fix powerof2 check.
22253 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22255         * locale/programs/locfile.h (maybe_swap_uint32):
22256         Remove inline and add unused attribute.
22258 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22260         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22261         Truncating assembler expression to a .long expression.
22263 2014-12-11  Andreas Schwab  <schwab@suse.de>
22265         * elf/rtld.c (struct map_args): Constify str member.
22266         (do_preload): Constify fname argument.
22268 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22270         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22271         constants definition.
22273 2014-12-11  Andreas Schwab  <schwab@suse.de>
22275         [BZ #16657]
22276         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22277         FORCE_ELISION instead of DO_ELISION.
22278         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22279         Remove.
22280         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22281         Likewise.
22283         * iconvdata/gconv-modules: Remove duplicate entry.
22285 2014-12-11  Will Newton  <will.newton@linaro.org>
22287         Merge gettext 0.19.3 into intl/.
22289         This involves a number of cosmetic changes to comments
22290         and ANSI function definitions and prototypes throughout
22291         all the files. The gettext copyright header is used but
22292         with the date ranges taken from the glibc copy.
22294         * NEWS: Add gettext merge to 2.21.
22295         * intl/bindtextdom.c: Switch to gettext copyright.
22296         Use ANSI definitions and prototypes.
22297         Use gl_* locking primitives rather than __libc_* ones.
22298         Use __builtin_expect rather than __glibc_likely/unlikely.
22299         * intl/dcgettext.c: Switch to gettext copyright.
22300         Use ANSI definitions and prototypes.
22301         * intl/dcigettext.c: Switch to gettext copyright.
22302         Use ANSI definitions and prototypes.
22303         (INTDIV0_RAISES_SIGFPE): New define.
22304         Use gl_* locking primitives rather than __libc_* ones.
22305         Include eval-plural.h instead of plural-eval.c.
22306         Use __builtin_expect rather than __glibc_likely/unlikely.
22307         * intl/dcngettext.c: Switch to gettext copyright.
22308         Use ANSI definitions and prototypes.
22309         * intl/dgettext.c: Likewise.
22310         * intl/dngettext.c: Likewise.
22311         * intl/plural-eval.c: Renamed to...
22312         * intl/eval-plural.h: ...this.
22313         * intl/explodename.c: Switch to gettext copyright.
22314         Use ANSI definitions and prototypes.
22315         (_nl_explode_name): Use strchr instead of __rawmemchr.
22316         * intl/finddomain.c: Switch to gettext copyright.
22317         Use ANSI definitions and prototypes.
22318         Use gl_* locking primitives rather than __libc_* ones.
22319         (_nl_find_domain): Use malloc rather than alloca for
22320         allocation of temporary locale name.
22321         * intl/gettext.c: Switch to gettext copyright.
22322         Use ANSI definitions and prototypes.
22323         * intl/gettextP.h: Switch to gettext copyright.
22324         Use ANSI definitions and prototypes.
22325         Use gl_* locking primitives rather than __libc_* ones.
22326         * intl/gmo.h: Switch to gettext copyright.
22327         (struct sysdep_string): Move struct segment_pair outside of
22328         struct definition.
22329         * intl/hash-string.c: Use ANSI definitions and prototypes.
22330         * intl/hash-string.h: Switch to gettext copyright.
22331         Use ANSI definitions and prototypes.
22332         * intl/l10nflist.c: Switch to gettext copyright.
22333         Use ANSI definitions and prototypes.
22334         (_nl_normalize_codeset): Avoid integer overflow.
22335         * intl/loadinfo.h: Switch to gettext copyright.
22336         Use ANSI definitions and prototypes.
22337         (LIBINTL_DLL_EXPORTED): New define.
22338         (PATH_SEPARATOR): New define.
22339         * intl/loadmsgcat.c: Switch to gettext copyright.
22340         * intl/localealias.c: Switch to gettext copyright.
22341         Use ANSI definitions and prototypes.
22342         (_nl_expand_alias): Use PATH_SEPARATOR.
22343         * intl/ngettext.c: Switch to gettext copyright.
22344         Use ANSI definitions and prototypes.
22345         * intl/plural-exp.c: Likewise.
22346         * intl/plural-exp.h: Switch to gettext copyright.
22347         Use ANSI definitions and prototypes.
22348         (struct expression): Move definition of enum operator outside
22349         of struct definition.
22350         * intl/plural.c: Regenerate.
22351         * intl/plural.y: Switch to gettext copyright.
22352         Use ANSI definitions and prototypes.
22353         Port to bison 3.0.
22354         * intl/textdomain.c: Switch to gettext copyright.
22355         Use ANSI definitions and prototypes.
22356         Use gl_* locking primitives rather than __libc_* ones.
22358 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22360         * debug/warning-nop.c: Add used atrribute.
22362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22364         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22366         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22367         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22368         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22370 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22373         [BZ #17634]
22374         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22375         Undefine after defining function.  Define as weak alias of
22376         __wcschr.  Use libc_hidden_weak.
22377         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22378         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22379         (libc_hidden_def): Also define __GI___wcschr alias.
22380         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22381         __wcschr and define as weak alias of __wcschr.
22382         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22383         __wcschr.
22384         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22385         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22386         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22387         libc_hidden_weak.  Do not use libc_hidden_def.
22388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22389         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22390         __GI___wcschr alias.
22391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22392         [IS_IN (libc)] (wcschr): Define as macro expanding to
22393         __redirect_wcschr.
22394         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22395         [IS_IN (libc)] (__wcschr_power6): Likewise.
22396         [IS_IN (libc)] (__wcschr_power7): Likewise.
22397         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22398         instead of wcschr.
22399         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22400         __libc_wcschr.
22401         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22402         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22403         __wcschr and define as weak alias of __wcschr.  Use
22404         libc_hidden_builtin_def.
22405         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22406         as weak alias of __wcschr.  Use libc_hidden_weak.
22407         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22408         wcschr.
22409         * time/era.c (_nl_init_era_entries): Likewise.
22410         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22411         variable.
22412         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22413         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22415 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22417         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22418         format for long int variable.
22420 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22422         [BZ #10672]
22423         * manual/search.texi: (Array Sort Function): Remove claim how to make
22424         qsort stable.
22426 2014-12-10  Andreas Schwab  <schwab@suse.de>
22428         [BZ #12847]
22429         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22430         user-controlled locks.
22432 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22434         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22435         register.
22437 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22439         * configure.ac (--disable-werror): New configure option.
22440         (enable_werror): New AC_SUBST.
22441         * configure: Regenerated.
22442         * config.make.in (enable-werror): New variable.
22443         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22444         -Wno-error=undef.
22445         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22446         * manual/install.texi (Configuring and compiling): Document
22447         --disable-werror.
22448         * INSTALL: Regenerated.
22449         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22450         (CFLAGS-tst-chk2.c): Likewise.
22451         (CFLAGS-tst-chk3.c): Likewise.
22452         (CFLAGS-tst-chk4.cc): Likewise.
22453         (CFLAGS-tst-chk5.cc): Likewise.
22454         (CFLAGS-tst-chk6.cc): Likewise.
22455         (CFLAGS-tst-lfschk1.c): Likewise.
22456         (CFLAGS-tst-lfschk2.c): Likewise.
22457         (CFLAGS-tst-lfschk3.c): Likewise.
22458         (CFLAGS-tst-lfschk4.cc): Likewise.
22459         (CFLAGS-tst-lfschk5.cc): Likewise.
22460         (CFLAGS-tst-lfschk6.cc): Likewise.
22462         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22463         (main): Disable -Wdeprecated-declarations around calls to
22464         register_printf_function.
22466         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22467         (do_test): Disable -Wdiv-by-zero around some calls to
22468         fwrite_unlocked and fread_unlocked.
22470         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22471         (DIAG_POP_NEEDS_COMMENT): Likewise.
22472         (_DIAG_STR1): Likewise.
22473         (_DIAG_STR): Likewise.
22474         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22475         * stdio-common/bug21.c: Include <libc-internal.h>.
22476         (do_test): Disable -Wformat around call to sscanf.
22477         * stdio-common/scanf14.c: Include <libc-internal.h>.
22478         (main): Disable -Wformat around some calls to scanf functions.
22480 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22482         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22484 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22486         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22487         stack variable alignment.
22489 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22491         [BZ #17682]
22492         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22493         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22494         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22495         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22496         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22497         __getrlimit instead of getrlimit.
22498         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22499         __gettimeofday instead of gettimeofday.
22500         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22501         Likewise.
22502         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22503         Likewise.
22504         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22505         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22506         Remove variable.
22507         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22508         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22510 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22512         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22513         for wide-character tests.
22515 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22517         * io/openat64.c: #include <libc-internal.h>
22518         (__openat64): Prototypify.  Use ignore_value on MODE.
22519         * io/openat.c: Likewise.
22520         * misc/reboot.c: #include <libc-internal.h>
22521         (reboot): Prototypify.  Use ignore_value on HOWTO.
22522         * misc/ptrace.c: #include <libc-internal.h>
22523         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22525 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22527         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22528         XPG4, UNIX98 and XOPEN2K.
22529         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22530         Remove variable.
22531         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22533 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22535         * libio/fileops.c: Use ISO C style for function definitions.
22536         * libio/iofopen.c: Likewise.
22537         * libio/wfileops.c: Likewise.
22539         [BZ #17653]
22540         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22541         offset on EOF.
22542         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22543         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22544         (fgets_func): Function pointer to fgets and fgetws.
22545         (do_ftell_test): Add test to verify ftell value after read
22546         EOF.
22547         (do_test): Set fgets_func.
22549         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22550         O_TRUNC flag for w and w+ modes.
22551         (do_rewind_test): Likewise.
22552         (do_ftell_test): Likewise.
22553         (do_write_test): Likewise.
22555         [BZ #17647]
22556         * libio/fileops.c (do_ftell): Seek only when there are
22557         unflushed writes.
22558         * libio/wfileops.c (do_ftell_wide): Likewise.
22559         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22560         test case.
22561         (do_one_test): Call it.
22563 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22565         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22566         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22567         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22568         Remove variable.
22569         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22570         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22571         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22573 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22575         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22576         Remove variable.
22577         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22579         [BZ #17668]
22580         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22581         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22582         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22583         __freeifaddrs.  Use libc_hidden_weak.
22584         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22585         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22586         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22587         __freeifaddrs.  Use libc_hidden_weak.
22588         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22589         __getifaddrs and define as weak alias of __getifaddrs.  Use
22590         libc_hidden_weak.
22591         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22592         __freeifaddrs.  Use libc_hidden_weak.
22593         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22594         Remove variable.
22595         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22596         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22598 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22600         [BZ #17601]
22601         * sysdeps/mips/start.S (__start): Use indirect jump to call
22602         __libc_start_main.
22604 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22606         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22608         * nptl/tst-mutex1.c: Include <stdbool.h>.
22609         [!ATTR] (ATTR_NULL): New macro.
22610         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22611         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22612         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22614         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22615         to char *.
22617         [BZ #17665]
22618         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22619         Change conditional to [__USE_MISC].
22621         [BZ #17664]
22622         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22623         fgets_unlocked.
22624         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22625         __fgets_unlocked.
22626         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22627         fgets_unlocked.
22628         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22629         Remove variable.
22630         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22631         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22632         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22633         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22634         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22635         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22636         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22637         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22638         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22640         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22642 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22645         Remove strpbrk objects.
22646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22647         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22648         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22649         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22650         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22651         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22653         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22654         Remove strcspn objects.
22655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22656         (__libc_ifunc_impl_list): Remove strcspn implementation.
22657         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22658         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22659         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22660         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22662         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22663         Remove strspn objetcs.
22664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22665         (__libc_ifunc_impl_list): Remove strspn implementation.
22666         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22667         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22668         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22669         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22671 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22673         [BZ #17581]
22674         * malloc/hooks.c
22675         (mem2mem_check): Add a terminator to the chain of checking blocks.
22676         (malloc_check_get_size): Use it here.
22677         (mem2chunk_check): Ditto.
22679 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22681         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22682         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22684 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22686         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22688         * nptl/nptl-init.c: Include libc-internal.h.
22689         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22691         * elf/ldconfig.c (search_dir): Expand comment.
22693 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22695         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22696         variable.
22697         (linknamespace-symlist-stdlibs-tests): Likewise.
22698         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22699         instead of $(objpfx)symlist-stdlibs.
22700         (linknamespace-libs-isoc): New variable.
22701         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22702         (linknamespace-libs-ISO): New variable.
22703         (linknamespace-libs-ISO99): Likewise.
22704         (linknamespace-libs-ISO11): Likewise.
22705         (linknamespace-libs-XPG3): Likewise.
22706         (linknamespace-libs-XPG4): Likewise.
22707         (linknamespace-libs-POSIX): Likewise.
22708         (linknamespace-libs-UNIX98): Likewise.
22709         (linknamespace-libs-XOPEN2K): Likewise.
22710         (linknamespace-libs-POSIX2008): Likewise.
22711         (linknamespace-libs-XOPEN2K8): Likewise.
22712         ($(objpfx)symlist-stdlibs): Replace by
22713         $(linknamespace-symlist-stdlibs-tests).  Use
22714         $(linknamespace-libs-$*) as set of libraries.
22715         ($(linknamespace-header-tests)): Update dependencies.  Use
22716         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22717         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22718         * conform/linknamespace.pl: Remove comment about considering
22719         definitions of symbols from irrelevant libraries.
22721 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22723         [BZ #13862]
22724         * elf/dl-tls.c: Include <atomic.h>.
22725         (oom): Remove #ifdef SHARED/#endif.
22726         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22727         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22728         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22729         big enough.
22730         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22731         * nptl/Makefile (tests): Add tst-stack4.
22732         (modules-names): Add tst-stack4mod.
22733         ($(objpfx)tst-stack4): New.
22734         (tst-stack4mod.sos): Likewise.
22735         ($(objpfx)tst-stack4.out): Likewise.
22736         ($(tst-stack4mod.sos)): Likewise.
22737         (clean): Likewise.
22738         * nptl/tst-stack4.c: New file.
22739         * nptl/tst-stack4mod.c: Likewise.
22741 2014-11-27  J. Brown  <jb999@gmx.de>
22743         * sysdeps/x86/bits/string.h: Add recent CPUs.
22745 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22747         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22748         sigblock.
22750         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22751         feof.
22753         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22754         variable.
22756 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22758         * nscd/connections.c: Include libc-internal.h because of macro
22759         usage ignore_value.
22761 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22763         * string/bits/string3.h (__warn_memset_zero_len): Don't
22764         declare for gcc newer than 5.0.
22765         (memset): Don't test for zero-length __LEN for gcc newer than
22766         5.0.
22768 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22770         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22771         size_t for %zu format.
22773         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22774         difference, not %ju.
22776 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22778         * include/libc-internal.h (ignore_value): New macro.
22779         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22780         with ignore_value.
22782         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22783         definition.
22785         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22786         pthread_cleanup_push to void *.
22788         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22789         Undefine.
22791         [BZ #16619]
22792         [BZ #16740]
22793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22794         instead of 1L << 52.
22796         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22797         * libio/bug-rewind2.c (do_test): Likewise.
22799         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22800         * debug/test-strcpy_chk-ifunc.c: Likewise.
22801         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22802         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22803         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22804         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22805         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22806         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22807         * Rules [$(multi-arch) = no] (tests): Do not filter out
22808         $(tests-ifunc).
22809         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22810         * debug/Makefile (tests-ifunc): Remove variable.
22811         (tests): Do not add $(tests-ifunc).
22812         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22813         (tests): Do not add $(tests-ifunc).
22814         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22815         [TEST_IFUNC]: Remove conditionals.
22816         * string/test-string.h (TEST_IFUNC): Remove macro.
22817         [TEST_IFUNC]: Remove conditionals.
22819         * string/test-strchr.c [!WIDE] (L): New macro.
22820         [WIDE] (L): Likewise.
22821         (check1): Use CHAR instead of char.  Use L on string and character
22822         constants.
22824 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22826         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22827         tests.
22828         * sysdeps/powerpc/bits/atomic.h
22829         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22830         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22831         (atomic_exchange_and_add_acq): Likewise.
22832         (atomic_exchange_and_add_rel): Likewise.
22833         * sysdeps/powerpc/powerpc32/bits/atomic.h
22834         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22835         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22836         * sysdeps/powerpc/powerpc64/bits/atomic.h
22837         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22838         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22840 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22842         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22843         Change synchronization of __sched_fifo_min_prio and
22844         __sched_fifo_max_prio.
22845         * nptl/pthread_mutexattr_getprioceiling.c
22846         (pthread_mutexattr_getprioceiling): Likewise.
22847         * nptl/pthread_mutexattr_setprioceiling.c
22848         (pthread_mutexattr_setprioceiling): Likewise.
22849         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22850         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22851         Likewise.
22853 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22855         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22856         void.
22858 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22860         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22861         third argument const.
22863 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22865         fnmatch: work around GCC compiler warning bug with uninit var
22866         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22867         This works around a bug with x86-64 GCC 4.9.2 and earlier
22868         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22869         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22870         used uninitialized in this function [-Wmaybe-uninitialized]".
22872 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22874         * posix/bug-regex31.c (main): Return RES not 0.
22876 2014-11-25  Anton Blanchard <anton@samba.org>
22878         * sysdeps/powerpc/bits/atomic.h
22879         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22881 2014-11-24  Sterling Augustine  <saugustine@google.com>
22883         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22885 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22887         [BZ #17608]
22888         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22890 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22892         [BZ #17633]
22893         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22894         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22895         variable.
22896         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22897         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22899 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22901         * string/strncpy.c (strncpy): Improve performance by using memset.
22903 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22905         * string/strcpy.c (strcpy):
22906         Improve performance by using strlen and memcpy.
22908 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22910         * string/strcoll_l.c (get_next_seq): __always_inline.
22911         * string/strcoll_l.c (do_compare): __always_inline.
22913 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22916         defined.
22917         * include/mqueue.h: Likewise.
22918         * include/stdlib.h: Likewise.
22920         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22921         (get_null_defines): Adjust.
22922         * sunrpc/Makefile: Adjust comment.
22923         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22924         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22925         (CFLAGS-interp.c): Likewise.
22926         (CFLAGS-ldconfig.c): Likewise.
22927         (CPPFLAGS-.os): Likewise.
22928         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22929         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22930         * extra-modules.mk (extra-modules.mk): Likewise.
22931         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22932         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22933         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22934         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22935         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22936         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22937         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22938         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22939         * iconvdata/Makefile (CPPFLAGS): Likewise.
22940         (cpp-srcs-left): Add libof for all iconvdata routines.
22941         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22942         * include/assert.h: Likewise.
22943         * include/ctype.h: Likewise.
22944         * include/errno.h: Likewise.
22945         * include/libc-symbols.h: Likewise.
22946         * include/math.h: Likewise.
22947         * include/netdb.h: Likewise.
22948         * include/resolv.h: Likewise.
22949         * include/stdio.h: Likewise.
22950         * include/stdlib.h: Likewise.
22951         * include/string.h: Likewise.
22952         * include/sys/stat.h: Likewise.
22953         * include/wctype.h: Likewise.
22954         * intl/l10nflist.c: Likewise.
22955         * libidn/idn-stub.c: Likewise.
22956         * libio/libioP.h: Likewise.
22957         * nptl/libc_multiple_threads.c: Likewise.
22958         * nptl/pthreadP.h: Likewise.
22959         * posix/regex_internal.h: Likewise.
22960         * resolv/res_hconf.c: Likewise.
22961         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22962         * sysdeps/arm/memmove.S: Likewise.
22963         * sysdeps/arm/sysdep.h: Likewise.
22964         * sysdeps/generic/_itoa.h: Likewise.
22965         * sysdeps/generic/symbol-hacks.h: Likewise.
22966         * sysdeps/gnu/errlist.awk: Likewise.
22967         * sysdeps/gnu/errlist.c: Likewise.
22968         * sysdeps/i386/i586/memcpy.S: Likewise.
22969         * sysdeps/i386/i586/memset.S: Likewise.
22970         * sysdeps/i386/i686/memcpy.S: Likewise.
22971         * sysdeps/i386/i686/memmove.S: Likewise.
22972         * sysdeps/i386/i686/mempcpy.S: Likewise.
22973         * sysdeps/i386/i686/memset.S: Likewise.
22974         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22975         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22976         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22977         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22978         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22979         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22980         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22981         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22982         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22983         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22984         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22985         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22986         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22987         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22988         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22989         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22990         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22991         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22992         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22993         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22994         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22995         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22996         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22997         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22998         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22999         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23000         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23001         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23002         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23003         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23004         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23005         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23007         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23008         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23009         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23010         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23011         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23012         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23013         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23019         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23020         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23021         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23022         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23023         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23024         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23025         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23026         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23027         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23028         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23029         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23030         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23031         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23032         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23033         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23034         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23035         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23036         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23037         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23038         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23039         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23040         * sysdeps/posix/closedir.c: Likewise.
23041         * sysdeps/posix/opendir.c: Likewise.
23042         * sysdeps/posix/readdir.c: Likewise.
23043         * sysdeps/posix/rewinddir.c: Likewise.
23044         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23045         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23046         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23047         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23048         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23049         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23056         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23057         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23058         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23059         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23060         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23061         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23063         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23064         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23065         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23066         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23067         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23072         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23079         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23080         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23081         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23082         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23083         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23084         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23085         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23086         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23087         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23088         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23089         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23090         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23092         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23093         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23094         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23095         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23096         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23098         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23101         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23102         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23103         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23104         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23105         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23107         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23108         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23109         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23110         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23111         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23112         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23113         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23114         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23115         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23116         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23117         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23118         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23120         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23121         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23122         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23123         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23124         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23125         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23126         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23128         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23130         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23131         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23132         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23133         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23134         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23135         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23136         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23140         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23142         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23143         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23144         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23145         * sysdeps/unix/alpha/sysdep.S: Likewise.
23146         * sysdeps/unix/alpha/sysdep.h: Likewise.
23147         * sysdeps/unix/make-syscalls.sh: Likewise.
23148         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23150         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23151         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23152         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23153         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23154         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23155         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23156         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23157         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23158         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23159         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23162         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23163         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23164         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23165         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23166         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23167         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23168         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23169         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23170         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23171         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23172         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23173         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23174         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23177         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23178         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23182         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23186         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23187         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23188         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23189         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23190         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23191         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23192         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23194         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23195         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23196         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23198         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23199         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23200         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23201         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23203         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23204         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23206         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23207         * sysdeps/x86_64/memcpy.S: Likewise.
23208         * sysdeps/x86_64/memmove.c: Likewise.
23209         * sysdeps/x86_64/memset.S: Likewise.
23210         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23211         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23212         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23213         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23214         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23215         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23217         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23218         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23219         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23220         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23221         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23222         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23223         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23224         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23225         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23226         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23227         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23228         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23229         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23230         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23231         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23232         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23233         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23234         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23235         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23236         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23237         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23238         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23239         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23240         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23241         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23242         * sysdeps/x86_64/strcmp.S: Likewise.
23244         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23246         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23247         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23248         * elf/rtld-Rules: Likewise.
23249         * elf/setup-vdso.h: Likewise.
23250         * include/assert.h: Likewise.
23251         * include/bits/stdlib-float.h: Likewise.
23252         * include/errno.h: Likewise.
23253         * include/sys/stat.h: Likewise.
23254         * include/unistd.h: Likewise.
23255         * sysdeps/aarch64/setjmp.S: Likewise.
23256         * sysdeps/alpha/setjmp.S: Likewise.
23257         * sysdeps/arm/__longjmp.S: Likewise.
23258         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23259         * sysdeps/arm/setjmp.S: Likewise.
23260         * sysdeps/arm/sysdep.h: Likewise.
23261         * sysdeps/generic/_itoa.h: Likewise.
23262         * sysdeps/generic/dl-sysdep.h: Likewise.
23263         * sysdeps/generic/ldsodefs.h: Likewise.
23264         * sysdeps/i386/dl-tls.h: Likewise.
23265         * sysdeps/i386/setjmp.S: Likewise.
23266         * sysdeps/m68k/setjmp.c: Likewise.
23267         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23268         * sysdeps/mach/hurd/opendir.c: Likewise.
23269         * sysdeps/posix/getcwd.c: Likewise.
23270         * sysdeps/posix/opendir.c: Likewise.
23271         * sysdeps/posix/profil.c: Likewise.
23272         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23273         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23274         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23275         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23276         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23277         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23278         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23279         * sysdeps/s390/dl-tls.h: Likewise.
23280         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23281         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23282         * sysdeps/sh/sh3/setjmp.S: Likewise.
23283         * sysdeps/sh/sh4/setjmp.S: Likewise.
23284         * sysdeps/unix/alpha/sysdep.h: Likewise.
23285         * sysdeps/unix/arm/sysdep.S: Likewise.
23286         * sysdeps/unix/i386/sysdep.S: Likewise.
23287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23288         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23289         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23291         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23292         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23293         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23295         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23296         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23297         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23298         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23299         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23302         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23305         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23307         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23310         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23311         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23312         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23314         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23315         * sysdeps/x86_64/setjmp.S: Likewise.
23317         * include/math.h: Use IS_IN instead of IS_IN_libm.
23318         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23319         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23320         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23321         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23322         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23323         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23324         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23325         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23326         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23327         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23328         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23329         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23330         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23331         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23332         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23333         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23334         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23335         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23336         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23337         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23338         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23339         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23340         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23341         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23342         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23343         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23344         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23345         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23346         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23347         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23348         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23349         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23350         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23352         Likewise.
23353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23354         Likewise.
23355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23356         Likewise.
23357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23358         Likewise.
23359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23360         Likewise.
23361         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23362         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23363         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23364         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23365         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23366         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23372         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23373         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23374         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23375         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23376         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23377         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23378         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23379         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23380         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23381         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23382         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23383         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23385         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23387         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23389         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23390         * nptl/pthreadP.h: Likewise.
23391         * nptl_db/structs.def: Likewise.
23392         * sysdeps/arm/sysdep.h: Likewise.
23393         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23394         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23395         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23396         * sysdeps/unix/alpha/sysdep.h: Likewise.
23397         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23399         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23400         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23401         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23402         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23404         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23406         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23407         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23408         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23409         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23410         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23415         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23418         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23419         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23420         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23421         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23422         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23424         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23425         * nptl/pthreadP.h: Likewise.
23426         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23427         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23428         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23429         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23430         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23431         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23432         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23433         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23434         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23435         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23436         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23437         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23439         Likewise.
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23441         Likewise.
23442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23444         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23446         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23447         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23448         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23449         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23451         * dlfcn/dladdr.c: Use IS_IN.
23452         * dlfcn/dladdr1.c: Likewise.
23453         * dlfcn/dlclose.c: Likewise.
23454         * dlfcn/dlerror.c: Likewise.
23455         * dlfcn/dlinfo.c: Likewise.
23456         * dlfcn/dlmopen.c: Likewise.
23457         * dlfcn/dlopen.c: Likewise.
23458         * dlfcn/dlsym.c: Likewise.
23459         * dlfcn/dlvsym.c: Likewise.
23461         * include/ifaddrs.h: Use IS_IN.
23462         * inet/check_pf.c: Likewise.
23463         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23464         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23466         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23467         IS_IN_ldconfig.
23468         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23469         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23471         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23472         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23473         IS_IN (libc).
23475         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23477         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23478         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23479         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23480         * include/libc-symbols.h (IS_IN_LIB): New macro.
23481         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23482         * include/netdb.h: Likewise.
23483         * include/stap-probe.h: Remove all uses of IN_LIB.
23485         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23486         instead of IN_MODULE.
23487         * include/libc-symbols.h (IN_MODULE): Define using
23488         MODULE_NAME.
23489         (PASTE_NAME, PASTE_NAME1): New macros.
23490         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23491         of IN_LIB.
23492         (STAP_PROBE_ASM): Likewise.
23494 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23496         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23497         __mach_init in dlopened libc.
23499 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23501         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23502         * sysdeps/arm/preconfigure: Regenerate.
23504 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23506         * nptl/pthread_create.c (__pthread_create_2_1): Set
23507         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23508         when copying values from IATTR into PD.
23510 2014-11-21  Will Newton  <will.newton@linaro.org>
23511             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23513         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23514         Refactor inline-asm.  Also add comment.
23516         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23517         ElfW macro instead of hardcoded Elf64 types.
23518         (la_aarch64_gnu_pltenter): Likewise.
23519         * sysdeps/aarch64/dl-machine.h
23520         (elf_machine_runtime_setup): Use ElfW(Addr).
23522         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23523         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23524         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23525         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23526         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23527         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23528         (R_AARCH64_TLS_DTPMOD): This.
23529         (R_AARCH64_TLS_DTPREL64): Rename to ...
23530         (R_AARCH64_TLS_DTPREL): This.
23531         (R_AARCH64_TLS_TPREL64): Rename to ...
23532         (R_AARCH64_TLS_TPREL): This.
23533         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23534         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23535         R_AARCH64_TLS_TPREL64.
23536         (elf_machine_rela): Likewise.
23538 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23540         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23541         by setting it to 0.  64b atomics are not supported currently.
23543 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23545         [BZ #16469]
23546         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23547         search domain names.
23549 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23551         [BZ #16469]
23552         * NEWS: Update.
23553         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23554         trailing dot.
23555         * posix/tst-getaddrinfo5.c: New.
23556         * posix/Makefile (tests): Add it.
23558 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23560         [BZ #14498]
23561         * NEWS: Fixed.
23562         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23563         after parsing line but before break_if_match.
23564         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23565         if there is a protocol mismatch.
23567 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23569         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23570         because the potential race is on the user-supplied stream.
23572 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23574         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23575         string literal if not passed a buffer.
23576         * manual/job.texi (ctermid): Update reasoning, note deviation
23577         from posix, suggest mtasurace when not passed a buffer, for
23578         future non-preliminary safety notes.
23580 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23582         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23583         of not passing it a buffer.
23584         Reported by Peng Haitao.
23586 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23588         * manual/Makefile ($(objpfx)stamp-summary): Require
23589         check-safety.sh to pass.
23590         * manual/check-safety.sh: Wish for verification that every
23591         @deftypefn and @deftypefun is followed by a @safety remark.
23593 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23595         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23597         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23598         PTHREAD_CANCEL_ASYNCHRONOUS.
23599         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23600         send SIGCANCEL.
23602         * nptl/default-sched.h: New file.
23603         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23604         * nptl/pthread_create.c: Include it.
23605         (__pthread_create_2_1): Use collect_default_sched instead of making
23606         Linux syscalls here directly.
23608 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23610         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23611         __pthread_once): Use C11 atomics.
23613 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23615         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23617 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23619         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23620         atomic_thread_fence_acquire, atomic_thread_fence_release,
23621         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23622         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23623         atomic_compare_exchange_weak_relaxed,
23624         atomic_compare_exchange_weak_acquire,
23625         atomic_compare_exchange_weak_release,
23626         atomic_exchange_acquire, atomic_exchange_release,
23627         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23628         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23629         atomic_fetch_and_acquire,
23630         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23632 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23634         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23635         USE_ATOMIC_COMPILER_BUILTINS): Define.
23636         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23638         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23640         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23642         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23644         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23646         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23648         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23650         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23652         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23654         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23656         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23658         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23660         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23662         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23664         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23666         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23668         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23670         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23671         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23672         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23674         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23677 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23679         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23680         the sched_priority value here.  It was already checked when the user
23681         called pthread_attr_setschedparam.
23683         * nptl/tst-bad-schedattr.c: New file.
23684         * nptl/Makefile (tests): Add it.
23686 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23687             Florian Weimer  <fweimer@redhat.com>
23688             Joseph Myers  <joseph@codesourcery.com>
23689             Adam Conrad  <adconrad@0c3.net>
23690             Andreas Schwab  <schwab@suse.de>
23691             Brooks  <bmoses@google.com>
23693         [BZ #17625]
23694         * wordexp-test.c (__dso_handle): Add prototype.
23695         (__register_atfork): Likewise.
23696         (__app_register_atfork): New function.
23697         (registered_forks): New global.
23698         (register_fork): New function.
23699         (test_case): Add 3 new tests for WRDE_CMDSUB.
23700         (main): Call __app_register_atfork.
23701         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23702         fork count is non-zero fail the test.
23703         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23704         is set.
23705         (parse_dollars): Remove check for WRDE_NOCMD.
23706         (parse_dquote): Likewise.
23708 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23710         * Makeconfig (built-modules): List non-library modules to be
23711         built.
23712         (module-cppflags): Include libc-modules.h for
23713         everything except shlib-versions.v.i.
23714         (CPPFLAGS): Use it.
23715         (before-compile): Add libc-modules.h.
23716         ($(common-objpfx)libc-modules.h,
23717         $(common-objpfx)libc-modules.stmp): New targets.
23718         (common-generated): Add libc-modules.h and libc-modules.stmp.
23719         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23720         * include/libc-symbols.h: Don't include libc-modules.h.
23721         * include/libc-modules.h: Remove file.
23722         * scripts/gen-libc-modules.awk: New script to generate
23723         libc-modules.h.
23724         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23725         Depend on libc-modules.stmp.
23727         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23729         * Makeconfig (in-module): Get value of libof set for the
23730         translation unit.
23731         (CPPFLAGS): Use $(in-module).
23732         * Makerules: Don't suffix routine names for nonlib.
23733         * include/libc-modules.h: New file.
23734         * include/libc-symbols.h: Include libc-modules.h
23735         (IS_IN): New macro to replace IS_IN_* macros.
23736         * elf/Makefile: Set libof-* for each routine.
23737         * elf/rtld-Rules: Likewise.
23738         * extra-modules.mk: Likewise.
23739         * iconv/Makefile: Likewise.
23740         * iconvdata/Makefile: Likewise.
23741         * locale/Makefile: Likewise.
23742         * malloc/Makefile: Likewise.
23743         * nss/Makefile: Likewise.
23744         * sysdeps/gnu/Makefile: Likewise.
23745         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23746         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23747         * sysdeps/s390/s390-64/Makefile: Likewise.
23748         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23749         CPPFLAGS for nscd instead of nonlib.
23751 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23753         * nptl/createthread.c: New file.
23755         * nptl/createthread.c: Moved ...
23756         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23758         * nptl/createthread.c: Add proper top-line comment.
23759         (do_clone): Folded into ...
23760         (create_thread): ... here.  Take new arguments STOPPED_START and
23761         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23762         increment __nptl_threads, do event-reporting logic, do
23763         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23764         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23765         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23766         just send SIGCANCEL.
23767         * nptl/pthread_create.c: Forward-declare create_thread before
23768         including createthread.c.
23769         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23770         declaration, and new macro START_THREAD_SELF to replace argument.
23771         Remove return statement.
23772         (report_thread_creation): New function.
23773         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23774         synchronization logic, and __nptl_nthreads increment here, around
23775         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23776         PD->parent_cancelhandling here, before create_thread.  When
23777         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23778         __deallocate_stack, and ENOMEM translation here.
23780 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23782         [BZ #17616]
23783         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23784         (mptwo): Rename to __mptwo.
23785         (__inv): Use __mptwo instead of mptwo.
23786         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23787         (mptwo): Rename to __mptwo.
23788         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23789         of mpone and __mptwo instead of mptwo.
23790         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23791         instead of mpone.
23792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23793         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23794         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23795         of mpone and __mptwo instead of mptwo.
23796         (__mpranred): Use __mpone instead of mpone.
23797         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23798         variable.
23799         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23800         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23801         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23802         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23803         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23804         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23805         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23806         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23807         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23808         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23809         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23810         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23811         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23812         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23813         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23814         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23815         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23816         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23817         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23819 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23821         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23822         replace BSD Handler xref with BSD Signal Handling.
23824 2014-11-17  Richard Henderson  <rth@redhat.com>
23826         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23827         (_FP_PACK_RAW_2): Remove.
23828         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23829         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23830         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23831         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23832         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23833         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23834         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23835         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23836         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23837         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23838         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23839         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23840         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23841         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23842         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23843         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23845 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23847         * signal/signal.h [__USE_MISC]
23848         (struct sigvec): Remove type.
23849         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23850         (sigvec): Remove declaration.
23851         * sysdeps/posix/sigvec.c: Moved ...
23852         * signal/sigvec.c: ... here, replacing old file.
23853         (struct sigvec): New type, copied from old signal.h definition.
23854         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23855         (__sigvec): Convert definition to prototype.
23856         (sigvec): Replace weak_alias with compat_symbol.
23857         * signal/Versions (libc: GLIBC_2.21): New version set.
23858         * include/signal.h: Remove __sigvec declaration.
23859         * sysdeps/unix/bsd/sigvec.c: Remove file.
23860         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23861         * manual/signal.texi (BSD Handler): Remove subsection.
23862         Move siginterrupt up to ...
23863         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23864         (Blocking in BSD): Fold subsection into its parent.
23865         * NEWS: Mention sigvec removal.
23867 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23869         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23870         (DLA_FMS): Make definition conditional only on [__FMA4__].
23871         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23872         definition.
23874         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23875         Make definition conditional only on [PROF].
23876         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23877         definition.
23878         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23879         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23881         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23882         !__GNUC__].
23883         * include/signal.h (__sigpause): Move declaration above call to
23884         libc_hidden_proto.
23885         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23886         variable.
23887         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23888         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23890 2014-11-14  David S. Miller  <davem@davemloft.net>
23892         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23893         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23895 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23897         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23898         * configure: Regenerated.
23899         * manual/install.texi (Tools for Compilation): Document a
23900         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23901         compiler verified to work.
23902         * INSTALL: Regenerated.
23904         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23905         redeclare with asm name.
23906         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23907         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23908         including <string.h>.
23909         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23910         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23911         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23912         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23913         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23914         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23915         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23917 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23919         * stdlib/strtol.c (__strtol): Use prototype definition.
23921         [BZ #17594]
23922         * stdlib/strtol.c (SYM__): New macro.
23923         (SYM__1): Likewise.
23924         (__strtol): Likewise.
23925         (strtol): Rename to __strtol and define as weak alias of
23926         __strtol.  Use libc_hidden_weak.
23928 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23930         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23931         Use numbered labels in inline assembly.
23933 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23935         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23936         Add setjmp LIBC_PROBE.
23937         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23938         Likewise.
23939         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23940         Add longjmp, longjmp_target LIBC_PROBE.
23941         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23942         Likewise.
23944 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23946         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23947         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23948         to get rid of unused variable warning.
23950 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23952         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23953         Check for unwind_backtrace ==  NULL only in SHARED case.
23954         (__backchain_backtrace): Compile only in SHARED case.
23955         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23956         Likewise.
23957         (__backchain_backtrace): Declare as static.
23959 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23961         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23962         (__libc_multiple_threads_ptr): Variable moved ...
23963         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23965 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23967         * conform/GlibcConform.pm: New file.
23968         * conform/conformtest.pl: Use GlibcConform module.
23969         * conform/linknamespace.pl: New file.
23970         * conform/list-header-symbols.pl: Likewise.
23971         * conform/Makefile (linknamespace-symlists-base): New variable.
23972         (linknamespace-symlists-tests): Likewise.
23973         (linknamespace-header-base): Likewise.
23974         (linknamespace-header-tests): Likewise.
23975         (tests-special): Add new tests.
23976         ($(linknamespace-symlists-tests)): New rule.
23977         (linknamespace-libs): New variable.
23978         ($(objpfx)symlist-stdlibs): New rule.
23979         ($(linknamespace-header-tests)): Likewise.
23980         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23981         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23982         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23983         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23984         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23985         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23986         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23987         (test-xfail-ISO/math.h/linknamespace): Likewise.
23988         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23989         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23990         (test-xfail-ISO/time.h/linknamespace): Likewise.
23991         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23992         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23993         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23994         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23995         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23996         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23997         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23998         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23999         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24000         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24001         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24002         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24003         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24004         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24005         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24006         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24007         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24008         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24009         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24010         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24011         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24012         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24013         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24014         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24015         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24016         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24017         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24018         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24019         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24020         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24021         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24022         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24023         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24024         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24025         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24026         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24027         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24028         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24029         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24030         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24031         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24032         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24033         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24034         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24035         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24036         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24037         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24038         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24039         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24040         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24041         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24042         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24043         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24044         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24045         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24046         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24047         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24048         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24049         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24050         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24051         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24052         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24053         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24054         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24055         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24056         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24057         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24058         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24059         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24060         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24061         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24062         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24063         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24064         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24065         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24066         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24067         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24068         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24069         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24070         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24071         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24072         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24073         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24074         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24075         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24076         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24077         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24078         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24079         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24080         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24081         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24082         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24083         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24084         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24085         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24086         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24087         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24088         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24089         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24090         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24091         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24092         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24093         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24094         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24095         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24096         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24097         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24098         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24099         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24100         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24101         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24102         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24103         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24104         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24105         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24106         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24107         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24108         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24109         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24110         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24111         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24112         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24113         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24114         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24115         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24116         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24117         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24118         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24119         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24120         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24121         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24122         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24123         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24124         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24125         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24126         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24127         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24128         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24129         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24130         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24131         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24132         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24133         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24134         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24135         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24136         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24137         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24138         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24139         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24140         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24142         [BZ #17589]
24143         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24144         of fgets_unlocked.
24146         [BZ #17585]
24147         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24148         (memmem): Rename to __memmem and define as weak alias of
24149         __memmem.  Use libc_hidden_weak.
24150         (__memmem): Use libc_hidden_def.
24151         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24152         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24153         memmem.
24155         [BZ #17582]
24156         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24157         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24158         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24159         and define as weak alias of __fgets_unlocked.  Use
24160         libc_hidden_weak.
24161         (__fgets_unlocked): Use libc_hidden_def.
24162         * include/stdio.h (__fgets_unlocked): Declare.  Use
24163         libc_hidden_proto.
24164         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24165         __fgets_unlocked instead of fgets_unlocked.
24166         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24167         (GET_NPROCS_CONF_PARSER): Likewise.
24168         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24169         (GET_NPROCS_CONF_PARSER): Likewise.
24171         [BZ #17574]
24172         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24173         weak alias of __wmemset.  Use libc_hidden_weak.
24174         (__wmemset): Use libc_hidden_def.
24175         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24176         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24177         of wmemset.
24179         [BZ #17573]
24180         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24181         with asm name __mempcpy.
24182         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24184         [BZ #17572]
24185         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24186         and define as weak alias of __rawmemchr.
24187         (__rawmemchr): Do not define as strong alias of rawmemchr.
24189         [BZ #17571]
24190         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24191         alias of __qsort_r.
24192         (qsort): Call __qsort_r instead of qsort_r.
24193         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24194         (__qsort_r): Declare.  Call libc_hidden_proto.
24195         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24196         instead of qsort_r.
24197         * nscd/gai.c (__qsort_r): Define to qsort_r.
24198         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24199         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24200         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24202         [BZ #17570]
24203         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24204         define as weak alias of __malloc_info.
24206         [BZ #17584]
24207         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24208         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24209         (__rewinddir): Use libc_hidden_def.
24210         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24211         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24212         (__rewinddir): Use libc_hidden_def.
24213         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24214         weak alias of __rewinddir.  Don't use libc_hidden_def.
24215         (__rewinddir): Use libc_hidden_def.
24216         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24217         (__rewinddir): Use libc_hidden_proto.
24218         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24219         rewinddir.
24220         (__getcwd): Use __rewinddir instead of rewinddir.
24222         [BZ #17583]
24223         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24224         alias of __fileno.  Use libc_hidden_weak.
24225         (__fileno): Use libc_hidden_def.
24226         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24227         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24228         alias of __ftello.
24229         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24230         __ftello.
24231         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24232         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24233         libc_hidden_def.
24234         (fread_unlocked): Don't use libc_hidden_ver.
24235         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24236         and define as weak alias of __fread_unlocked.  Don't use
24237         libc_hidden_def.
24238         (__fread_unlocked): Use libc_hidden_def.
24239         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24240         (ftello): Don't use libc_hidden_proto.
24241         (__ftello): Declare.  Use libc_hidden_proto.
24242         (fread_unlocked): Don't use libc_hidden_proto.
24243         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24244         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24245         and __ftello instead of fileno, fread_unlocked and ftello.
24247 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24249         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24250         GOT12.
24251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24252         Likewise.
24253         (_dl_start_user): Likewise.
24254         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24256 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24257             Siddhesh Poyarekar  <siddhesh@redhat.com>
24259         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24260         Move argv and envp down instead of moving argc up.
24261         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24263 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24265         [BZ #17506]
24266         * test-skeleton.c (main): Return successful if one of
24267         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24268         * string/tst-strcoll-overflow.c: Define expected status.
24270 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24272         [BZ #17475]
24273         * locale/iso-639.def: Define Bhili and Tulu language codes.
24275 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24277         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24279 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24281         [BZ #17555]
24282         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24284 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24286         * configure.ac: Updated check of minimal required version to
24287         2.22.
24288         * manual/install.texi (Tools for Compilation): Updated version
24289         number.
24290         * configure: Regenerated.
24291         * INSTALL: Likewise.
24293 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24295         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24296         __tls_get_addr.
24298 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24300         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24301         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24302         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24303         libc_hidden_weak.
24304         (waitpid): Define as alias of __waitpid.
24305         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24306         __waitpid.
24307         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24308         libc_hidden_weak.
24309         (waitpid): Define as alias of __waitpid.
24310         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24311         __libc_waitpid alias.
24312         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24313         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24314         Likewise.
24315         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24316         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24317         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24318         alias.
24319         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24320         __waitpid.
24321         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24322         libc_hidden_weak.
24323         (waitpid): Define as alias of __waitpid.
24325 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24327         * manual/llio.texi: Add comment that write safety has been
24328         fixed in Linux.
24330         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24331         (localplt-build-dso): Add elf/ld.so.
24332         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24333         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24334         and free for ld.so.
24335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24336         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24338         Likewise.
24339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24340         Likewise.
24341         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24342         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24343         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24344         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24345         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24346         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24347         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24348         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24349         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24350         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24351         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24353 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24355         [BZ #14132]
24356         * include/libc-symbols.h (INTUSE): Remove macro.
24357         (INTDEF): Likewise.
24358         (INTVARDEF): Likewise.
24359         (_INTVARDEF): Likewise.
24360         (INTDEF2): Likewise.
24361         (INTVARDEF2): Likewise.
24362         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24363         rtld_hidden_def instead of INTVARDEF.
24364         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24365         (_dl_starting_up_internal): Remove declaration.
24366         (_dl_starting_up): Use rtld_hidden_proto.
24367         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24368         declaration.
24369         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24370         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24371         _dl_starting_up.
24372         * elf/dl-writev.h (_dl_writev): Likewise.
24373         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24374         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24375         _dl_starting_up_internal.
24377 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24379         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24380         test-skeleton.c.
24382 2014-11-05  Will Newton  <will.newton@linaro.org>
24384         * benchtests/Makefile: (bench-malloc): Add malloc thread
24385         scalability benchmark.
24386         * benchtests/bench-malloc-threads.c: New file.
24388 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24390         * sysdeps/aarch64/strchrnul.S: New file.
24392 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24394         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24395         definition.
24396         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24397         Likwise.
24398         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24399         Likewise.
24400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24401         Likewise.
24402         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24403         Likewise.
24404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24405         Likewise.
24407 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24409         * catgets/test-gencat.c: Use test-skeleton.c.
24410         * catgets/tst-catgets.c: Likewise.
24411         * csu/tst-empty.c: Likewise.
24412         * elf/tst-audit2.c: Likewise.
24413         * elf/tst-global1.c: Likewise.
24414         * elf/tst-pathopt.c: Likewise.
24415         * elf/tst-piemod1.c: Likewise.
24416         * elf/tst-tls10.c: Likewise.
24417         * elf/tst-tls11.c: Likewise.
24418         * elf/tst-tls12.c: Likewise.
24419         * gnulib/tst-gcc.c: Likewise.
24420         * iconvdata/tst-e2big.c: Likewise.
24421         * iconvdata/tst-loading.c: Likewise.
24422         * iconv/tst-iconv1.c: Likewise.
24423         * iconv/tst-iconv2.c: Likewise.
24424         * inet/test-inet6_opt.c: Likewise.
24425         * inet/tst-gethnm.c: Likewise.
24426         * inet/tst-network.c: Likewise.
24427         * inet/tst-ntoa.c: Likewise.
24428         * intl/tst-codeset.c: Likewise.
24429         * intl/tst-gettext2.c: Likewise.
24430         * intl/tst-gettext3.c: Likewise.
24431         * intl/tst-ngettext.c: Likewise.
24432         * intl/tst-translit.c: Likewise.
24433         * io/test-stat.c: Likewise.
24434         * libio/test-fmemopen.c: Likewise.
24435         * libio/tst-freopen.c: Likewise.
24436         * libio/tst-sscanf.c: Likewise.
24437         * libio/tst-ungetwc1.c: Likewise.
24438         * libio/tst-ungetwc2.c: Likewise.
24439         * libio/tst-widetext.c: Likewise.
24440         * localedata/tst-ctype.c: Likewise.
24441         * localedata/tst-digits.c: Likewise.
24442         * localedata/tst-leaks.c: Likewise.
24443         * localedata/tst-mbswcs1.c: Likewise.
24444         * localedata/tst-mbswcs2.c: Likewise.
24445         * localedata/tst-mbswcs3.c: Likewise.
24446         * localedata/tst-mbswcs4.c: Likewise.
24447         * localedata/tst-mbswcs5.c: Likewise.
24448         * localedata/tst-setlocale.c: Likewise.
24449         * localedata/tst-trans.c: Likewise.
24450         * localedata/tst-wctype.c: Likewise.
24451         * localedata/tst-xlocale1.c: Likewise.
24452         * login/tst-grantpt.c: Likewise.
24453         * malloc/tst-calloc.c: Likewise.
24454         * malloc/tst-malloc.c: Likewise.
24455         * malloc/tst-mallocstate.c: Likewise.
24456         * malloc/tst-mcheck.c: Likewise.
24457         * malloc/tst-mtrace.c: Likewise.
24458         * malloc/tst-obstack.c: Likewise.
24459         * math/atest-exp2.c: Likewise.
24460         * math/atest-exp.c: Likewise.
24461         * math/atest-sincos.c: Likewise.
24462         * math/test-matherr.c: Likewise.
24463         * math/test-misc.c: Likewise.
24464         * math/test-powl.c: Likewise.
24465         * math/tst-definitions.c: Likewise.
24466         * misc/tst-dirname.c: Likewise.
24467         * misc/tst-efgcvt.c: Likewise.
24468         * misc/tst-fdset.c: Likewise.
24469         * misc/tst-hsearch.c: Likewise.
24470         * misc/tst-mntent2.c: Likewise.
24471         * nptl/tst-sem7.c: Likewise.
24472         * nptl/tst-sem8.c: Likewise.
24473         * nptl/tst-sem9.c: Likewise.
24474         * nss/test-netdb.c: Likewise.
24475         * posix/tst-fnmatch.c: Likewise.
24476         * posix/tst-getlogin.c: Likewise.
24477         * posix/tst-gnuglob.c: Likewise.
24478         * posix/tst-mmap.c: Likewise.
24479         * pwd/tst-getpw.c: Likewise.
24480         * resolv/tst-inet_ntop.c: Likewise.
24481         * rt/tst-timer.c: Likewise.
24482         * stdio-common/test-fseek.c: Likewise.
24483         * stdio-common/test-popen.c: Likewise.
24484         * stdio-common/test-vfprintf.c: Likewise.
24485         * stdio-common/tst-cookie.c: Likewise.
24486         * stdio-common/tst-fileno.c: Likewise.
24487         * stdio-common/tst-gets.c: Likewise.
24488         * stdio-common/tst-obprintf.c: Likewise.
24489         * stdio-common/tst-perror.c: Likewise.
24490         * stdio-common/tst-sprintf2.c: Likewise.
24491         * stdio-common/tst-sprintf3.c: Likewise.
24492         * stdio-common/tst-sprintf.c: Likewise.
24493         * stdio-common/tst-swprintf.c: Likewise.
24494         * stdio-common/tst-tmpnam.c: Likewise.
24495         * stdio-common/tst-unbputc.c: Likewise.
24496         * stdio-common/tst-wc-printf.c: Likewise.
24497         * stdlib/tst-environ.c: Likewise.
24498         * stdlib/tst-fmtmsg.c: Likewise.
24499         * stdlib/tst-limits.c: Likewise.
24500         * stdlib/tst-rand48-2.c: Likewise.
24501         * stdlib/tst-rand48.c: Likewise.
24502         * stdlib/tst-random2.c: Likewise.
24503         * stdlib/tst-random.c: Likewise.
24504         * stdlib/tst-strtol.c: Likewise.
24505         * stdlib/tst-strtoll.c: Likewise.
24506         * stdlib/tst-tls-atexit.c: Likewise.
24507         * stdlib/tst-xpg-basename.c: Likewise.
24508         * string/test-ffs.c: Likewise.
24509         * string/tst-bswap.c: Likewise.
24510         * string/tst-inlcall.c: Likewise.
24511         * string/tst-strtok.c: Likewise.
24512         * string/tst-strxfrm.c: Likewise.
24513         * sysdeps/x86_64/tst-audit10.c: Likewise.
24514         * sysdeps/x86_64/tst-audit3.c: Likewise.
24515         * sysdeps/x86_64/tst-audit4.c: Likewise.
24516         * sysdeps/x86_64/tst-audit5.c: Likewise.
24517         * time/tst-ftime_l.c: Likewise.
24518         * time/tst-getdate.c: Likewise.
24519         * time/tst-mktime3.c: Likewise.
24520         * time/tst-mktime.c: Likewise.
24521         * time/tst-posixtz.c: Likewise.
24522         * time/tst-strptime2.c: Likewise.
24523         * time/tst-strptime3.c: Likewise.
24524         * wcsmbs/tst-btowc.c: Likewise.
24525         * wcsmbs/tst-mbrtowc.c: Likewise.
24526         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24527         * wcsmbs/tst-wchar-h.c: Likewise.
24528         * wcsmbs/tst-wcpncpy.c: Likewise.
24529         * wcsmbs/tst-wcrtomb.c: Likewise.
24530         * wcsmbs/tst-wcsnlen.c: Likewise.
24531         * wcsmbs/tst-wcstof.c: Likewise.
24533 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24535         [BZ #14132]
24536         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24537         INTDEF.
24538         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24539         declaration.
24540         (_dl_mcount): Use rtld_hidden_proto.
24541         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24542         _dl_mcount.
24543         * elf/rtld.c (_rtld_global_ro): Likewise.
24545         [BZ #14132]
24546         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24547         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24548         of _dl_init_internal.
24549         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24550         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24551         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24552         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24553         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24554         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24555         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24556         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24557         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24558         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24559         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24560         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24561         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24562         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24563         * sysdeps/tile/dl-start.S (_start): Likewise.
24564         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24565         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24567         [BZ #14132]
24568         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24569         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24570         (rtld_progname): Make macro definition unconditional.
24571         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24572         INTDEF.
24573         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24574         (dl_main): Likewise.
24575         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24576         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24577         instead of _dl_argv_internal.
24578         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24579         __GI__dl_argv instead of INTUSE(_dl_argv).
24580         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24581         __GI__dl_argv instead of _dl_argv_internal.
24583         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24584         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24585         macro.
24586         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24587         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24588         New macro.
24589         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24590         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24591         macro.
24592         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24593         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24595 2014-11-04  Andreas Schwab  <schwab@suse.de>
24597         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24599 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24601         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24602         mtvsrd instruction in binary form.
24604 2014-11-03  Andreas Schwab  <schwab@suse.de>
24606         [BZ #17522]
24607         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24608         for less than MB_LEN_MAX use a local buffer of that size.
24609         * libio/tst-fputws.c: New file.
24610         * libio/Makefile (tests): Add tst-fputws.
24612 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24614         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24615         the size of the fpu_fr.fpu_dregs[] array.
24617 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24619         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24620         (__nanosleep): Do not define as alias.
24621         (nanosleep): Define as alias of __nanosleep.
24622         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24623         __libc_nanosleep name.
24625 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24627         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24628         install.texi in comment.
24630 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24632         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24633         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24634         ... add here and use lwsync or sync ...
24635         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24636         ... and add here using lwsync.
24638 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24640         * elf/dl-machine-reject-phdr.h: New file.
24641         * elf/dl-load.c: #include that.
24642         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24643         if that returned true.
24645 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24647         [BZ #17496]
24648         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24649         gen-as-const-headers chunk.  Add a big scare comment after the last
24650         safe place to touch before-compile.
24652 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24654         * manual/install.texi (Tools for Compilation): Update autoconf
24655         version requirements.
24656         * INSTALL: Regenerated.
24658         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24659         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24660         (__libc_pselect): Likewise.
24662         [BZ #14138]
24663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24668 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24670         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24671         correct barrier instruction.
24672         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24673         Likewise.
24674         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24675         Likewise.
24677 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24679         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24680         after defining inlines.  Instead, just use parens to defeat macro
24681         expansion of __isctype in its declaration.
24683 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24685         * include/sys/uio.h (__libc_readv): Remove declaration.
24686         (__libc_writev): Likewise.
24687         * misc/readv.c (__libc_readv): Rename to __readv.
24688         (__readv): Do not define as alias.
24689         (readv): Define as alias of __readv.
24690         * misc/writev.c (__libc_writev): Rename to __writev.
24691         (__writev): Do not define as alias.
24692         (writev): Define as alias of __writev.
24693         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24694         (__readv): Do not define as alias.
24695         (readv): Define unconditionally as alias of __readv.
24696         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24697         (__writev): Do not define as alias.
24698         (writev): Define unconditionally as alias of __writev.
24699         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24700         name.
24701         (writev): Do not define __libc_writev name.
24703 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24705         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24706         (convert_charseq): New function, broken out of ...
24707         (use_from_charmap): ... here.  Call it.
24708         (use_to_charmap): Use convert_charseq and free instead of duplicating
24709         its code with a variable-length stack struct.
24711 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24713         * include/fcntl.h (__libc_creat): Remove declaration.
24714         * io/creat.c (__libc_creat): Rename to creat.
24715         (creat): Do not define as alias.
24716         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24717         of creat instead of __libc_creat.
24718         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24719         to creat.
24720         (creat): Do not define as alias.
24721         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24722         __libc_creat.
24723         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24724         __libc_creat name.
24725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24726         Likewise.
24728 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24730         * manual/llio.texi: Add comments discussing why write() may be
24731         considered MT-unsafe on Linux.
24733 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24735         * dl-load.c (local_strdup): Remove.
24736         (expand_dynamic_string_token): Use __strdup.
24737         (decompose_rpath): Likewise.
24738         (_dl_map_object): Likewise.
24740 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24742         [BZ #14132]
24743         * sysdeps/generic/unwind-dw2-fde.c
24744         (__register_frame_info_bases_internal): Do not declare.
24745         (__register_frame_info_table_bases_internal): Likewise.
24746         (__deregister_frame_info_bases_internal): Likewise.
24747         (__register_frame_info_bases): Declare and use hidden_proto before
24748         definition.  Use hidden_def instead of INTDEF.
24749         (__register_frame_info_table_bases): Likewise.
24750         (__deregister_frame_info_bases): Likewise.
24751         (__register_frame_info): Do not use INTUSE.
24752         (__register_frame): Likewise.
24753         (__register_frame_info_table): Likewise.
24754         (__register_frame_table): Likewise.
24755         (__deregister_frame_info): Likewise.
24756         (__deregister_frame): Likewise.
24758 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24760         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24761         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24762         not undefine.
24763         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24764         Likewise.
24765         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24766         Likewise.
24768 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24770         [BZ #14138]
24771         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24772         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24773         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24774         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24775         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24776         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24777         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24778         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24779         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24780         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24781         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24782         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24783         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24784         syscall.
24785         (setfsuid): Likewise.
24786         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24787         (setfsuid): Likewise.
24788         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24789         (setfsuid): Likewise.
24790         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24791         Likewise.
24792         (setfsuid): Likewise.
24793         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24794         (setfsuid): Likewise.
24795         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24796         Likewise.
24797         (setfsuid): Likewise.
24799 2014-10-27  Andreas Schwab  <schwab@suse.de>
24801         [BZ #17501]
24802         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24803         check for Slow_SSE4_2 feature bit.
24804         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24805         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24806         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24807         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24809 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24811         * configure.ac: Validate compiler version with a empirical test of
24812         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24813         $CC -v output.
24814         * configure: Regenerated.
24816         * inet/htons.c (htons): Prototypify.
24817         * inet/htonl.c (htonl): Likewise.
24819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24821         * string/strncat.c (strncat): Improve performance by using strlen.
24823 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24825         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24827 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24829         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24830         Call libc_fetestexcept_aarch64.
24832 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24834         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24835         Call libc_feholdexcept_aarch64.
24837 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24839         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24840         Call get_rounding_mode.
24842 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24844         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24845         Simplify logic.
24847 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24849         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24850         Simplify logic.
24852 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24854         [BZ #14138]
24855         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24856         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24857         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24858         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24859         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24860         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24861         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24862         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24863         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24864         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24865         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24866         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24867         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24868         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24869         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24870         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24871         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24872         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24873         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24874         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24875         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24876         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24877         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24878         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24879         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24880         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24881         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24882         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24883         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24884         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24885         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24886         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24887         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24888         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24889         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24890         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24891         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24892         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24893         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24894         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24895         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24896         syscall.
24897         (geteuid): Likewise.
24898         (getgid): Likewise.
24899         (getuid): Likewise.
24900         (getresgid): Likewise.
24901         (getresuid): Likewise.
24902         (getgroups): Likewise.
24903         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24904         (geteuid): Likewise.
24905         (getgid): Likewise.
24906         (getuid): Likewise.
24907         (getresgid): Likewise.
24908         (getresuid): Likewise.
24909         (getgroups): Likewise.
24910         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24911         (geteuid): Likewise.
24912         (getgid): Likewise.
24913         (getuid): Likewise.
24914         (getresgid): Likewise.
24915         (getresuid): Likewise.
24916         (getgroups): Likewise.
24917         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24918         Likewise.
24919         (geteuid): Likewise.
24920         (getgid): Likewise.
24921         (getuid): Likewise.
24922         (getresgid): Likewise.
24923         (getresuid): Likewise.
24924         (getgroups): Likewise.
24925         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24926         (geteuid): Likewise.
24927         (getgid): Likewise.
24928         (getuid): Likewise.
24929         (getresgid): Likewise.
24930         (getresuid): Likewise.
24931         (getgroups): Likewise.
24932         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24933         Likewise.
24934         (geteuid): Likewise.
24935         (getgid): Likewise.
24936         (getuid): Likewise.
24937         (getgroups): Likewise.
24939         [BZ #14138]
24940         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24941         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24942         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24944         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24945         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24946         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24947         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24948         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24949         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24950         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24951         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24952         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24953         __chown.
24954         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24955         (lchown): Likewise.
24956         (fchown): Likewise.
24957         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24958         Likewise.
24959         (lchown): Likewise.
24960         (fchown): Likewise.
24961         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24962         (lchown): Likewise.
24963         (fchown): Likewise.
24964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24965         Likewise.
24966         (lchown): Likewise.
24967         (fchown): Likewise.
24969 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24971         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24972         Simplify logic.
24974 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24976         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24977         Cleanup logic.
24979 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24981         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24982         Remove unused include.
24984 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24986         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24987         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24988         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24989         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24991 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24992             Helge Deller <deller@gmx.de>
24994         [BZ #17508]
24995         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24996         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24997         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24999 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25001         [BZ #14132]
25002         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25003         Remove macro definition.
25004         (__ashrdi3_v_glibc20): Likewise.
25005         (__lshrdi3_v_glibc20): Likewise.
25006         (__cmpdi2_v_glibc20): Likewise.
25007         (__ucmpdi2_v_glibc20): Likewise.
25008         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25009         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25010         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25011         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25012         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25013         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25015 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25017         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25018         old GNU extension [0] syntax.
25019         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25020         alloca rather than an array member with variable length.
25021         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25022         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25023         (parse_opt): ... here.  Likewise use alloca there.
25024         Validate the -i argument before checking for rootness.
25025         (send_shutdown): New function, broken out of ...
25026         (parse_opt): ... here.
25028 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25030         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25031         macro to get at the _rt_local_ro field.
25032         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25033         ([PIC] case) or _dl_hwcap ([!PIC] case).
25034         * sysdeps/arm/setjmp.S: Likewise.
25036         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25037         * sysdeps/arm/configure.ac: New check to define it.
25038         * sysdeps/arm/configure: Regenerated.
25039         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25040         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25041         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25042         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25043         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25044         Use move/movt pair instead of a load.
25045         (LDST_GLOBAL): Macro removed.
25046         (LDR_GLOBAL): New macro replaces it.
25047         (LDR_HIDDEN): New macro.
25048         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25049         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25051         * setjmp/tst-setjmp-static.c: New file.
25052         * setjmp/Makefile (tests): Add it.
25053         (tests-static): New variable.
25055 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25057         [BZ #17485]
25058         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25060 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25062         [BZ #14132]
25063         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25065 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25067         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25069 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25071         * io/fts.c (dirent_not_directory): New function.
25072         (fts_build): Call it.
25074 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25076         * nptl/version.c (__nptl_main): Use normal __write rather than
25077         INTERNAL_SYSCALL.
25078         (banner): Update copyright years.
25080         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25081         gettimeofday.
25082         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25083         * nptl/pthread_cond_timedwait.c: Likewise.
25084         * nptl/pthread_mutex_timedlock.c: Likewise.
25085         * nptl/sem_timedwait.c: Likewise.
25087         * sysdeps/nptl/bits/libc-lock.h
25088         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25089         (__libc_lock_init_recursive): Return void, not 0.
25090         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25091         (__libc_rwlock_init): Likewise.
25092         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25094 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25096         [BZ #15215]
25097         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25098         (__pthread_once_slow): ... here.
25099         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25100         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25102 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25104         [BZ #15215]
25105         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25106         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25107         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25108         * nptl/pthread_once.c (__pthread_once): Likewise.
25109         Update comments.
25111 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25113         [BZ #14138]
25114         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25115         name.
25116         (writev): Use __libc_writev as strong name.
25117         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25118         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25120 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25122         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25124         * sysdeps/i386/nptl/tls.h
25125         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25126         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25127         New macros.
25128         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25129         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25130         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25131         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25132         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25133         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25135         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25136         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25137         on [__NR_futex].
25138         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25139         broken out of ...
25140         (__pthread_mutex_init): ... here.  Call it.
25141         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25142         Conditionalize PI cases on [__NR_futex].
25143         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25144         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25145         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25147         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25148         conditional on [SIGSETXID].
25149         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25150         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25151         is defined.  Likewise for SIGSETXID.
25152         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25153         Conditionalize definitions on [SIGSETXID].
25154         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25155         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25156         unblocking on [SIGCANCEL].
25158         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25159         [__NR_set_robust_list].
25161 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25164         (do_compare): Likewise.
25166 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25168         [BZ #15884]
25169         * string/strcoll_l.c: Don't include stdio.h.
25170         (coll_seq): Remove members idxarr and rulearr.
25171         (get_next_seq_cached): Remove function.
25172         (get_next_seq): Likewise.
25173         (get_next_seq_nocache): Rename to get_next_seq.
25174         (do_compare): Remove function.
25175         (do_compare_nocache): Rename to do_compare.
25176         (STRCOLL): Remove weight and rules cache.
25178 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25180         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25181         * sysdeps/arm/sfp-machine.h: ... to here.
25182         * sysdeps/arm/Implies: Remove arm/soft-fp.
25184 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25186         * conform/data/sys/utsname.h-data (*_t): Allow.
25187         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25188         [POSIX] (WEXITED): Do not expect constant.
25189         [POSIX] (WSTOPPED): Likewise.
25190         [POSIX] (WNOHANG): Likewise.
25191         [POSIX] (WNOWAIT): Likewise.
25192         [POSIX] (siginfo_t): Do not expect type or elements.
25193         [POSIX] (pid_t): Do not expect type.
25194         [POSIX] (signal.h): Do not allow header.
25195         [POSIX] (sys/resource.h): Likewise.
25196         [POSIX] (si_*): Do not allow pattern.
25197         [POSIX] (W*): Likewise.
25198         [POSIX] (P_*): Likewise.
25199         [POSIX] (BUS_*): Likewise.
25200         [POSIX] (CLD_*): Likewise.
25201         [POSIX] (FPE_*): Likewise.
25202         [POSIX] (ILL_*): Likewise.
25203         [POSIX] (POLL_*): Likewise.
25204         [POSIX] (SEGV_*): Likewise.
25205         [POSIX] (SI_*): Likewise.
25206         [POSIX] (TRAP_*): Likewise.
25207         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25208         variable.
25210 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25212         [BZ #12926]
25213         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25214         infinite loop when __recvmsg returns 0.
25216 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25218         * CANCEL-FCT-WAIVE: Remove file.
25219         * CANCEL-FILE-WAIVE: Likewise.
25221         [BZ #14132]
25222         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25223         instead of INTVARDEF.
25224         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25225         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25226         rtld_hidden_data_def instead of INTVARDEF.
25227         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25228         * elf/dl-deps.c (expand_dst): Likewise.
25229         * elf/dl-load.c (_dl_dst_count): Likewise.
25230         (_dl_dst_substitute): Likewise.
25231         (decompose_rpath): Likewise.
25232         (_dl_init_paths): Likewise.
25233         (open_path): Likewise.
25234         (_dl_map_object): Likewise.
25235         * elf/rtld.c (dl_main): Likewise.
25236         (process_dl_audit): Likewise.
25237         (process_envvars): Likewise.
25238         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25239         Remove declaration.
25240         (__libc_enable_secure): Use rtld_hidden_proto.
25242 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25244         * elf/dl-load.c
25245         (add_path): New function broken out of _dl_rtld_di_serinfo.
25246         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25248 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25250         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25251         parentheses around macro arguments.
25252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25263         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25264         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25265         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25267         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25268         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25279         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25280         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25281         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25282         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25283         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25284         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25285         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25286         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25287         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25288         Likewise.
25289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25296         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25300         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25301         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25310         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25311         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25312         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25313         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25314         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25315         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25316         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25317         (_FP_FRAC_SRS_1): Likewise.
25318         (_FP_FRAC_CLZ_1): Likewise.
25319         (_FP_MUL_MEAT_1_imm): Likewise.
25320         (_FP_MUL_MEAT_1_wide): Likewise.
25321         (_FP_MUL_MEAT_1_hard): Likewise.
25322         (_FP_SQRT_MEAT_1): Likewise.
25323         (_FP_FRAC_ASSEMBLE_1): Likewise.
25324         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25325         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25326         (__FP_CLZ_2): Likewise.
25327         (_FP_MUL_MEAT_2_wide): Likewise.
25328         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25329         (_FP_MUL_MEAT_2_gmp): Likewise.
25330         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25331         (_FP_SQRT_MEAT_2): Likewise.
25332         (_FP_FRAC_ASSEMBLE_2): Likewise.
25333         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25334         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25335         (_FP_FRAC_CLZ_4): Likewise.
25336         (_FP_MUL_MEAT_4_wide): Likewise.
25337         (_FP_MUL_MEAT_4_gmp): Likewise.
25338         (_FP_SQRT_MEAT_4): Likewise.
25339         (_FP_FRAC_ASSEMBLE_4): Likewise.
25340         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25341         * soft-fp/op-common.h (_FP_CMP): Likewise.
25342         (_FP_CMP_EQ): Likewise.
25343         (_FP_CMP_UNORD): Likewise.
25344         (_FP_TO_INT): Likewise.
25345         (_FP_FROM_INT): Likewise.
25346         [!__FP_CLZ] (__FP_CLZ): Likewise.
25347         (_FP_DIV_HELP_imm): Likewise.
25348         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25349         Likewise.
25350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25361         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25362         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25365         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25366         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25379         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25384         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25385         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25386         (FP_UNPACK_RAW_SP): Likewise.
25387         (FP_PACK_RAW_S): Likewise.
25388         (FP_PACK_RAW_SP): Likewise.
25389         (FP_UNPACK_S): Likewise.
25390         (FP_UNPACK_SP): Likewise.
25391         (FP_UNPACK_SEMIRAW_S): Likewise.
25392         (FP_UNPACK_SEMIRAW_SP): Likewise.
25393         (FP_PACK_S): Likewise.
25394         (FP_PACK_SP): Likewise.
25395         (FP_PACK_SEMIRAW_S): Likewise.
25396         (FP_PACK_SEMIRAW_SP): Likewise.
25397         (_FP_SQRT_MEAT_S): Likewise.
25398         (FP_CMP_S): Likewise.
25399         (FP_CMP_EQ_S): Likewise.
25400         (FP_CMP_UNORD_S): Likewise.
25401         (FP_TO_INT_S): Likewise.
25402         (FP_FROM_INT_S): Likewise.
25404         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25406         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25407         (FP_EX_INVALID_IMZ): Likewise.
25408         (FP_EX_INVALID_IMZ_FMA): Likewise.
25409         (FP_EX_INVALID_ISI): Likewise.
25410         (FP_EX_INVALID_ZDZ): Likewise.
25411         (FP_EX_INVALID_IDI): Likewise.
25412         (FP_EX_INVALID_SQRT): Likewise.
25413         (FP_EX_INVALID_CVI): Likewise.
25414         (FP_EX_INVALID_VC): Likewise.
25415         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25416         "invalid" exceptions.
25417         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25418         (_FP_ADD_INTERNAL): Likewise.
25419         (_FP_MUL): Likewise.
25420         (_FP_FMA): Likewise.
25421         (_FP_DIV): Likewise.
25422         (_FP_CMP_CHECK_NAN): Likewise.
25423         (_FP_SQRT): Likewise.
25424         (_FP_TO_INT): Likewise.
25425         (FP_EXTEND): Likewise.
25427 2014-10-09  Allan McRae  <allan@archlinux.org>
25429         * po/fr.po: Update French translation from translation project.
25431 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25433         [BZ #14132]
25434         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25435         of INTDEF.
25436         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25437         (__cxa_atexit): Use libc_hidden_proto.
25438         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25440         [BZ #14132]
25441         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25442         declaration.
25443         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25444         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25445         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25446         [!_ISOMAC] (__iswctype_internal): Likewise.
25447         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25448         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25449         alias.
25450         (fcntl): Remove __fcntl_internal alias.
25451         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25452         __connect_internal alias.
25453         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25454         Likewise.
25456         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25458         FP_DENORM_ZERO.
25459         (_FP_CHECK_FLUSH_ZERO): New macro.
25460         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25461         (_FP_CMP): Likewise.
25462         (_FP_CMP_EQ): Likewise.
25463         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25464         FP_DENORM_ZERO.
25465         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25466         (FP_TRUNC): Likewise.
25468         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25469         treated as invalid conversion, not as normal exponent.
25471         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25472         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25473         (_FP_CMP_EQ): Likewise.
25474         (_FP_CMP_UNORD): Likewise.
25475         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25476         (FP_CMP_EQ_D): Likewise.
25477         (FP_CMP_UNORD_D): Likewise.
25478         * soft-fp/extended.h (FP_CMP_E): Likewise.
25479         (FP_CMP_EQ_E): Likewise.
25480         (FP_CMP_UNORD_E): Likewise.
25481         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25482         (FP_CMP_EQ_Q): Likewise.
25483         (FP_CMP_UNORD_Q): Likewise.
25484         * soft-fp/single.h (FP_CMP_S): Likewise.
25485         (FP_CMP_EQ_S): Likewise.
25486         (FP_CMP_UNORD_S): Likewise.
25487         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25488         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25489         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25490         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25491         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25492         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25493         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25494         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25495         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25496         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25497         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25498         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25499         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25500         to FP_CMP_Q.
25501         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25502         FP_CMP_Q.
25503         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25504         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25505         FP_CMP_EQ_Q.
25506         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25507         FP_CMP_Q.
25508         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25509         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25510         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25511         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25512         FP_CMP_EQ_Q.
25513         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25514         FP_CMP_Q.
25515         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25516         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25517         FP_CMP_EQ_Q.
25518         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25519         FP_CMP_Q.
25520         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25521         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25522         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25523         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25524         FP_CMP_EQ_Q.
25526         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25527         a subnormal result, set the underflow exception if trapping on
25528         underflow is enabled.
25529         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25530         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25531         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25532         redefine to 0.
25533         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25534         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25535         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25536         * soft-fp/extendxftf2.c (__extendxftf2): Use
25537         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25539         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25540         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25541         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25542         FP_HANDLE_EXCEPTIONS.
25543         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25544         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25545         FP_HANDLE_EXCEPTIONS.
25546         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25547         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25548         FP_HANDLE_EXCEPTIONS.
25549         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25550         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25551         FP_HANDLE_EXCEPTIONS.
25553 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25555         [BZ #14132]
25556         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25557         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25558         use INTUSE.
25559         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25560         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25561         Remove alias.
25562         (__adjtimex): Define using libc_hidden_ver.
25563         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25564         Remove declaration.
25565         (ntp_gettime): Call __adjtimex directly.
25566         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25567         Remove declaration.
25568         (ntp_gettimex): Call __adjtimex directly.
25569         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25570         __adjtimex_internal alias.
25572 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25574         [BZ #17460]
25575         * nscd/nscd.c (more_help): Rewrite list of tables collection
25576         using xstrdup and asprintf.
25578         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25580 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25581             Roland McGrath  <roland@hack.frob.com>
25583         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25584         (do_lookup_unique): ... local function 'enter' here; update callers.
25586 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25588         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25589         compat_symbol calls on [SHARED].
25590         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25591         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25592         Remove.
25593         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25594         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25595         (oldsetrlimit): Remove.
25596         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25598         (lchown): New syscall entry.
25599         (oldsetrlimit): Remove.
25600         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25602         (oldsetrlimit): Remove.
25603         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25605         [BZ #14138]
25606         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25607         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25608         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25609         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25610         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25611         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25612         (fchown): Likewise.
25613         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25614         (fchown): Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25616         Likewise.
25618 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25620         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25621         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25622         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25623         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25624         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25625         Likewise.
25626         (__old_sem_post): Likewise.
25628 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25630         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25631         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25632         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25633         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25634         Use INLINE_VSYSCALL macro.
25635         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25636         __vdso_clock_gettime.
25637         * sysdeps/unix/sysv/linux/tile/init-first.c
25638         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25639         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25640         __vdso_clock_gettime.
25642         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25643         to set up frame more cleanly.
25645         * sysdeps/tile/memcmp.c: New file.
25647         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25649         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25650         * sysdeps/tile/tilegx/strcasestr.c: New file.
25651         * sysdeps/tile/tilegx/strnlen.c: New file.
25652         * sysdeps/tile/tilegx/strstr.c: New file.
25654         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25656 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25658         * nptl/tst-setuid3.c: Write errors to stdout.
25660 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25662         * elf/dl-deps.c
25663         (preload): New functions broken out of _dl_map_object_deps.
25664         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25666 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25668         [BZ #14138]
25669         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25670         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25672 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25674         * sysdeps/mips/strcmp.S: New.
25676 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25678         [BZ #14138]
25679         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25680         (linkat): Likewise.
25681         (mkdirat): Likewise.
25682         (readlinkat): Likewise.
25683         (renameat): Likewise.
25684         (symlinkat): Likewise.
25685         (unlinkat): Likewise.
25686         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25687         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25688         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25689         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25690         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25691         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25692         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25694 2014-09-30  Will Newton  <will.newton@linaro.org>
25696         * math/math.h: Define long double math functions if
25697         _LIBC_TEST is defined.
25698         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25700         * localedata/Makefile: Move assignment to tests-special
25701         into an ifdef testing run-built-tests.
25702         * timezone/Makefile: Likewise.
25704 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25706         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25707         with $(BASH) not $(SHELL).
25709 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25710             Matthew LeGendre  <legendre1@llnl.gov>
25712         [BZ #17411]
25713         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25714         l_reloc_result.
25716 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25718         * stdio-common/printf_fp.c
25719         (hack_digit): New function, broken out of ...
25720         (__printf_fp): ... local function here.  Update call sites.
25721         hack_digit now takes an additional parameter that is a pointer
25722         to a struct of the referenced locals.  Those locals moved inside
25723         the struct and references updated.
25725 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25727         * aclocal.m4: Require autoconf 2.69.
25728         * configure: Regenerated.
25729         * sysdeps/aarch64/configure: Likewise.
25730         * sysdeps/alpha/configure: Likewise.
25731         * sysdeps/arm/armv7/configure: Likewise.
25732         * sysdeps/arm/configure: Likewise.
25733         * sysdeps/ia64/configure: Likewise.
25734         * sysdeps/mach/configure: Likewise.
25735         * sysdeps/mips/configure: Likewise.
25736         * sysdeps/s390/configure: Likewise.
25737         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25740         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25741         file.
25742         * sysdeps/ia64/configure.ac: Likewise.
25744 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25747         specify symbol version for ld.so.  Do not include entry for
25748         libpthread.
25749         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25750         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25751         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25753         [BZ #14171]
25754         * Makeconfig [$(build-shared) = yes]
25755         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25756         makefiles.
25757         [$(build-shared) = yes && $(soversions.mk-done) = t]
25758         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25759         [$(build-shared) = yes && $(soversions.mk-done) = t]
25760         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25761         to Makerules.
25762         [$(build-shared) = yes && $(soversions.mk-done) = t]
25763         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25764         here.
25765         [$(build-shared) = yes && $(soversions.mk-done) = t]
25766         (common-generated): Don't append gnu/lib-names.h and
25767         gnu/lib-names.stmp here.
25768         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25769         (lib-names-h-abi): New variable.
25770         [$(build-shared) = yes && $(soversions.mk-done) = t]
25771         (lib-names-stmp-abi): Likewise.
25772         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25773         abi-variants] (before-compile): Append
25774         $(common-objpfx)$(lib-names-h-abi).
25775         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25776         abi-variants] (common-generated): Append gnu/lib-names.h.
25777         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25778         abi-variants] (install-others-nosubdir): Depend on
25779         $(inst_includedir)/$(lib-names-h-abi).
25780         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25781         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25782         [$(build-shared) = yes && $(soversions.mk-done) = t]
25783         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25784         [$(build-shared) = yes && $(soversions.mk-done) = t]
25785         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25786         [$(build-shared) = yes && $(soversions.mk-done) = t]
25787         (common-generated): Append $(lib-names-h-abi) and
25788         $(lib-names-stmp-abi).
25789         * scripts/lib-names.awk: Do not handle multi being set.
25790         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25791         Remove variable.
25792         (abi-lp64_be-ld-soname): Likewise.
25793         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25794         Likewise.
25795         (abi-hard-ld-soname): Likewise.
25796         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25797         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25798         Remove variable.
25799         (abi-o32_hard-ld-soname): Likewise.
25800         (abi-o32_soft_2008-ld-soname): Likewise.
25801         (abi-o32_hard_2008-ld-soname): Likewise.
25802         (abi-n32_soft-ld-soname): Likewise.
25803         (abi-n32_hard-ld-soname): Likewise.
25804         (abi-n32_soft_2008-ld-soname): Likewise.
25805         (abi-n32_hard_2008-ld-soname): Likewise.
25806         (abi-n64_soft-ld-soname): Likewise.
25807         (abi-n64_hard-ld-soname): Likewise.
25808         (abi-n64_soft_2008-ld-soname): Likewise.
25809         (abi-n64_hard_2008-ld-soname): Likewise.
25810         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25811         Likewise.
25812         (abi-64-v2-ld-soname): Likewise.
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25814         ld.so entries.
25815         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25816         variable.
25817         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25818         entry.
25819         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25820         variable.
25821         (abi-64-ld-soname): Likewise.
25822         (abi-x32-ld-soname): Likewise.
25823         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25824         entry.
25825         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25827 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25829         [BZ #14138]
25830         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25831         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25832         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25833         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25834         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25835         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25836         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25837         syscall entry for GLIBC_2.2 symbol version.
25838         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25839         Likewise.
25840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25841         (setrlimit): Likewise.
25842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25843         Likewise.
25845 2014-09-23  Will Newton  <will.newton@linaro.org>
25847         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25848         _LINUX_ARM_SYSDEP_H include guard too.
25849         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25850         define.
25852 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25854         * sysdeps/unix/sysv/linux/eventfd.c:
25855         Make first argument unsigned.
25856         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25857         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25859 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25861         [BZ #16852]
25862         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25863         * socket/sys/socket.h: Likewise.
25864         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25866 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25868         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25870 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25872         * time/tst-ftime.c: New test.
25873         * time/Makefile (tests): Add tst-ftime.
25875 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25877         * soft-fp/extended.h: Fix comment formatting.
25878         * soft-fp/op-1.h: Likewise.
25879         * soft-fp/op-2.h: Likewise.
25880         * soft-fp/op-4.h: Likewise.
25881         * soft-fp/op-8.h: Likewise.
25882         * soft-fp/op-common.h: Likewise.
25883         * soft-fp/soft-fp.h: Likewise.
25885         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25887 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #6652]
25890         * Makeconfig (soversions-default-setname): Remove variable.
25891         ($(common-objpfx)soversions.i): Don't pass default_setname to
25892         soversions.awk.
25893         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25894         oldest_abi to abi-versions.awk.
25895         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25896         * config.make.in (oldest-abi): Remove variable.
25897         * configure.ac (--enable-oldest-abi): Remove configure option.
25898         * configure: Regenerated.
25899         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25900         text.
25901         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25902         * scripts/soversions.awk: Do not handle default_setname variable.
25903         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25904         variable.
25905         * sysdeps/mach/hurd/configure: Regenerated.
25906         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25907         variable.
25908         * sysdeps/unix/sysv/linux/configure: Regenerated.
25910 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25912         * elf/Makefile (CFLAGS-interp.c): Remove.
25913         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25914         path string.
25915         * elf/interp.c: Include generated runtime-linker.h
25917         * Makerules (lib%.so): Don't include $(+interp) in
25918         prerequisites.
25919         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25920         * dlfcn/eval.c: Remove file.
25922         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25923         macros.
25925         [BZ #17266]
25926         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25927         4.2 and newer.
25929         [BZ #17370]
25930         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25932 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25933             Jakub Jelinek  <jakub@redhat.com>
25935         [BZ #17266]
25936         * libio/stdio.h: Check definition of __fortify_function
25937         instead of __extern_always_inline to include bits/stdio2.h.
25938         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25939         check if __extern_always_inline is defined.
25940         [__USE_MISC || __USE_XOPEN]: Likewise.
25941         [__USE_ISOC99] Likewise.
25942         * misc/sys/cdefs.h (__fortify_function): Define only if
25943         __extern_always_inline is defined.
25944         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25945         __extern_always_inline and __extern_inline only for g++-4.3
25946         and newer or a compatible gcc.
25948 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25950         [BZ #17371]
25951         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25952         last change to handle zero prefix length.
25954 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25956         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25957         _SC_REGEX_VERSION.
25959         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25960         _POSIX_RAW_SOCKETS.
25962 2014-09-13  Allan McRae  <allan@archlinux.org>
25964         * po/ru.po: Update Russian translation from translation project.
25966 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25968         * locale/programs/locale.c (show_locale_vars): Inline local function
25969         into its sole call site.  Clean up some style nits.
25970         (print_item): New function, broken out of ...
25971         (show_info): ... local function here.  Clean up style nits.
25973         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25974         out of ...
25975         (set_class_defaults): ... local function set_default here.
25976         Define set_default as a macro locally to pass constant parameters.
25977         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25978         rather than a shared local.
25980         * stdlib/rpmatch.c (try): New function, broken out of ...
25981         (rpmatch): ... local function here.  Also, prototypify definition.
25983 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25985         * scripts/soversions.awk: Do not handle configuration names.
25986         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25987         vendor and os variables to soversions.awk.
25988         * configure.ac: Do not modify gnu-* host_os.
25989         * configure: Regenerated
25990         * shlib-versions: Remove first column with configuration names.
25991         * nptl/shlib-versions: Likewise.
25992         * nptl_db/shlib-versions: Likewise.
25993         * sysdeps/hppa/shlib-versions: Likewise.
25994         * sysdeps/m68k/shlib-versions: Likewise.
25995         * sysdeps/mach/hurd/shlib-versions: Likewise.
25996         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25997         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25998         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25999         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26000         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26001         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26002         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26003         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26005         Likewise.
26006         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26007         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26008         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26009         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26010         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26011         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26012         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26013         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26016         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26018         Regenerated.
26019         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26021         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26023         * shlib-versions: Remove OS-specific entries.  Moved to files in
26024         sysdeps.
26025         * sysdeps/mach/hurd/shlib-versions: New file.
26026         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26028         * nptl/shlib-versions: Remove architecture-specific entries.
26029         Moved to files in sysdeps.
26030         * shlib-versions: Likewise.
26031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26032         file.
26033         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26034         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26035         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26036         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26038         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26039         (UDP_NO_CHECK6_RX): Likewise.
26041 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26043         * sysdeps/posix/sysconf.c (__sysconf): Spell
26044         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26046 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26048         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26049         loading.
26050         * iconv/Versions (__gconv_transliterate): Export for use from
26051         gconv modules.
26052         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26053         (struct __gconv_trans_data, __gconv_trans_fct,
26054         __gconv_trans_context_fct, __gconv_trans_query_fct,
26055         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26056         definitions.
26057         (struct __gconv_step_data): Remove __trans member.
26058         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26059         longer hidden.  Remove unused trans_data argument.
26060         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26061         (__gconv_translit_find): Remove declaration.
26062         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26063         prototype.
26064         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26065         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26066         trans_data argument.  Add hidden definition.
26067         (__gconv_translit_find): Remove.
26068         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26069         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26070         * iconv/skeleton.c: Remove transliteration initialization.
26071         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26072         __gconv_step_data initialization.
26073         * libio/iofwide.c (__libio_translit_): Remove.
26074         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26075         * wcsmbs/btowc.c (__btowc): Likewise.
26076         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26077         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26078         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26079         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26080         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26081         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26082         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26083         * wcsmbs/wctob.c (wctob): Likewise.
26085 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26087         [BZ #16194]
26088         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26089         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26090         register usage.
26091         * sysdeps/x86/Makefile: Adjust.
26093 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26094             Roland McGrath  <roland@hack.frob.com>
26096         * locale/weight.h: Add include guard.
26097         (findidx): Make static rather than auto; take new parameters
26098         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26099         * locale/weightwc.h: Likewise.
26100         * posix/fnmatch_loop.c
26101         (FCT): Change type of EXTRA from int32_t to wint_t.
26102         Don't include either header inside the function.
26103         Call FINDIDX rather than findidx, and pass new arguments.
26104         #undef FINDIDX at the end of the file.
26105         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26106         FINDIDX before including fnmatch_loop.c for the non-wide version.
26107         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26108         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26109         for the wide version.
26110         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26111         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26112         Pass new arguments to findidx.
26113         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26114         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26115         Don't #include it inside the function.  Pass new arguments to findidx.
26116         * posix/regex_internal.h
26117         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26118         (re_string_elem_size_at): Don't #include it inside the function.
26119         Pass new arguments to findidx.
26120         * string/strcoll_l.c: #include WEIGHT_H at top level.
26121         (get_next_seq): Don't #include it inside the function.
26122         Pass new arguments to findidx.
26123         (get_next_seq_nocache): Likewise.
26124         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26125         (STRXFRM): Don't #include it inside the function.
26126         Pass new arguments to findidx.
26128 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26130         [BZ #17344]
26131         * malloc/malloc.c (unlink): Turn asserts into a call to
26132         malloc_printerr.
26134 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26136         [BZ #17370]
26137         * libio/wfileops (do_ftell_wide): Free OUT.
26139 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26141         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26143 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26145         [BZ #17363]
26146         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26147         group if the current group is empty.
26149 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26151         * benchtests/bench-memset.c (test_main): Add more test from size
26152         from 32 to 512 bytes.
26153         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26154         Add POWER8 memset object.
26155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26156         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26157         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26158         implementation.
26159         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26160         Likewise.
26161         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26162         multiarch POWER8 memset optimization.
26163         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26164         POWER8 memset optimization.
26166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26167         Remove bzero multiarch objects.
26168         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26169         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26171         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26172         Remove define.
26173         [__bzero]: Redefine to specific name.
26174         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26175         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26176         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26177         define.
26178         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26179         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26181 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26183         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26184         warnings into errors.
26186         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26187         __cxa_thread_atexit_impl prototype.
26189 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26191         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26192         Fix capitalization of error message.
26194 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26196         * sysdeps/mips/preconfigure: Modify ABI tests.
26198 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26200         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26202 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26203             Carlos O'Donell  <carlos@systemhalted.org>
26205         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26206         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26207         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26208         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26209         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26210         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26211         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26212         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26213         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26214         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26215         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26216         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26217         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26218         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26219         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26220         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26221         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26222         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26223         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26224         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26225         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26226         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26227         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26228         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26229         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26230         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26231         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26232         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26233         Deconditionalize the code that was previously under [RESET_PID].
26234         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26235         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26236         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26237         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26238         include sysdep.h.
26240 2014-09-08  Allan McRae  <allan@archlinux.org>
26242         * version.h (RELEASE): Set to "development".
26243         (VERSION): Set to "2.20.90"
26245 2014-09-07  Allan McRae  <allan@archlinux.org
26247         * version.h (RELEASE): Set to "stable".
26248         (VERSION): Set to "2.20"
26249         * include/features.h (__GLIBC_MINOR__): Set to 20.
26251         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26252         Liebler.
26254         * po/ko.po: Update Korean translation from translation project.
26256 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26258         [BZ #17354]
26259         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26260         macro for handling signed relocations.
26262 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26264         [BZ #17325]
26265         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26266         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26267         assert.
26268         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26269         * iconvdata/ibm935.c (BODY): Likewise.
26270         * iconvdata/ibm937.c (BODY): Likewise.
26271         * iconvdata/ibm939.c (BODY): Likewise.
26272         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26273         assert.
26274         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26275         script.
26276         * iconvdata/run-iconv-test.sh: New test loop for checking for
26277         decoder crashers.
26279 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26281         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26282         libm_hidden_ver.
26284 2014-09-01  Allan McRae  <allan@archlinux.org>
26286         * po/eo.po: Update Esperanto translation from translation project.
26288         * po/ca.po: Update Catalan translation from translation project.
26290 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26292         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26293         __proc_dostop call.
26295 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26297         [BZ #17319]
26298         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26299         to call set_thread_area instead of hand written asm.
26300         (__NR_set_thread_area): Removed define.
26301         (TLS_FLAG_WRITABLE): Likewise.
26302         (__ASSUME_SET_THREAD_AREA): Remove check.
26303         (TLS_EBX_ARG): Remove define.
26304         (TLS_LOAD_EBX): Likewise.
26306 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26308         Simplify atomicity of socket creation in bind.
26310         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26311         looking up the name after linking the file.
26313 2014-08-27  Allan McRae  <allan@archlinux.org>
26315         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26317 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26319         [BZ #17187]
26320         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26321         trans_compare, open_translit, __gconv_translit_find):
26322         Remove module loading code.
26324 2014-08-26  Allan McRae  <allan@archlinux.org>
26326         * po/vi.po: Update Vietnamese translation from translation project.
26328         * po/uk.po: Update Ukrainian translation from translation project.
26330         * po/fr.po: Update French translation from translation project.
26332         * po/ru.po: Update Russian translation from translation project.
26334         * po/pl.po: Update Polish translation from translation project.
26336         * po/cs.po: Update Czech translation from translation project.
26338         * po/de.po: Update German translation from translation project.
26340         * po/bg.po: Update Bulgarian translation from translation project.
26342         * po/sv.po: Update Sweedish translation from translation project.
26344         * po/nl.po: Update Dutch translation from translation project.
26346         * po/es.po: Update Spanish translation from translation project.
26348 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26350         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26352         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26353         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26354         (CPPFLAGS-iconvconfig): Likewise.
26355         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26357         * include/libc-symbols.h: Remove unnecessary check for
26358         NOT_IN_libc.
26359         * nptl/pthreadP.h: Likewise.
26360         * sysdeps/aarch64/setjmp.S: Likewise.
26361         * sysdeps/alpha/setjmp.S: Likewise.
26362         * sysdeps/arm/sysdep.h: Likewise.
26363         * sysdeps/i386/setjmp.S: Likewise.
26364         * sysdeps/m68k/setjmp.c: Likewise.
26365         * sysdeps/posix/getcwd.c: Likewise.
26366         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26367         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26368         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26369         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26370         * sysdeps/sh/sh3/setjmp.S: Likewise.
26371         * sysdeps/sh/sh4/setjmp.S: Likewise.
26372         * sysdeps/unix/alpha/sysdep.h: Likewise.
26373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26374         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26375         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26376         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26384         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26386         * sysdeps/x86_64/setjmp.S: Likewise.
26388 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26390         [BZ #17263]
26391         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26392         <stdint.h>.
26393         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26394         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26396 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26398         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26400         [BZ #17262]
26401         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26402         and __x86_64__ when disabling x87 inline functions.
26404 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26406         [BZ #17259]
26407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26408         asm statement with __cpuid_count.
26410 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26412         * configure.ac: Change __ehdr_start code to dereference the struct.
26413         Run readelf on the output to look for relocations.
26414         * configure: Regenerated.
26416 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26418         [BZ #17261]
26419         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26420         value to 0.
26421         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26423 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26425         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26427 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26429         [BZ #16892]
26430         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26431         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26433 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26435         * malloc/malloc.c: Fix typo in comment.
26437 2014-08-09  Allan McRae  <allan@archlinux.org>
26439         * Regenerate libc.po.
26441 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26443         * intl/tst-gettext2.sh: Check every lang file for creation.
26445 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26447         * sysdeps/aarch64/fpu/math_private.h
26448         (libc_feholdsetround_noex_aarch64_ctx): New function.
26450 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26452         * sysdeps/arm/armv6/strcpy.S (strcpy):
26453         Fix performance issue in misaligned cases.
26455 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26457         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26458         Move definition from termios.h.
26459         (struct termio): Likewise.
26460         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26461         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26462         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26463         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26464         Likewise.
26465         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26466         Move definition to ioctl-types.h
26467         (struct termio): Likewise.
26468         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26469         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26470         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26471         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26472         Likewise.
26474 2014-08-05  Richard Henderson  <rth@redhat.com>
26476         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26477         exceptions.
26478         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26479         Add fraiseexcpt.
26480         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26481         Use __feraiseexcept.
26482         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26483         Protect libm symbols with IS_IN_libm.
26485         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26487 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26489         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26491 2014-08-04  Will Newton  <will.newton@linaro.org>
26493         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26494         file.
26496 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26498         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26499         variants for each function.
26501 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26503         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26504         appended ...
26505         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26506         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26507         appended ...
26508         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26509         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26510         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26511         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26512         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26513         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26514         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26515         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26516         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26517         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26518         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26519         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26520         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26521         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26522         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26523         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26524         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26525         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26526         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26527         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26528         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26529         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26530         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26531         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26532         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26533         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26534         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26535         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26536         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26537         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26538         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26539         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26540         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26541         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26542         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26543         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26544         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26545         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26546         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26547         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26548         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26549         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26550         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26552         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26554         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26556         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26557         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26558         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26559         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26560         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26561         Update #include.
26562         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26563         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26565 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26567         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26568         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26569         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26570         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26571         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26572         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26574 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26576         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26577         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26578         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26579         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26583         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26584         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26585         (__libc_vfork): Define function under this name.
26586         (__vfork): Define as an alias.
26587         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26588         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26590 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26592         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26593         that was previously under [RESET_PID].
26594         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26596 2014-08-04  Andreas Schwab  <schwab@suse.de>
26598         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26600 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26602         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26603         (main): Likewise.
26605 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26607         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26609 2014-08-01  Richard Henderon  <rth@redhat.com>
26611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26612         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26613         typo in exact zero test.
26614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26615         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26616         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26618 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26620         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26621         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26622         * sysdeps/arm/sysdep.h: ... here.
26623         [!__ASSEMBLER__]: Include <stdint.h>.
26625 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26628         (HAVE_WCTYPE_H): Likewise.
26629         (HAVE_ISWCTYPE): Likewise.
26630         (ENABLE_NLS): Likewise.
26631         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26632         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26634         * posix/regex_internal.c: Check if DEBUG is defined and is
26635         set.
26637         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26638         (HAVE_MBSRTOWCS): Likewise.
26639         * posix/fnmatch.c: Include string.h unconditionally.
26641 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26643         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26644         reversal.
26646 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26648         * sysdeps/generic/safe-fatal.h: New file.
26649         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26650         * nptl/forward.c: Include it.
26651         (__pthread_unwind): Use __safe_fatal as default action, rather
26652         than a bogus use of INTERNAL_SYSCALL that could never work.
26654         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26655         * configure.ac (libc_cv_builtin_trap): New test.
26656         * configure: Regenerated.
26657         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26658         (ABORT_INSTRUCTION): Define using __builtin_trap.
26660         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26661         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26662         * sysdeps/nptl/nptl-signals.h: New file.
26663         * nptl/pthreadP.h: Include <nptl-signals.h>.
26665 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26667         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26668         (ONE_DIRECTION): Define.
26669         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26670         (ONE_DIRECTION): Define.
26671         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26672         (ONE_DIRECTION): Define.
26674 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26676         * sysdeps/s390/Makefile: Delete file.
26677         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26678         * sysdeps/s390/__longjmp.c: Delete file.
26679         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26680         Remove fields __flags and __reserved.
26681         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26682         and add versioning.
26683         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26684         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26685         * sysdeps/s390/rtld-setjmp.S: Likewise.
26686         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26687         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26688         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26689         * sysdeps/s390/s390-32/setjmp.S: ... here.
26690         Add versioning.
26691         (__sigsetjmp): Remove setting __flags field.
26692         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26693         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26694         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26695         * sysdeps/s390/s390-64/setjmp.S: ... here.
26696         Add versioning.
26697         (__sigsetjmp): Remove setting __flags field.
26698         * sysdeps/s390/setjmp.S: Delete file.
26699         * sysdeps/s390/sigjmp.c: Likewise.
26700         * sysdeps/s390/v1-longjmp.c: Likewise.
26701         * sysdeps/s390/v1-setjmp.h: Likewise.
26702         * sysdeps/s390/v1-sigjmp.c: Likewise.
26703         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26704         Remove v1-longjmp_chk.
26705         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26706         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26707         Include debug/longjmp_chk.c and add versioning.
26708         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26709         Include nptl/pt-longjmp.c and add versioning.
26710         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26711         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26712         Include __longjmp.c.
26713         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26714         Move to ...
26715         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26716         (__getcontext): Remove setting __flags field.
26717         Add versioning.
26718         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26719         Don't restore upper high grps.
26720         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26721         Likewise.
26722         (__swapcontext): Remove setting uc_flags field.
26723         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26724         Delete file.
26725         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26726         Include __longjmp.c.
26727         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26728         Move to ...
26729         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26730         (__getcontext): Remove setting __flags field.
26731         Add versioning.
26732         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26733         (__swapcontext): Remove setting uc_flags field.
26734         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26735         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26736         Remove fields uc_high_gprs and __reserved.
26737         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26738         New file with reverted content.
26739         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26740         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26741         Regenerated.
26742         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26743         Regenerated.
26745 2014-07-31  Andreas Schwab  <schwab@suse.de>
26747         * config.h.in (HAVE_IFUNC): Define to 0.
26748         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26749         definedness.
26751 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26754         memmove-avx-unaligned, memcpy-avx-unaligned and
26755         mempcpy-avx-unaligned.
26756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26757         Add tests for AVX memcpy functions.
26758         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26759         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26760         memcpy_chk.
26761         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26762         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26763         memmove_chk.
26764         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26765         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26766         mempcpy_chk.
26767         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26768         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26769         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26771 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26773         [BZ #17213]
26774         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26775         powerpc64le.
26777 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26779         [BZ #16839]
26780         * manual/llio.texi: Add section about open file description locks.
26781         * manual/examples/ofdlocks.c: Example of open file description
26782         lock usage.
26783         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26784         F_OFD_SETLK, and F_OFD_SETLKW.
26786 2014-07-23  Allan McRae  <allan@archlinux.org>
26788         * po/es.po: Update Spanish translation from translation project.
26790 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26792         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26794 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26796         [BZ #17078]
26797         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26798         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26799         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26801 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26803         [BZ #17088]
26804         * math/fesetenv.c (__fesetenv)
26805         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26806         * math/feupdateenv.c (__feupdateenv)
26807         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26809         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26810         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26811         (__ASSUME_SOCKETCALL): Do not define.
26813         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26814         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26815         (__ASSUME_SOCKETCALL): Do not define.
26816         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26817         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26818         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26819         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26821         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26823         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26825         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26826         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26827         (__ASSUME_SOCKETCALL): Do not define.
26828         (__ASSUME_IPC64): Define unconditionally.
26829         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26831         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26833         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26835         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26836         Likewise.
26838         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26839         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26840         (__ASSUME_SOCKETCALL): Do not define.
26841         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26842         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26843         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26844         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26845         (__ASSUME_REQUEUE_PI): Define unconditionally.
26846         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26847         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26848         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26849         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26850         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26851         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26853         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26854         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26855         (__ASSUME_SOCKETCALL): Do not define.
26856         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26857         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26858         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26859         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26861         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26863         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26864         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26865         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26866         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26867         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26868         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26870         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26871         (__ASSUME_GETCPU_SYSCALL): Likewise.
26873         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26874         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26875         cases for individual architectures.
26876         * sysdeps/gnu/configure: Regenerated.
26877         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26878         LIBC_SLIBDIR_RTLDDIR.
26879         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26880         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26881         LIBC_SLIBDIR_RTLDDIR.
26882         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26884         LIBC_SLIBDIR_RTLDDIR.
26885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26886         Regenerated.
26887         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26888         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26889         file.
26890         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26891         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26892         file.
26893         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26894         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26895         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26896         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26898         * sysdeps/aarch64/shlib-versions: Move to ...
26899         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26900         * sysdeps/alpha/shlib-versions: Move to ...
26901         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26902         * sysdeps/arm/shlib-versions: Move to ...
26903         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26904         * sysdeps/hppa/shlib-versions: Move all contents except for
26905         libgcc_s entry to ...
26906         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26907         entry from ...
26908         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26909         * sysdeps/ia64/shlib-versions: Move to ...
26910         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26911         entry from ...
26912         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26913         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26914         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26915         * sysdeps/microblaze/shlib-versions: Move to ...
26916         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26917         * sysdeps/mips/shlib-versions: Move to ...
26918         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26919         entry from ...
26920         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26921         * sysdeps/tile/shlib-versions: Move to ...
26922         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26923         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26924         from ...
26925         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26926         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26927         entry from ...
26928         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26930 2014-07-17  Will Newton  <will.newton@linaro.org>
26932         * sysdeps/arm/bits/atomic.h
26933         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26934         (__arch_compare_and_exchange_bool_16_int): Likewise.
26935         (__arch_compare_and_exchange_bool_64_int): Likewise.
26937         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26938         into an #else block.
26940 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26942         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26943         just Linux configurations.  Test empirically that the compiler sets
26944         __ARM_EABI__, rather than using the tuple to decide.
26945         * sysdeps/arm/preconfigure: Regenerated.
26946         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26947         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26948         contents appended ...
26949         * sysdeps/arm/configure.ac: ... here.
26950         * sysdeps/arm/configure: Regenerated.
26952 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26954         * nptl/pthread_kill.c: New file.
26955         * nptl/pthread_sigmask.c: New file.
26956         * nptl/pthread_sigqueue.c: New file.
26958         * sysdeps/nptl/lowlevellock.h: New file.
26959         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26960         * sysdeps/nptl/lowlevellock-futex.h: New file.
26962         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26963         Remove dead declarations.
26965 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26967         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26968         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26969         config-cflags-avx2.
26970         * sysdeps/x86_64/configure.ac: Likewise.
26971         * sysdeps/i386/configure: Regenerated.
26972         * sysdeps/x86_64/configure: Likewise.
26973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26974         memset-avx2 only if config-cflags-avx2 is yes.
26975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26976         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26977         defined.
26978         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26979         only if HAVE_AVX2_SUPPORT is defined.
26980         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26982 2014-07-14  Alan Modra  <amodra@gmail.com>
26984         [BZ #17153]
26985         * elf/elf.h (DT_PPC64_NUM): Correct value.
26986         * NEWS: Add to fixed bug list.
26988 2014-07-13  Jim Meyering  <meyering@fb.com>
26990         [BZ 17150]
26991         regex: don't deref NULL upon heap allocation failure
26992         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26993         failure in one more place.
26994         To trigger the segfault, configure grep -with-included-regex,
26995         build it, and run these commands:
26996         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26998 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27000         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27002 2014-07-11  Richard Henderson  <rth@redhat.com>
27004         * sysdeps/aarch64/libm-test-ulps: Update.
27006 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27008         [BZ #17135]
27009         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27010         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27011         (__nptl_setxid): Initialize error member.  Call
27012         __nptl_setxid_error.
27013         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27014         * nptl/descr.h (struct xid_command): Add error member.
27015         * nptl/tst-setuid3.c: New file.
27016         * nptl/Makefile (tests): Add it.
27018 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27021         New define.
27022         (__lll_trylock): Use __lll_base_trylock.
27023         (__lll_cond_trylock): Likewise.
27025 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27027         * nptl/pthread_create.c (start_thread): Use atomic_or and
27028         lll_futex_wake directly rather than lll_robust_dead.
27029         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27030         (lll_robust_dead): Macro removed.
27031         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27032         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27033         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27034         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27035         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27036         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27037         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27038         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27039         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27040         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27041         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27042         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27043         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27044         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27045         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27047         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27048         Use atomic_compare_and_exchange_val_acq directly rather than
27049         lll_robust_trylock.
27050         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27051         (__lll_robust_trylock, lll_robust_trylock): Removed.
27052         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27053         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27054         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27055         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27056         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27057         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27058         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27059         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27060         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27061         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27062         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27063         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27064         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27065         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27067 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27069         * manual/locale.texi (Locale Names): New section documenting
27070         locale name syntax.  Adjust menu and node chaining accordingly.
27071         (Choosing Locale): Reference Locale Names, Locale Categories.
27072         Mention setting LC_ALL=C.  Reflect that name syntax is now
27073         documented.
27074         (Locale Categories): New section title.  Reference Locale Names.
27075         LC_ALL is an environment variable, but not a category.
27076         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27077         description, now in Locale Name.  Reference that section.  Locale
27078         name syntax is now documented.
27080 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27082         [BZ #17137]
27083         * locale/findlocale.c (name_present, valid_locale_name): New
27084         functions.
27085         (_nl_find_locale): Use the loc_name variable to store name
27086         candidates.  Call name_present and valid_locale_name to check and
27087         validate locale names.  Return an error if the locale is invalid.
27089 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27091         * locale/setlocale.c (setlocale): Use strdup for allocating
27092         composite name copy.
27094 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096         Sync up with gnulib.
27097         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27098         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27099         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27100         and _GL_ARG_NONNULL.
27101         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27102         [!_LIBC]: Include code for Windows and Cygwin.
27103         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27104         Include prototype for int strerror_r.
27105         [!_LIBC] (is_open): New function.
27106         (flush_stdout): New function.
27107         (print_errno_message): Use it.
27108         (error): Likewise.
27109         (error_at_line): Likewise.
27110         (error_tail) Add function attribute macros.  Use
27111         __builtin_expect.
27113         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27115         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27117         * io/ftw.c: Include sys/param.h unconditionally.
27119         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27121         [BZ #17125]
27122         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27123         libc_freeres_ptr.
27124         (freecache): New function to free CACHE on exit.
27126         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27127         initialization.
27129 2014-07-09  David S. Miller  <davem@davemloft.net>
27131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27133         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27134         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27135         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27136         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27137         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27138         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27139         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27140         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27141         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27142         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27143         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27144         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27145         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27147 2014-07-09  Andreas Schwab  <schwab@suse.de>
27149         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27150         output.
27151         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27152         (do_test): Likewise.
27154         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27156 2014-07-09  Will Newton  <will.newton@linaro.org>
27158         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27159         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27160         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27161         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27162         * sysdeps/hppa/start.S (_start): Likewise.
27164 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27166         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27168         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27169         defined.
27171 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27173         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27174         after checking that it is non-NULL.
27176         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27178 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27180         * sysdeps/powerpc/memmove.c: Remove file.
27181         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27182         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27184         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27185         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27186         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27187         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27188         string memmove instead of removed powerpc one.
27190         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27191         [weak_alias]: Fix compiler warning due trailing data.
27192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27193         [weak_alias]: Likewise.
27194         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27195         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27198         (__libc_ifunc_impl_list): Add memmove functions.
27200 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27202         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27203         Remove code.
27204         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27205         Likewise.
27206         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27207         Likewise.
27208         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27209         Likewise.
27210         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27211         Likewise.
27212         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27213         Likewise.
27214         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27215         Likewise.
27216         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27217         Likewise.
27218         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27219         Likewise.
27220         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27221         Likewise.
27222         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27223         Likewise.
27224         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27225         Likewise.
27226         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27227         Likewise.
27228         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27229         Likewise.
27230         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27231         Likewise.
27232         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27233         Likewise.
27234         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27235         Likewise.
27237 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27239         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27240         to avoid alignment traps in non-cacheable memory.
27241         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27244         multiarch objects.
27245         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27246         file: multiarch power7 memmove.
27247         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27248         multiarch default memmove.
27249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27250         multiarch memove for powerpc32/power4.
27252         * string/bcopy.c: Use full path to include memmove.c.
27253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27254         multiarch objects.
27255         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27256         bcopy for powerpc64.
27257         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27258         bcopy for powerpc64.
27259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27260         and memmove implementations.
27261         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27262         optimized multiarch memmove for POWER7/powerpc64.
27263         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27264         default multiarch memmove for powerpc64.
27265         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27266         multiarch for powerpc64.
27267         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27268         for POWER7/powerpc64.
27269         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27270         memmove for POWER7/powerpc64.
27272         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27273         glibc default one.
27275         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27276         __ELF_NATIVE_CLASS equal to 64.
27278 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27280         * sysdeps/nptl/lowlevellock.h: File removed.
27282         * NEWS: NPTL is no longer an add-on!
27283         * nptl/internaltypes.h: Moved ...
27284         * sysdeps/nptl/internaltypes.h: ... here.
27285         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27286         * sysdeps/nptl/fork.c: Likewise.
27287         * sysdeps/nptl/gai_misc.h: Likewise.
27288         * sysdeps/nptl/librt-cancellation.c: Likewise.
27289         * sysdeps/nptl/jmp-unwind.c: Likewise.
27290         * sysdeps/nptl/setxid.h: Likewise.
27291         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27292         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27293         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27294         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27295         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27296         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27297         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27298         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27299         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27300         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27301         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27302         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27303         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27304         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27305         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27306         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27307         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27308         * nptl/Makeconfig: Moved ...
27309         * sysdeps/nptl/Makeconfig: ... here.
27310         * nptl/configure: File removed.
27311         * nptl/ANNOUNCE: File removed.
27312         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27313         * sysdeps/unix/sysv/linux/configure: Regenerated.
27315         * nptl/Makefile (routines): Add libc_pthread_init,
27316         libc_multiple_threads, register-atfork and unregister-atfork.
27317         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27318         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27319         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27320         pthread-pi-defines.sym, structsem.sym.
27321         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27322         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27323         [$(subdir) = nptl] (tests): Add tst-setgetname.
27324         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27325         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27326         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27327         [!LIBC_SIGACTION]: Remove aliases.
27328         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27329         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27330         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27331         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27332         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27333         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27334         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27335         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27336         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27337         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27338         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27339         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27340         __libc_allocate_rtsig_private.
27341         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27342         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27343         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27344         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27345         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27346         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27347         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27348         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27349         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27350         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27351         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27352         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27353         * nptl/internaltypes.h: ... here.
27354         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27355         * sysdeps/nptl/jmp-unwind.c: ... here.
27356         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27357         * nptl/libc-lowlevellock.c: ... here.
27358         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27359         * nptl/libc_multiple_threads.c: ... here.
27360         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27361         * nptl/libc_pthread_init.c: ... here.
27362         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27363         * nptl/lowlevelbarrier.sym: ... here.
27364         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27365         * nptl/lowlevelcond.sym: ... here.
27366         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27367         * nptl/lowlevellock.c: ... here.
27368         * nptl/lowlevellock.h: Moved ...
27369         * sysdeps/nptl/lowlevellock.h: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27371         * nptl/lowlevelrobustlock.c: ... here.
27372         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27373         * nptl/lowlevelrobustlock.sym: ... here.
27374         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27375         * nptl/lowlevelrwlock.sym: ... here.
27376         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27377         * nptl/pt-fork.c: ... here.
27378         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27379         * nptl/pthread-pi-defines.sym: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27381         * nptl/pthread_attr_getaffinity.c: ... here.
27382         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27383         * nptl/pthread_attr_setaffinity.c: ... here.
27384         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27385         * nptl/pthread_mutex_cond_lock.c: ... here.
27386         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27387         Update #include.
27388         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27389         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27390         * nptl/pthread_once.c: ... here, replacing old file.
27391         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27392         * nptl/pthread_yield.c: ... here.
27393         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27394         * nptl/register-atfork.c: ... here.
27395         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27396         * nptl/sem_post.c: ... here.
27397         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27398         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27399         * nptl/sem_timedwait.c: ... here.
27400         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27401         * nptl/sem_trywait.c: ... here.
27402         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27403         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27404         * nptl/sem_wait.c: ... here.
27405         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27406         * nptl/structsem.sym: ... here.
27407         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27408         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27409         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27410         * nptl/unregister-atfork.c: ... here.
27411         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27412         * nptl/unwindbuf.sym: ... here.
27413         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27414         * sysdeps/nptl/fork.c: ... here.
27415         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27416         * sysdeps/nptl/fork.h: ... here.
27417         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27418         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27419         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27421         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27422         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27423         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27425         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27427         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27429         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27431         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27432         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27433         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27434         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27435         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27436         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27437         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27438         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27439         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27440         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27441         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27442         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27443         * sysdeps/unix/sysv/linux/raise.c: ... here.
27444         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27445         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27446         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27447         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27449         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27451         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27453         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27454         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27455         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27456         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27457         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27458         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27460 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27462         * sysdeps/generic/memcopy.h: Add comment for
27463         MEMCPY_OK_FOR_FWD_MEMMOVE.
27465 2014-07-04  Will Newton  <will.newton@linaro.org>
27467         * string/memchr.c: Merge from gnulib.
27468         [_LIBC]: Remove conditionals.
27469         (__ptr_t): Remove define.
27470         (LONG_MAX_32_BITS): Likewise.
27471         (LONG_MAX): Likewise.
27472         (MEMCHR): Use ANSI prototype and optimize algorithm.
27474         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27476 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27478         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27479         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27481         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27482         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27483         in a bare environment with no <stdlib.h> installed.
27484         * sysdeps/nptl/configure: Regenerated.
27486         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27488         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27489         AC_EGREP_CPP for kernel header checks, so they only succeed if
27490         including <linux/version.h> actually works right.
27491         * sysdeps/unix/sysv/linux/configure: Regenerated.
27493         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27494         value so it's not diagnosed as unused.
27496         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27497         thing) with "ifeq ($(subdir),rt)".
27499 2014-07-03  Richard Henderson  <rth@redhat.com>
27501         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27502         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27503         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27505         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27506         (math_force_eval): New.
27508         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27509         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27511         * sysdeps/alpha/fpu/s_round.c: Remove file.
27512         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27514         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27515         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27516         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27517         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27518         (_dl_start, print_statistics): Likewise.
27519         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27520         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27522         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27523         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27524         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27525         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27526         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27527         (HP_SMALL_TIMING_AVAIL): Define.
27528         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27529         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27530         (HP_SMALL_TIMING_AVAIL): Define.
27531         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27532         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27534         * sysdeps/aarch64/hp-timing.h: New file.
27536         * sysdeps/generic/hp-timing.h: Remove dead comment.
27537         * sysdeps/generic/hp-timing-common.h: New file.
27538         * sysdeps/alpha/hp-timing.h: Include it.
27539         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27540         * sysdeps/i386/i686/hp-timing.h: Likewise.
27541         * sysdeps/ia64/hp-timing.h: Likewise.
27542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27543         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27544         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27545         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27546         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27547         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27548         (hp_timing_t): New.
27550         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27551         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27552         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27553         * elf/rtld.c (_dl_start_final): Likewise.
27554         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27555         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27556         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27557         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27558         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27559         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27560         (HP_TIMING_DIFF_INIT): Remove.
27561         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27562         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27563         (HP_TIMING_DIFF_INIT): Remove.
27564         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27565         * sysdeps/i386/i686/hp-timing.c: Remove file.
27566         * sysdeps/x86_64/hp-timing.c: Remove file.
27567         * sysdeps/ia64/hp-timing.c: Remove file.
27568         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27569         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27571         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27573         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27574         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27575         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27576         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27578         (HP_TIMING_ACCUM): Remove.
27579         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27580         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27581         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27583         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27584         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27585         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27586         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27587         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27588         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27589         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27590         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27592         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27594 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27596         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27598 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27600         Sync up with gettext.
27601         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27602         [_MSC_VER]: Include malloc.h
27603         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27604         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27605         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27606         TEMP_FAILURE_RETRY.  Cast return of alloca.
27607         [!_LIBC] Call gl_rwlock_init.
27608         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27610 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27612         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27613         before checking its value.
27615 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27617         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27619         * debug/memcpy_chk.c: Don't include pagecopy.h.
27620         * debug/mempcpy_chk.c: Likewise.
27621         * string/memcpy.c: Likewise.
27622         * string/memmove.c: Likewise.
27623         * sysdeps/powerpc/memmove.c: Likewise.
27624         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27625         definition of PAGE_COPY_FWD_MAYBE here...
27626         * sysdeps/generic/pagecopy.h: ... from here.
27627         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27629 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27632         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27634         optimizations.
27635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27636         (__libc_ifunc_impl_list): Likewise.
27637         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27638         multiarch strcat for PPC64.
27639         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27640         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27642 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27644         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27646 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27648         * intl/loadmsgcat.c: Remove declaration of
27649         get_sysdep_segment_value.
27650         (get_sysdep_segment_value): Use ISO C style.
27651         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27652         semicolon.  Fix typo and formatting in comment.
27653         (_nl_unload_domain): Use ISO C style.
27655         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27657 2014-07-02  Will Newton  <will.newton@linaro.org>
27659         * malloc/obstack.c: Merge from gnulib master.
27660         [HAVE_CONFIG_H]: Remove conditional code.
27661         [!_LIBC]: Include config.h.
27662         [!ELIDE_CODE]: Don't include inttypes.h, include
27663         stdint.h unconditionally.
27664         (print_and_abort): Mark as _Noreturn.
27665         (_obstack_allocated_p): Mark as __attribute_pure__.
27666         (obstack_free): Rename to __obstack_free.
27667         [!__attribute__]: Remove conditional code.
27668         * malloc/obstack.h: Merge from gnulib master.
27669         [__cplusplus]: Move conditional down.
27670         [!__attribute_pure__]: Define __attribute_pure__ here
27671         if it is not already defined.
27672         (_obstack_memory_used): Mark as __attribute_pure__.
27673         [!__obstack_free]: Define as obstack_free.
27674         [__GNUC__]: Remove check for ancient NeXT gcc.
27676 2014-07-02  Will Newton  <will.newton@linaro.org>
27677             Paul Eggert  <eggert@cs.ucla.edu>
27679         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27683         * resolv/gethnamaddr.c: Add comment warning that the file is
27684         not maintained.
27686 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27688         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27689         entries.
27691         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27692         entry for aio_cancel and aio_cancel64.
27693         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27694         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27695         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27696         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27697         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27698         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27699         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27700         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27701         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27702         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27703         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27704         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27705         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27707 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27709         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27710         * nptl/pthread_mutex_lock.c: Likewise.
27711         * nptl/pthread_mutex_timedlock.c: Likewise.
27712         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27714 2014-07-01  Richard henderson  <rth@redhat.com>
27716         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27717         (__isnan, __isnanl): Remove.
27718         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27720         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27722 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27724         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27726 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27728         * resolv/nss_dns/dns-host.c (getanswer_r)
27729         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27731 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27734         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27735         undefine.
27736         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27737         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27739 2014-07-01  Roland McGrath <roland@hack.frob.com>
27741         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27742         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27744         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27745         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27747         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27748         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27749         ... here.
27750         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27751         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27753         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27754         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27755         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27756         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27758         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27759         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27760         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27761         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27762         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27763         Moved ...
27764         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27765         ... here.
27766         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27767         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27768         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27769         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27770         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27771         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27772         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27773         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27774         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27777         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27778         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27779         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27780         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27781         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27782         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27783         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27784         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27785         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27786         ... here.
27787         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27790         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27791         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27792         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27793         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27794         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27796 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27798         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27799         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27800         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27801         Add sysdep.
27803 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27807 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27809         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27810         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27812         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27814         * sysdeps/arm/libm-test-ulps: Regenerated.
27816 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27817             Roland McGrath <roland@hack.frob.com>
27819         * test-skeleton.c (signal_handler): Kill the whole process group
27820         before killing the child individually.
27821         (main): Report any failure on `setpgid'.
27823 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27825         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27826         from _TLS_H to _ARM_NPTL_TLS_H.
27827         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27828         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27830 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27832         [BZ #16539]
27833         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27834         (__expm1l): Return argument unchanged when small but not
27835         subnormal.
27837         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27838         include macro name.
27839         (_FP_UNPACK_RAW_1_P): Likewise.
27840         (_FP_PACK_RAW_1): Likewise.
27841         (_FP_PACK_RAW_1_P): Likewise.
27842         (_FP_MUL_MEAT_1_wide): Likewise.
27843         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27844         (_FP_MUL_MEAT_1_hard): Likewise.
27845         (_FP_DIV_MEAT_1_imm): Likewise.
27846         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27847         (_FP_DIV_MEAT_1_udiv): Likewise.
27848         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27849         (_FP_UNPACK_RAW_2): Likewise.
27850         (_FP_UNPACK_RAW_2_P): Likewise.
27851         (_FP_PACK_RAW_2): Likewise.
27852         (_FP_PACK_RAW_2_P): Likewise.
27853         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27854         (_FP_MUL_MEAT_2_wide): Likewise.
27855         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27856         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27857         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27858         (_FP_MUL_MEAT_2_gmp): Likewise.
27859         (_FP_DIV_MEAT_2_udiv): Likewise.
27860         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27861         (_FP_FRAC_SRL_4): Likewise.
27862         (_FP_FRAC_SRST_4): Likewise.
27863         (_FP_FRAC_SRS_4): Likewise.
27864         (_FP_UNPACK_RAW_4): Likewise.
27865         (_FP_UNPACK_RAW_4_P): Likewise.
27866         (_FP_PACK_RAW_4): Likewise.
27867         (_FP_PACK_RAW_4_P): Likewise.
27868         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27869         (_FP_MUL_MEAT_4_wide): Likewise.
27870         (_FP_MUL_MEAT_4_gmp): Likewise.
27871         (umul_ppppmnnn): Likewise.
27872         (_FP_DIV_MEAT_4_udiv): Likewise.
27873         (__FP_FRAC_ADD_4): Likewise.
27874         (__FP_FRAC_SUB_3): Likewise.
27875         (__FP_FRAC_SUB_4): Likewise.
27876         (__FP_FRAC_DEC_3): Likewise.
27877         (__FP_FRAC_DEC_4): Likewise.
27878         (__FP_FRAC_ADDI_4): Likewise.
27879         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27880         (_FP_FRAC_SRL_8): Likewise.
27881         (_FP_FRAC_SRS_8): Likewise.
27883         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27884         include macro name.
27885         (FP_UNPACK_RAW_EP): Likewise.
27886         (FP_PACK_RAW_E): Likewise.
27887         (FP_PACK_RAW_EP): Likewise.
27888         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27889         (_FP_ISSIGNAN): Likewise.
27890         (_FP_ADD_INTERNAL): Likewise.
27891         (_FP_FMA): Likewise.
27892         (_FP_CMP): Likewise.
27893         (_FP_SQRT): Likewise.
27894         (_FP_TO_INT): Likewise.
27895         (_FP_FROM_INT): Likewise.
27896         (FP_EXTEND): Likewise.
27897         (_FP_DIV_MEAT_N_loop): Likewise.
27899 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27901         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27902         throughout.
27904 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27906         [BZ #17097]
27907         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27908         result with correct sign in case of exponents that produce
27909         overflow except for X very close to 1.
27911 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27913         mktime: merge #if/#ifdef usage from glibc
27914         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27915         as that works with both Glibc's and Gnulib's style.
27916         See thread starting at Siddhesh Poyarekar's bug report at:
27917         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27919 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27921         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27922         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27923         * sysdeps/tile/tilegx/memmove.c: Remove file.
27925 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27927         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27928         abi-name definition.
27929         * scripts/soversions.awk: Do not handle or generate ABI lines.
27930         * shlib-versions: Remove ABI entries.
27931         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27932         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27934 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27937         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27938         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27939         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27941         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27943         Moved ...
27944         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27945         ... here.
27946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27947         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27949         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27951         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27953         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27955         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27957         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27959         Moved ...
27960         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27962         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27964         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27966         Moved ...
27967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27969         Moved ...
27970         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27974         Moved ...
27975         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27979         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27981         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27983         Moved ...
27984         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27986         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27987         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27988         Moved ...
27989         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27991         Moved ...
27992         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27994         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27996         Moved ...
27997         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27998         ... here.
27999         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28000         Identical file removed.
28001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28002         Moved ...
28003         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28004         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28005         Identical file removed.
28006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28009         Moved ...
28010         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28012         Identical file removed.
28013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28014         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28015         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28016         Identical file removed.
28017         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28018         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28020         Identical file removed.
28021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28022         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28023         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28024         Identical file removed.
28025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28026         Moved ...
28027         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28029         Identical file removed.
28030         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28031         Moved ...
28032         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28034         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28036         Identical file removed.
28037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28038         Moved ...
28039         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28040         ... here.
28041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28042         Identical file removed.
28043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28044         Moved ...
28045         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28047         Identical file removed.
28048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28049         Moved ...
28050         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28052         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28054         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28056         Moved ...
28057         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28058         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28059         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28061         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28062         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28063         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28064         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28065         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28067 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28069         [BZ #17092]
28070         * nscd/nscd.c (monitor_child): Return exit status of child
28071         instead of return value from wait syscall.
28073 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28075         * configure.ac (libc_commonpagesize): Remove variable.
28076         (libc_relro_required): Likewise.
28077         (libc_cv_z_relro): Remove configure test.
28078         * configure: Regenerated.
28079         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28080         variable.
28081         (libc_relro_required): Likewise.
28082         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28083         (libc_relro_required): Likewise.
28084         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28085         (libc_relro_required): Likewise.
28086         * sysdeps/arm/preconfigure: Regenerated.
28087         * sysdeps/ia64/preconfigure: Remove file.
28088         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28089         variable.
28090         (libc_relro_required): Likewise.
28092         [BZ #16561]
28093         [BZ #16562]
28094         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28095         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28096         recompute overflowing results in original rounding mode.
28097         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28098         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28099         recompute overflowing results in original rounding mode.
28100         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28101         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28102         recompute overflowing results in original rounding mode.
28103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28104         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28105         recompute overflowing results in original rounding mode.
28106         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28107         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28108         recompute overflowing results in original rounding mode.
28109         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28110         (libc_feholdsetround_ctx): New macro.
28111         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28112         * sysdeps/i386/fpu/libm-test-ulps: Update.
28113         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28115 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28117         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28118         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28119         corresponding .cpsetup call.
28121 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28123         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28124         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28125         * sysdeps/arm/Makefile [$(subdir) = csu]
28126         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28127         (static-only-routines): Add aeabi_read_tp here.
28128         (shared-only-routines): Add libc-aeabi_read_tp here.
28129         (CFLAGS-libc-start.c): Add -fexceptions here.
28130         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28131         (sysdep_routines, static-only-routines, shared-only-routines):
28132         Don't add to these here.
28133         (CFLAGS-libc-start.c): Likewise.
28135         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28136         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28137         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28138         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28139         * sysdeps/arm/Makefile [$(subdir) = rt]
28140         (librt-sysdep_routines, librt-shared-only-routines):
28141         Append rt-aeabi_unwind_cpp_pr1 here.
28142         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28143         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28144         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28145         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28146         Append nptl-aeabi_unwind_cpp_pr1 here.
28147         (tests): Filter out tst-cleanupx4 here.
28148         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28149         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28150         Don't do those here.
28152 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28154         * scripts/list-sources.sh: Do not handle ports specially.
28156 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28158         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28159         * sysdeps/arm/feupdateenv.c: Likewise.
28161         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28163 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28165         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28166         trailing whitespace removed.
28167         * scripts/config.guess: Update to version 2014-03-23.
28168         * scripts/config.sub: Update to version 2014-05-01
28169         * scripts/install-sh: Update to version 2013-12-25.23.
28170         * scripts/move-if-change: Update from gnulib.
28172 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28174         * debug/memmove_chk.c: Remove pagecopy.h include.
28176 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28178         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28179         identical to gnulib mktime.
28181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28183         * configure.ac: Do not test for machine being rs6000.  Do not test
28184         for powerpc*-*soft.
28185         * configure: Regenerated.
28187         [BZ #11505]
28188         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28189         test.
28190         * configure: Regenerated.
28191         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28192         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28193         Remove configure test.
28194         * sysdeps/arm/configure: Regenerated.
28195         * sysdeps/nptl/configure.ac: Do not check
28196         libc_cv_asm_cfi_directives.
28197         * sysdeps/nptl/configure: Regenerated.
28198         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28199         * sysdeps/x86_64/nptl/configure: Remove generated file.
28200         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28201         unconditional.
28202         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28204 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28207         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28208         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28209         it is defined.
28211         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28212         instead of whether it is defined.
28213         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28214         * sysdeps/hppa/dl-machine.h: Likewise.
28215         * sysdeps/ia64/dl-machine.h: Likewise.
28216         * sysdeps/m68k/dl-machine.h: Likewise.
28217         * sysdeps/microblaze/dl-machine.h: Likewise.
28218         * sysdeps/mips/dl-machine.: Likewise.
28219         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28220         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28221         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28222         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28223         * sysdeps/sh/dl-machine.h: Likewise.
28224         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28225         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28226         * sysdeps/tile/dl-machine.h: Likewise.
28227         * sysdeps/x86_64/dl-machine.h: Likewise.
28229         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28230         code.
28231         (verify_persistent_db): Likewise.
28233 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28236         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28238         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28240         Moved ...
28241         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28242         ... here.
28243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28244         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28246         Identical file removed.
28247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28248         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28250         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28252         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28254         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28256         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28258         Moved ...
28259         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28261         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28263         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28265         Moved ...
28266         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28268         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28270         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28272         Identical file removed.
28273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28274         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28276         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28278         Moved ...
28279         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28280         ... here.
28281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28282         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28284         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28286         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28290         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28292         Moved ...
28293         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28295         Moved ...
28296         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28298         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28300         Moved ...
28301         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28305         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28306         folded into ...
28307         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28308         * sysdeps/unix/sysv/linux/s390/Versions
28309         (libpthread: GLIBC_2.19): New version set.
28310         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28311         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28312         (librt: GLIBC_2.3.3): New version set.
28313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28314         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28315         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28316         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28317         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28319         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28320         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28321         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28322         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28323         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28324         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28325         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28326         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28327         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28328         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28329         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28330         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28332         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28333         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28335         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28336         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28337         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28339         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28340         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28341         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28342         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28343         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28344         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28349         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28351         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28353         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28355         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28357         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28359         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28360         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28361         (__libc_vfork): Define the function under this name.
28362         [!NOT_IN_libc] (__vfork): Make this an alias.
28363         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28365         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28366         (__libc_vfork): Define the function under this name.
28367         [!NOT_IN_libc] (__vfork): Make this an alias.
28368         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28369         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28375         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28376         code that was previously under [RESET_PID].
28377         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28378         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28381         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28382         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28384         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28385         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28386         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28387         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28388         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28389         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28390         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28391         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28392         Moved ...
28393         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28394         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28395         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28396         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28397         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28398         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28399         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28400         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28401         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28402         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28403         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28404         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28405         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28406         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28407         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28408         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28409         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28410         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28411         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28412         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28413         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28414         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28415         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28416         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28417         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28418         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28421         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28423 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28425         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28426         that was previously under [RESET_PID].
28427         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28429 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28431         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28432         not undefine and redefine.
28433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28434         [O_CLOEXEC]: Make code unconditional.
28435         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28436         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28437         <kernel-features.h>.
28438         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28439         conditional variable definition.
28440         (shm_open) [O_CLOEXEC]: Make code unconditional.
28441         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28442         code.
28444         * configure.ac (USE_REGPARMS): Don't define here.
28445         * configure: Regenerated.
28446         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28447         * sysdeps/i386/configure: Regenerated.
28449         * nptl/createthread.c: Don't include kernel-features.h.
28450         * nptl/pthread_cancel.c: Likewise.
28451         * nptl/pthread_condattr_setclock.c: Likewise.
28452         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28453         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28454         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28455         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28456         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28457         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28460         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28461         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28462         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28463         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28464         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28465         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28466         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28467         * nscd/gai.c: Likewise.
28468         * nss/nss_db/db-open.c: Likewise.
28469         * sysdeps/generic/ldsodefs.h: Likewise.
28470         * sysdeps/sh/nptl/tls.h: Likewise.
28471         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28472         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28473         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28474         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28475         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28476         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28477         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28478         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28480         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28481         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28482         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28483         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28484         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28485         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28486         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28487         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28488         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28489         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28490         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28491         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28493         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28494         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28499         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28500         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28501         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28502         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28503         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28504         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28505         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28506         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28507         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28508         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28509         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28510         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28511         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28512         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28513         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28515         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28516         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28517         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28518         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28519         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28520         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28521         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28522         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28523         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28524         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28525         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28526         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28527         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28528         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28551         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28552         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28553         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28554         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28555         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28556         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28557         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28558         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28559         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28560         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28561         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28562         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28563         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28564         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28565         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28566         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28567         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28568         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28569         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28570         * sysdeps/unix/sysv/linux/system.c: Likewise.
28571         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28572         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28573         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28574         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28575         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28576         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28577         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28579         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28580         * configure: Regenerated.
28581         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28583         * configure.ac (base_machine): Do not set specially for particular
28584         machines here.
28585         * configure: Regenerated.
28586         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28587         settings from configure.ac.
28588         * sysdeps/i386/preconfigure: New file.
28589         * sysdeps/s390/preconfigure: Likewise.
28590         * sysdeps/sh/preconfigure: Likewise.
28591         * sysdeps/sparc/preconfigure: Likewise.
28593 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28595         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28596         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28597         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28598         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28599         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28600         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28601         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28602         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28603         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28604         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28605         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28606         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28607         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28608         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28610         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28612         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28613         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28615         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28616         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28617         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28618         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28619         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28620         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28621         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28622         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28623         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28624         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28625         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28626         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28627         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28628         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28629         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28630         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28631         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28632         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28633         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28634         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28635         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28636         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28638         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28639         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28641         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28643         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28645         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28646         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28647         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28648         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28650         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28651         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28652         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28655         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28657         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28659         Moved ...
28660         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28661         ... here.
28662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28663         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28665         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28667         Moved ...
28668         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28670         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28672         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28674         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28676         Moved ...
28677         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28679         Moved ...
28680         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28682         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28684         Moved ...
28685         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28687         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28689         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28691         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28693         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28695         Moved ...
28696         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28697         ... here.
28698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28699         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28701         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28703         Moved ...
28704         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28706         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28708         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28710         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28712         Moved ...
28713         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28715         Moved ...
28716         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28720         Moved ...
28721         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28723         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28725         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28727 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28729         * timezone/checktab.awk: Update from tzcode 2014e.
28730         * timezone/private.h: Likewise.
28731         * timezone/tzfile.h: Likewise.
28732         * timezone/zdump.c: Likewise.
28733         * timezone/zic.c: Likewise.
28735         * sysdeps/unix/sysv/linux/kernel-features.h
28736         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28737         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28738         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28739         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28740         Remove conditional code.
28742 2014-06-25  Will Newton  <will.newton@linaro.org>
28744         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28745         (_dl_arm_cap_flags): Add HWCAP2 values.
28746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28747         (_DL_HWCAP_COUNT): Increase to 37.
28748         (_DL_HWCAP_LAST): New define.
28749         (_DL_HWCAP2_LAST): New define.
28750         (_dl_procinfo): Add support for printing
28751         AT_HWCAP2 entries.
28752         (_dl_string_hwcap): Use _dl_hwcap_string.
28754 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28758 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28760         * README: Do not mention ports directory.
28762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28763         Remove macro.
28764         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28765         <kernel-features.h>.
28766         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28767         conditional variable definition.
28768         (__futimes): Update comment.
28769         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28770         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28772         [BZ #16560]
28773         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28774         arguments close to 0.
28775         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28776         Likewise.
28777         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28778         Likewise.
28779         * math/auto-libm-test-in: Add more tests of exp10.
28780         * math/auto-libm-test-out: Regenerated.
28781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28783         * sysdeps/unix/sysv/linux/kernel-features.h
28784         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28785         * sysdeps/unix/sysv/linux/readv.c: Do not include
28786         <kernel-features.h>.
28787         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28788         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28789         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28790         unconditional.
28791         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28792         conditional code.
28793         * sysdeps/unix/sysv/linux/writev.c: Do not include
28794         <kernel-features.h>.
28795         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28796         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28797         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28798         unconditional.
28799         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28800         conditional code.
28802 2014-06-25  Will Newton  <will.newton@linaro.org>
28804         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28805         comment changes throughout the file.  Remove checks
28806         for HAVE_*_H definitions that are not required.
28807         (__gen_tempname): Call abort if an unknown kind value is
28808         passed.
28810 2014-06-25  Andreas Schwab  <schwab@suse.de>
28812         [BZ #17086]
28813         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28814         scalbln, scalblnf, scalblnl in libc.
28816 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28818         [BZ #17086]
28819         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28820         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28821         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28823 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28825         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28826         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28827         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28828         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28829         Update #include.
28830         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28831         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28832         Update #include.
28833         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28834         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28835         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28836         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28837         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28838         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28839         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28840         * sysdeps/x86/bits/semaphore.h: ... here.
28841         * sysdeps/x86/nptl/elide.h: Moved ...
28842         * sysdeps/x86/elide.h: ... here.
28843         * sysdeps/x86_64/nptl/Implies: File removed.
28844         * sysdeps/i386/nptl/Implies: File removed.
28846 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28848         [BZ #16539]
28849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28850         return the argument for normal arguments with exponent below -64.
28851         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28852         Likewise.
28853         * math/auto-libm-test-in: Add another test of expm1.
28854         * math/auto-libm-test-out: Regenerated.
28856         [BZ #16287]
28857         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28858         calling __erfcl for arguments at least 16.
28859         * math/auto-libm-test-in: Add more tests of erf.
28860         * math/auto-libm-test-out: Regenerated.
28862         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28863         individual architectures.
28864         * sysdeps/unix/sysv/linux/configure: Regenerated.
28865         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28866         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28867         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28868         (ldd_rewrite_script): Define variable.
28869         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28871         file.
28872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28873         generated file.
28874         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28875         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28876         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28877         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28878         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28879         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28880         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28881         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28883 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28885         [BZ #17084]
28886         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28887         Rename member __data.d to __data.__elision_data.
28889 2014-06-24  Wilco  <wdijkstr@arm.com>
28891         * NEWS: Add 16918 to fixed bug list.
28893 2014-06-24  Wilco  <wdijkstr@arm.com>
28895         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28897 2014-06-24  Wilco  <wdijkstr@arm.com>
28899         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28900         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28901         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28902         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28903         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28904         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28905         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28906         Use _FPU_MASK_RM.
28908 2014-06-24  Wilco  <wdijkstr@arm.com>
28910         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28912 2014-06-24  Wilco  <wdijkstr@arm.com>
28914         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28915         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28916         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28917         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28919 2014-06-24  Wilco  <wdijkstr@arm.com>
28921         [BZ #16918]
28922         * sysdeps/arm/feupdateenv.c (feupdateenv):
28923         Rewrite to reduce FPSCR accesses and fix return value.
28925 2014-06-24  Wilco  <wdijkstr@arm.com>
28927         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28928         Optimize to avoid unnecessary FPSCR writes.
28929         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28930         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28931         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28932         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28934 2014-06-24  Wilco  <wdijkstr@arm.com>
28936         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28937         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28938         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28939         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28940         Call libc_fetestexcept_vfp.
28941         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28942         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28943         __SOFTFP__ ifdef so that they can be built for softfp.
28945 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28947         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28948         argument type signed char.
28950         * Makerules (check-abi): Dump diff of symlist if the test
28951         fails.
28953 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28955         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28956         using abort.
28958         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28959         Remove unused variable ST.
28961 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28963         [BZ #16354]
28964         [BZ #17061]
28965         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28966         small arguments before calling __expm1.
28967         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28968         small arguments before calling __expm1f.
28969         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28970         small arguments before calling __expm1l.
28971         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28972         Likewise.
28973         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28974         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28975         spurious underflow for some cosh tests.
28976         * math/auto-libm-test-out: Regenerated.
28977         * sysdeps/i386/fpu/libm-test-ulps: Update.
28979         [BZ #17050]
28980         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28981         (__ieee754_y1): Set errno if return value overflows.
28982         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28983         (__ieee754_y1f): Set errno if return value overflows.
28984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28985         (__ieee754_y1l): Set errno if return value overflows.
28986         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28987         (__ieee754_y1l): Set errno if return value overflows.
28988         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28989         * math/auto-libm-test-out: Regenerated.
28991         * math/gen-auto-libm-tests.c: Document use of
28992         ignore-zero-inf-sign.
28993         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28994         (input_flags): Add ignore-zero-inf-sign.
28995         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28996         * math/gen-libm-test.pl (generate_testfile): Handle
28997         ignore-zero-inf-sign.
28998         * math/auto-libm-test-in: Mark some cpow tests with
28999         ignore-zero-inf-sign and some with xfail-rounding.
29000         * math/auto-libm-test-out: Regenerated.
29001         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29002         * sysdeps/i386/fpu/libm-test-ulps: Update.
29003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29005         [BZ #16315]
29006         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29007         overflowing or underflowing operations take place with sign of
29008         result.
29009         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29010         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29011         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29012         (__ieee754_pow): Recompute overflowing and underflowing results in
29013         original rounding mode.
29014         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29015         (__powl_helper): Allow negative argument X and scale negated value
29016         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29017         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29018         overflowing or underflowing operations take place with sign of
29019         result.
29020         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29021         Include <math.h>.
29022         * math/auto-libm-test-in: Add more tests of pow.
29023         * math/auto-libm-test-out: Regenerated.
29024         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29025         (pow_tonearest_test_data): Remove.
29026         (pow_test_tonearest): Likewise.
29027         (pow_towardzero_test_data): Likewise.
29028         (pow_test_towardzero): Likewise.
29029         (pow_downward_test_data): Likewise.
29030         (pow_test_downward): Likewise.
29031         (pow_upward_test_data): Likewise.
29032         (pow_test_upward): Likewise.
29033         (main): Don't call removed functions.
29034         * sysdeps/i386/fpu/libm-test-ulps: Update.
29035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29037 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29040         Moved ...
29041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29043         Moved ...
29044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29046         Moved ...
29047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29049         Moved ...
29050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29052         File removed.
29053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29054         File removed.
29055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29056         File removed.
29057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29058         File removed.
29059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29060         File removed.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29062         File removed.
29063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29064         File removed.
29065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29066         File removed.
29067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29068         File removed.
29069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29070         File removed.
29071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29072         File removed.
29073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29074         File removed.
29075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29076         Moved ...
29077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29079         Moved ...
29080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29081         ... here.
29082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29083         Moved ...
29084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29086         Moved ...
29087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29089         Moved ...
29090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29092         Moved ...
29093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29095         Moved ...
29096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29098         Moved ...
29099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29101         Moved ...
29102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29105         ... here.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29107         Moved ...
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29110         Moved ...
29111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29112         ... here.
29113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29116         ... here.
29117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29118         Moved ...
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29120         ... here.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29122         Moved ...
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29125         Moved ...
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29130         Moved ...
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29132         ... here.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29134         Moved ...
29135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29136         ... here.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29138         Moved ...
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29141         Moved ...
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29144         Moved ...
29145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29147         Moved ...
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29150         Moved ...
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29152         ... here.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29154         Moved ...
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29160         Moved ...
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29163         Moved ...
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29168         Moved ...
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29171         Moved ...
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29174         Moved ...
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29176         ... here.
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29178         Moved ...
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29180         ... here.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29182         Moved ...
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29184         ... here.
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29189         Moved ...
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29192         Moved ...
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29195         Moved ...
29196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29197         ... here.
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29201         ... here.
29202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29203         Moved ...
29204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29205         ... here.
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29210         Moved ...
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29213 2014-06-23  Will Newton  <will.newton@linaro.org>
29214             Wilco  <wdijkstr@arm.com>
29216         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29217         implementation.  Include get-rounding-mode.h.
29218         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29219         [!libc_feholdsetround_noex_ctx]: Define
29220         libc_feholdsetround_noex_ctx.
29221         [!libc_feholdsetround_noexf_ctx]: Define
29222         libc_feholdsetround_noexf_ctx.
29223         [!libc_feholdsetround_noexl_ctx]: Define
29224         libc_feholdsetround_noexl_ctx.
29225         (libc_feholdsetround_ctx): New function.
29226         (libc_feresetround_ctx): New function.
29227         (libc_feholdsetround_noex_ctx): New function.
29228         (libc_feresetround_noex_ctx): New function.
29230 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29232         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29233         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29234         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29235         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29236         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29237         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29239         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29240         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29241         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29242         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29243         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29244         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29246         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29248         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29250         Moved ...
29251         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29252         ... here.
29253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29254         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29258         Moved ...
29259         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29261         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29265         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29267         Moved ...
29268         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29270         Moved ...
29271         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29273         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29275         Moved ...
29276         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29278         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29279         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29280         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29281         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29282         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29284         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29286         Moved ...
29287         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29288         ... here.
29289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29290         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29292         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29294         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29296         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29300         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29302         Moved ...
29303         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29305         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29307         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29309         Moved ...
29310         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29312         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29313         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29314         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29316         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29317         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29318         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29319         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29320         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29321         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29322         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29323         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29325         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29326         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29327         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29328         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29329         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29330         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29331         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29333         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29335         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29336         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29337         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29339         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29340         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29341         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29342         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29343         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29345 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29348         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29349         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29350         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29351         (IPV6_PMTUDISC_INTERFACE): Likewise.
29352         (IPV6_PMTUDISC_OMIT): Likewise.
29354 2014-06-23  Andreas Schwab  <schwab@suse.de>
29356         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29357         Remove unused errout label.
29359 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29361         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29362         macro: hardware supports Vector Crypto instructions.
29364 2014-06-23  Will Newton  <will.newton@linaro.org>
29366         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29367         rather than __builtin_expect.
29369         * elf/dl-lookup.c (undefined_msg): Remove variable.
29370         (_dl_lookup_symbol_x): Replace undefined_msg with string
29371         literal.
29373         * elf/dl-lookup.c (do_lookup_unique): New function.
29374         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29375         to a separate function.
29377 2014-06-23  Andreas Schwab  <schwab@suse.de>
29379         [BZ #17079]
29380         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29381         before reading the next line.
29383 2014-06-23  Will Newton  <will.newton@linaro.org>
29385         * test-skeleton.c (signal_handler): Use printf and %m
29386         rather than perror.  Use printf rather than fprintf to
29387         stderr.  Use puts rather than fputs to stderr.
29388         (main): Likewise.
29390 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29392         * nscd/nscd.c (thread_info_t): Remove typedef.
29393         (thread_info): Remove variable.
29395 2014-06-21  Allan McRae  <allan@archlinux.org>
29397         * NEWS: Mention CVE-2014-4043.
29399 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29401         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29402         * nptl/smp.h: ... here.
29404         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29406         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29407         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29408         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29409         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29411         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29412         * nptl/stack-aliasing.h: New file.
29413         * sysdeps/i386/i686/stack-aliasing.h: New file.
29414         * sysdeps/i386/i686/nptl/Makefile: File removed.
29415         * sysdeps/x86_64/stack-aliasing.h: New file.
29416         * sysdeps/x86_64/nptl/Makefile
29417         (CFLAGS-pthread_create.c): Variable removed.
29419         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29420         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29421         old file.
29422         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29423         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29424         old file.
29426 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29429         (__ASSUME_SIGFRAME_V2): Remove macro.
29430         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29431         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29432         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29433         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29434         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29435         Declare as function.  Remove conditional macro definitions.
29436         (__default_rt_sa_restorer): Likewise.
29437         (__default_sa_restorer_v1): Remove declaration.
29438         (__default_sa_restorer_v2): Likewise.
29439         (__default_rt_sa_restorer_v1): Likewise.
29440         (__default_rt_sa_restorer_v2): Likewise.
29441         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29442         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29443         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29445 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29447         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29448         (libpthread-routines): Add sysdep.
29449         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29450         * sysdeps/unix/sysv/linux/sparc/Versions
29451         (libpthread: GLIBC_2.3.3): New version set.
29452         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29453         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29454         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29455         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29456         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29457         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29458         Moved ...
29459         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29460         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29461         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29462         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29463         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29464         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29465         * sysdeps/sparc/nptl/sem_init.c: ... here.
29466         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29467         * sysdeps/sparc/nptl/sem_post.c: ... here.
29468         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29469         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29470         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29471         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29472         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29473         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29474         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29475         (libpthread-routines): Add cpu_relax.
29476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29477         File removed.
29478         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29479         (librt: GLIBC_2.3.3): New version set.
29480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29481         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29482         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29483         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29486         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29488         Moved ...
29489         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29491         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29493         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29495         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29497         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29499         Moved ...
29500         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29501         Update #include.
29502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29503         Moved ...
29504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29505         Update #include.
29506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29507         Moved ...
29508         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29509         Update #include.
29510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29511         Moved ...
29512         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29513         Update #include.
29514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29515         Moved ...
29516         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29517         Update #include.
29518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29519         Moved ...
29520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29521         Update #include.
29522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29523         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29529         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29531         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29533         Moved ...
29534         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29536         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29538         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29540 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29542         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29543         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29544         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29545         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29546         * nscd/nscd.c: Likewise.
29547         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29548         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29549         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29550         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29552         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29553         <kernel-features.h>.
29554         (init_mq_netlink): Remove conditional have_sock_cloexec
29555         definitions.  Remove code conditional on have_sock_cloexec < 0.
29556         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29557         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29558         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29559         <kernel-features.h>.
29560         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29561         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29563 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29566         Add tests for memset_chk and memset.
29568         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29569         with AVX2_Usable.
29571 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29573         [BZ #16046]
29574         * elf/tst-dl-iter-static.c: New file.
29575         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29577         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29578         error.
29580 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29582         * sysdeps/unix/sysv/linux/kernel-features.h
29583         (__ASSUME_F_GETOWN_EX): Remove macro.
29584         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29585         <kernel-features.h>.
29586         (miss_F_GETOWN_EX): Remove variable or macro.
29587         (do_fcntl): Do not check miss_F_GETOWN_EX.
29588         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29591         Remove macro.
29592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29593         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29594         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29596         * sysdeps/unix/sysv/linux/kernel-features.h
29597         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29598         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29599         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29600         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29602 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29604         [BZ #17075]
29605         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29606         Fix calculation of the symbol's value.
29607         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29608         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29609         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29610         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29611         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29612         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29613         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29614         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29615         (modules-names): Add `tst-armtlsdescmod',
29616         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29617         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29618         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29619         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29620         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29621         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29622         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29623         ($(objpfx)tst-armtlsdescloc): New dependency.
29624         ($(objpfx)tst-armtlsdescextnow): Likewise.
29625         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29626         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29627         TLS scheme support.
29628         * sysdeps/arm/configure: Regenerate.
29630 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29632         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29633         (__atfct_seterrno_2): Likewise.
29634         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29635         <kernel-features.h>.
29636         (__ASSUME_ATFCTS): Do not undefine and redefine.
29637         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29638         (__have_atfcts): Remove conditional definition.
29639         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29640         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29641         unreachable if [__ASSUME_ATFCTS].
29642         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29643         not undefine and redefine.
29644         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29645         <kernel-features.h>.
29646         (faccessat) [__NR_faccessat]: Make code unconditional.
29647         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29648         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29649         <kernel-features.h>.
29650         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29651         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29652         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29653         <kernel-features.h>.
29654         (fchownat) [__NR_fchownat]: Make code unconditional.
29655         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29656         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29657         <kernel-features.h>.
29658         (futimesat) [__NR_futimesat]: Make code unconditional.
29659         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29660         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29661         <kernel-features.h>.
29662         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29663         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29664         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29665         <kernel-features.h>.
29666         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29667         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29668         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29669         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29670         <kernel-features.h>.
29671         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29672         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29673         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29674         <kernel-features.h>.
29675         (linkat) [__NR_linkat]: Make code unconditional.
29676         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29677         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29678         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29679         <kernel-features.h>.
29680         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29681         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29682         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29683         <kernel-features.h>.
29684         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29685         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29686         * sysdeps/unix/sysv/linux/openat.c: Do not include
29687         <kernel-features.h>.
29688         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29689         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29690         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29691         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29692         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29693         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29694         <kernel-features.h>.
29695         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29696         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29697         result of INLINE_SYSCALL directly, not via int variable.
29698         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29699         <kernel-features.h>.
29700         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29701         (renameat) [__NR_renameat]: Make code unconditional.
29702         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29703         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29704         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29705         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29706         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29707         (__ASSUME_ATFCTS): Do not undefine and redefine.
29708         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29709         <kernel-features.h>.
29710         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29711         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29712         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29713         <kernel-features.h>.
29714         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29715         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29716         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29717         (__ASSUME_ATFCTS): Do not undefine and redefine.
29718         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29719         <kernel-features.h>.
29720         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29721         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29722         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29723         <kernel-features.h>.
29724         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29725         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29727 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29729         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29731 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29733         [BZ #17069]
29734         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29735         constructed tree before returning error.
29736         * posix/bug-regexp36.c: Expand test case.
29738 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29740         [BZ #6803]
29741         * math/libm-test.inc (scalbln_test_date):
29742         Add errno expectations.
29743         * math/w_scalblnf.c: New File.
29744         Add wrapper which checks for setting errno to ERANGE.
29745         Add weak_alias for corresponding scalbln function.
29746         * math/w_scalbln.c: Likewise.
29747         * math/w_scalblnl.c: Likewise.
29748         * math/Makefile (libm-calls): Add w_scalbln.
29749         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29750         Remove weak_alias for corresponding scalbln function.
29751         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29753         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29755         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29756         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29757         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29758         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29759         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29760         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29761         Remove long_double_symbol for scalblnl function in libm, libc.
29762         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29763         Add wrapper which checks for setting errno to ERANGE.
29764         Add long_double_symbol for scalblnl function in libm, libc.
29765         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29766         Remove long_double_symbol for scalblnl in libm.
29767         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29768         Add wrapper which checks for setting errno to ERANGE.
29769         Add long_double_symbol for scalblnl function in libm.
29770         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29771         Do not use wrapper because of own implementation.
29773 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29775         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29776         3 bytes for __pad1 for x32.
29777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29779 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29780             H.J. Lu  <hongjiu.lu@intel.com>
29782         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29783         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29784         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29785         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29786         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29788 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29790         [BZ #17069]
29791         * posix/regcomp.c (parse_expression): Deallocate partially
29792         constructed tree before returning error.
29793         * posix/Makefile.c (tests): Add bug-regex36.
29794         (generated): Add bug-regex36.mtrace.
29795         (tests-special): Add $(objpfx)bug-regex36-mem.out
29796         (bug-regex36-ENV): New variable.
29797         ($(objpfx)bug-regex36-mem.out): New rule.
29798         * posix/bug-regex36.c: New file.
29800 2014-06-19  Will Newton  <will.newton@linaro.org>
29802         * malloc/malloc.c (systrim): If extra is zero then return
29803         early.
29805 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29809 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29811         * sysdeps/aarch64/strchr.S: New file.
29813 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29815         [BZ #17022]
29816         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29817         from arguments -2 or below.
29818         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29819         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29821 2014-06-18  Andreas Schwab  <schwab@suse.de>
29823         [BZ #17062]
29824         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29825         of a bracket expr not to run off the end of the string.
29826         * posix/Makefile (tests): Add tst-fnmatch3.
29827         * posix/tst-fnmatch3.c: New file.
29829 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29831         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29832         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29833         [$(cross-compiling) = no]: Likewise.
29834         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29835         [$(cross-compiling) = no]: Likewise.
29837 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29839         [BZ #17031]
29840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29841         double, adjusted for any remainder from the high double.
29842         * math/libm-test.inc (nearbyint): Add tests.
29843         (rint): Likewise.
29845 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29847         * nptl/sysdeps/powerpc/Makefile: Moved ...
29848         * sysdeps/powerpc/nptl/Makefile: ... here.
29849         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29850         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29851         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29852         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29853         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29854         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29855         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29856         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29857         * nptl/sysdeps/powerpc/tls.h: Moved ...
29858         * sysdeps/powerpc/nptl/tls.h: ... here.
29860 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29862         [BZ #16681]
29863         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29864         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29865         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29866         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29867         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29868         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29869         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29870         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29871         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29873 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29875         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29877 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29879         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29880         defined operator.
29882         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29883         $TIMEOUTFACTOR.
29885 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29887         [BZ #17058]
29888         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29889         non-executed part of the test.
29891 2014-06-16  Andreas Schwab  <schwab@suse.de>
29893         * string/bits/string2.h (strdup, strndup): Update feature guard.
29895 2014-06-14  David S. Miller  <davem@davemloft.net>
29897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29899 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29901         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29902         that was previously under [RESET_PID].
29903         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29905         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29906         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29907         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29908         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29909         (__libc_vfork): New strong alias.
29910         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29912 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29914         * sysdeps/generic/elide.h: New file.
29916 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29918         * Makefile (installed-headers): Adjust path of pthread.h header.
29920 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29923         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29924         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29925         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29927         * nptl/sysdeps/s390/Makefile: Moved ...
29928         * sysdeps/s390/nptl/Makefile: ... here.
29929         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29930         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29931         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29932         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29933         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29934         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29935         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29936         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29937         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29938         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29939         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29940         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29941         * nptl/sysdeps/s390/tls.h: Moved ...
29942         * sysdeps/s390/nptl/tls.h: ... here.
29944         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29945         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29947 2014-06-13  David S. Miller  <davem@davemloft.net>
29949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29952         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29956         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29957         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29958         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29959         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29960         Remove RESET_PID cpp guards.
29961         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29962         Remove RESET_PID cpp guards.
29963         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29965 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29967         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29968         __sp to uintptr_t.
29970 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29993         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29994         (pthread_rwlock_rdlock): Add elision.
29995         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29996         (pthread_rwlock_wrlock): Add elision.
29997         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29998         (pthread_rwlock_trywrlock): Add elision.
29999         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30000         (pthread_rwlock_tryrdlock): Add elision.
30001         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30002         (pthread_rwlock_tryrdlock): Add elision unlock.
30003         * nptl/sysdeps/pthread/pthread.h:
30004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30005         (PTHREAD_RWLOCK_INITIALIZER,
30006         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30007         Handle new elision field.
30008         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30009         * sysdeps/arm/nptl/bits/pthreadtypes.h
30010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30011         * sysdeps/sh/nptl/bits/pthreadtypes.h
30012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30013         * sysdeps/tile/nptl/bits/pthreadtypes.h
30014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30015         * sysdeps/a/nptl/bits/pthreadtypes.h
30016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30017         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30019         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30021         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30023         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30025         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30027         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30029         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30031         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30033         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30034         (elision_init): Set try_xbegin to zero when no RTM.
30035         * sysdeps/x86/nptl/bits/pthreadtypes.h
30036         (pthread_rwlock_t): Change __pad1 to __rwelision.
30037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30039 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30041         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30042         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30043         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30044         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30046 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30048         [BZ #16996]
30049         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30050         that the cached result has been set before returning it.
30052 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30054         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30055         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30056         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30057         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30058         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30059         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30061         * nptl/sysdeps/sparc/Makefile: Moved ...
30062         * sysdeps/sparc/nptl/Makefile: ... here.
30063         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30064         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30065         * nptl/sysdeps/sparc/tls.h: Moved ...
30066         * sysdeps/sparc/nptl/tls.h: ... here.
30067         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30068         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30069         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30070         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30071         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30072         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30073         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30074         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30075         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30076         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30077         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30078         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30079         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30080         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30081         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30082         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30083         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30085         Update #include.
30086         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30088         Update #include.
30089         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30091         Update #include.
30092         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30094         Update #include.
30096         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30098         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30099         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30101         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30102         (struct list_links): Type removed.
30103         (struct thread_node, struct timer_node): Replace struct list_links
30104         with struct list_head.
30105         (list_unlink_ip): Likewise.
30106         * sysdeps/pthread/timer_routines.c
30107         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30108         (list_append, list_insbefore): Likewise.
30109         (list_init): Function removed.
30110         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30111         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30112         * sysdeps/pthread/Makefile: ... here, new file.
30114         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30115         * sysdeps/nptl/Implies: ... here.
30116         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30117         * nptl/sysdeps/pthread/list.h: Moved ...
30118         * include/list.h: ... here.
30119         * nptl/sysdeps/pthread/createthread.c: Moved ...
30120         * nptl/createthread.c: ... here.
30121         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30122         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30123         * nptl/pt-longjmp.c: ... here.
30124         * nptl/sysdeps/pthread/Makefile: Moved ...
30125         * sysdeps/nptl/Makefile: ... here.
30126         * nptl/sysdeps/pthread/Subdirs: Moved ...
30127         * sysdeps/nptl/Subdirs: ... here.
30128         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30129         * sysdeps/nptl/aio_misc.h: ... here.
30130         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30131         * sysdeps/nptl/bits/libc-lock.h: ... here.
30132         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30133         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30134         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30135         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30136         * nptl/sysdeps/pthread/configure: Moved ...
30137         * sysdeps/nptl/configure: ... here.
30138         * nptl/sysdeps/pthread/configure.ac: Moved ...
30139         * sysdeps/nptl/configure.ac: ... here.
30140         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30141         * sysdeps/nptl/gai_misc.h: ... here.
30142         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30143         * sysdeps/nptl/librt-cancellation.c: ... here.
30144         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30145         * sysdeps/nptl/malloc-machine.h: ... here.
30146         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30147         * sysdeps/nptl/pthread-functions.h: ... here.
30148         * nptl/sysdeps/pthread/pthread.h: Moved ...
30149         * sysdeps/nptl/pthread.h: ... here.
30150         * nptl/sysdeps/pthread/setxid.h: Moved ...
30151         * sysdeps/nptl/setxid.h: ... here.
30152         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30153         * sysdeps/nptl/sigfillset.c: ... here.
30154         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30155         * sysdeps/nptl/tcb-offsets.h: ... here.
30156         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30157         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30158         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30159         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30160         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30161         * sysdeps/pthread/allocalim.h: ... here.
30162         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30163         * sysdeps/pthread/bits/sigthread.h: ... here.
30164         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30165         * sysdeps/pthread/flockfile.c: ... here.
30166         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30167         * sysdeps/pthread/ftrylockfile.c: ... here.
30168         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30169         * sysdeps/pthread/funlockfile.c: ... here.
30170         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30171         * sysdeps/pthread/posix-timer.h: ... here.
30172         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30173         * sysdeps/pthread/timer_create.c: ... here.
30174         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30175         * sysdeps/pthread/timer_delete.c: ... here.
30176         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30177         * sysdeps/pthread/timer_getoverr.c: ... here.
30178         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30179         * sysdeps/pthread/timer_gettime.c: ... here.
30180         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30181         * sysdeps/pthread/timer_routines.c: ... here.
30182         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30183         * sysdeps/pthread/timer_settime.c: ... here.
30184         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30185         * sysdeps/pthread/tst-timer.c: ... here.
30186         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30187         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30189         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30190         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30192         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30193         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30194         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30195         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30196         Update #include target.
30197         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30198         * sysdeps/i386/i686/nptl/Makefile: ... here.
30199         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30200         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30201         Update #include target.
30202         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30203         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30204         * nptl/sysdeps/i386/Makefile: Moved ...
30205         * sysdeps/i386/nptl/Makefile: ... here.
30206         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30207         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30208         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30209         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30210         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30211         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30212         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30213         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30214         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30215         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30216         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30217         * nptl/sysdeps/i386/tls.h: Moved ...
30218         * sysdeps/i386/nptl/tls.h: ... here.
30220         * sysdeps/sh/Makefile [$(subdir) = csu]
30221         (gen-as-const-headers): Add tcb-offsets.sym.
30222         * nptl/sysdeps/sh/Makefile: File removed.
30223         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30224         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30225         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30226         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30227         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30228         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30229         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30230         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30231         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30232         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30233         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30234         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30235         * nptl/sysdeps/sh/tls.h: Moved ...
30236         * sysdeps/sh/nptl/tls.h: ... here.
30237         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30238         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30239         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30240         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30241         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30242         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30243         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30244         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30245         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30246         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30248         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30250         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30252         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30254         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30256         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30257         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30258         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30262         Moved ...
30263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30265         Moved ...
30266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30270         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30271         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30272         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30273         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30274         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30275         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30276         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30277         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30278         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30279         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30280         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30281         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30282         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30283         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30284         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30286 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30288         * posix/spawn_faction_addopen.c: Include string.h.
30290 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30292         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30293         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30294         * nptl/sysdeps/x86_64/Makefile: Moved ...
30295         * sysdeps/x86_64/nptl/Makefile: ... here.
30296         * nptl/sysdeps/x86_64/configure: Moved ...
30297         * sysdeps/x86_64/nptl/configure: ... here.
30298         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30299         * sysdeps/x86_64/nptl/configure.ac: ... here.
30300         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30301         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30302         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30303         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30304         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30305         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30306         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30307         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30308         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30309         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30310         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30311         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30312         * nptl/sysdeps/x86_64/tls.h: Moved ...
30313         * sysdeps/x86_64/nptl/tls.h: ... here.
30314         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30315         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30316         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30317         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30319         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30321 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30327         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30328         type.
30329         [POSIX] (off_t): Likewise.
30330         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30331         [POSIX] (S_ISBLK): Require macro.
30332         [POSIX] (S_ISCHR): Likewise.
30333         [POSIX] (S_ISDIR): Likewise.
30334         [POSIX] (S_ISFIFO): Likewise.
30335         [POSIX] (S_ISREG): Likewise.
30336         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30337         optional-macro.
30338         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30339         type.
30340         [POSIX] (time_t): Likewise.
30341         [POSIX] (timer_t): Likewise.
30343 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30345         [BZ #17048]
30346         * posix/spawn_int.h (struct __spawn_action): Make the path string
30347         non-const to support deallocation.
30348         * posix/spawn_faction_addopen.c
30349         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30350         * posix/spawn_faction_destroy.c
30351         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30352         path in all spawn_do_open actions.
30353         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30354         posix_spawn_file_actions_addopen.
30356 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30358         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30359         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30360         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30361         conditional code always true.
30362         (__libc_vfork): New alias.
30364 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30366         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30367         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30369         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30371         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30372         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30374         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30375         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30377         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30378         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30380 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30382         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30383         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30384         multiarch strcmp for PPC64.
30385         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30388         multiarch optimizations.
30389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30390         (__libc_ifunc_impl_list): Likewise.
30392 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30394         * benchtests/scripts/validate_benchout.py: New script.
30395         * benchtests/Makefile (bench-func): Call it.
30396         * benchtests/scripts/benchout.schema.json: New file.
30398 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30400         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30401         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30402         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30403         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30404         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30405         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30406         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30407         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30408         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30409         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30410         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30411         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30412         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30413         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30414         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30417         Moved ...
30418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30419         ... here.
30420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30421         Moved ...
30422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30424         Moved ...
30425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30426         ... here.
30427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30428         Moved ...
30429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30430         ... here.
30431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30432         Moved ...
30433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30435         Moved ...
30436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30437         ... here.
30438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30439         Moved ...
30440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30441         ... here.
30442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30443         Moved ...
30444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30446         Moved ...
30447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30448         ... here.
30449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30450         Moved ...
30451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30452         ... here.
30453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30454         Moved ...
30455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30456         ... here.
30457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30458         Moved ...
30459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30461         Moved ...
30462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30463         ... here.
30464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30465         Moved ...
30466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30467         ... here.
30468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30469         Moved ...
30470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30471         ... here.
30472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30473         Moved ...
30474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30476         Moved ...
30477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30478         ... here.
30479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30480         Moved ...
30481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30482         ... here.
30483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30484         Moved ...
30485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30487         Moved ...
30488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30489         ... here.
30490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30491         Moved ...
30492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30494         Moved ...
30495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30497         Moved ...
30498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30499         ... here.
30500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30501         Moved ...
30502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30503         ... here.
30504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30505         Moved ...
30506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30507         ... here.
30508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30514         ... here.
30515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30516         Moved ...
30517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30518         ... here.
30519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30520         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30522         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30528         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30530         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30532         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30538         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30540         Moved ...
30541         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30543         Moved ...
30544         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30546         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30548         Moved ...
30549         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30553         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30554         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30555         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30557 2014-06-10  Wilco  <wdijkstr@arm.com>
30559         * math/test-fenv-return.c: New file.
30560         * math/Makefile: Add new test test-fenv-return.
30562 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30564         [BZ #17042]
30565         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30566         when x - 1 is zero.
30567         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30568         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30569         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30570         0.0L for an argument of 1.0L.
30571         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30572         Likewise.
30573         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30574         value when x - 1 is zero.
30575         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30576         * sysdeps/i386/fpu/libm-test-ulps: Update.
30577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30579 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30581         [BZ #15119]
30582         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30584 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30586         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30587         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30589 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30591         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30592         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30594         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30595         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30597         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30598         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30600         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30601         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30603         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30604         if not already defined.
30605         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30606         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30607         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30608         (TLS_INIT_TP): Use it.
30609         (TLS_DEFINE_INIT_TP): New macro.
30610         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30612 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30614         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30615         constant.
30616         [POSIX] (IXANY): Likewise.
30617         [POSIX] (OLCUC): Likewise.
30618         [POSIX || POSIX2008] (CBAUD): Do not allow.
30619         [POSIX || POSIX2008] (DEFECHO): Likewise.
30620         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30621         [POSIX || POSIX2008] (ECHOKE): Likewise.
30622         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30623         [POSIX || POSIX2008] (EXTA): Likewise.
30624         [POSIX || POSIX2008] (EXTB): Likewise.
30625         [POSIX || POSIX2008] (FLUSHO): Likewise.
30626         [POSIX || POSIX2008] (LOBLK): Likewise.
30627         [POSIX || POSIX2008] (PENDIN): Likewise.
30628         [POSIX || POSIX2008] (SWTCH): Likewise.
30629         [POSIX || POSIX2008] (VDISCARD): Likewise.
30630         [POSIX || POSIX2008] (VDSUSP): Likewise.
30631         [POSIX || POSIX2008] (VLNEXT): Likewise.
30632         [POSIX || POSIX2008] (VREPRINT): Likewise.
30633         [POSIX || POSIX2008] (VSTATUS): Likewise.
30634         [POSIX || POSIX2008] (VWERASE): Likewise.
30635         (B*): Change to B[0123456789]*.
30636         * conform/data/time.h-data [POSIX || UNIX98]
30637         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30638         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30639         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30640         [POSIX] (tm_*): Do not allow.
30642 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30644         * Makefile (install): Don't set LANGUAGE.
30645         * Makefile.in (install): Likewise.
30646         * assert/Makefile (test-assert-ENV): Remove variable.
30647         (test-assert-perr-ENV): Likewise.
30648         * elf/Makefile (neededtest4-ENV): Likewise.
30649         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30650         [$(cross-compiling) = no]: Don't set LANGUAGE.
30651         * io/ftwtest-sh (LANG): Remove variable.
30652         * libio/Makefile (tst-widetext-ENV): Likewise.
30653         * manual/install.texi (Running make install): Don't refer to
30654         environment settings for make install.
30655         * INSTALL: Regenerated.
30656         * nptl/tst-tls6.sh: Don't set LANG.
30657         * posix/globtest.sh (LANG): Remove variable.
30658         * string/Makefile (tester-ENV): Likewise.
30659         (inl-tester-ENV): Likewise.
30660         (noinl-tester-ENV): Likewise.
30661         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30662         [$(cross-compiling) = no]: Don't set LANGUAGE.
30663         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30664         without explicit environment settings.
30666 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30668         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30669         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30671         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30673 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30675         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30676         other files in the crypt directory.
30677         * crypt/crypt.c: Remove duplicate includes.
30678         * crypt/crypt-entry.c: Likewise.
30679         * crypt/crypt_util.c: Likewise.
30681 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30683         * Makeconfig (run-program-env): New variable.
30684         (run-program-prefix-before-env): Likewise.
30685         (run-program-prefix-after-env): Likewise.
30686         (run-program-prefix): Define in terms of new variables.
30687         (built-program-cmd-before-env): New variable.
30688         (built-program-cmd-after-env): Likewise.
30689         (built-program-cmd): Define in terms of new variables.
30690         (test-program-prefix-before-env): New variable.
30691         (test-program-prefix-after-env): Likewise.
30692         (test-program-prefix): Define in terms of new variables.
30693         (test-program-cmd-before-env): New variable.
30694         (test-program-cmd-after-env): Likewise.
30695         (test-program-cmd): Define in terms of new variables.
30696         * Rules (make-test-out): Use $(run-program-env).
30697         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30698         (help): Do not mention environment variables.  Mention
30699         --timeoutfactor option.
30700         (timeoutfactor): New variable.
30701         (blacklist_exports): Remove function.
30702         (exports): Remove variable.
30703         (command): Do not include ${exports}.
30704         * manual/install.texi (Configuring and compiling): Do not mention
30705         test wrappers preserving environment variables.  Mention that last
30706         assignment to a variable must take precedence.
30707         * INSTALL: Regenerated.
30708         * benchtests/Makefile (run-bench): Use $(run-program-env).
30709         * catgets/Makefile ($(objpfx)test1.cat): Use
30710         $(built-program-cmd-before-env), $(run-program-env) and
30711         $(built-program-cmd-after-env).
30712         ($(objpfx)test2.cat): Do not specify environment variables
30713         explicitly.
30714         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30715         $(run-program-env) and $(built-program-cmd-after-env).
30716         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30717         $(run-program-env) and $(test-program-cmd-after-env).
30718         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30719         explicitly.
30720         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30721         run_program_env and test_program_cmd_after_env arguments.
30722         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30723         * elf/tst-pathopt.sh: Use run_program_env argument.
30724         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30725         $(test-wrapper-env) and $(run-program-env).
30726         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30727         run_program_env arguments.
30728         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30729         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30730         $(test-program-prefix-before-env), $(run-program-env) and
30731         $(test-program-prefix-after-env).
30732         ($(objpfx)tst-gettext2.out): Likewise.
30733         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30734         run_program_env and test_program_prefix_after_env arguments.
30735         * intl/tst-gettext2.sh: Likewise.
30736         * intl/tst-gettext4.sh: Do not set environment variables
30737         explicitly.
30738         * intl/tst-gettext6.sh: Likewise.
30739         * intl/tst-translit.sh: Likewise.
30740         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30741         $(test-program-prefix-before-env), $(run-program-env) and
30742         $(test-program-prefix-after-env).
30743         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30744         run_program_env and test_program_prefix_after_env arguments.
30745         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30746         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30747         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30748         explicitly with each use of ${test_wrapper_env}.
30749         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30750         $(test-program-prefix-before-env), $(run-program-env) and
30751         $(test-program-prefix-after-env).
30752         * posix/tst-getconf.sh: Do not set environment variables
30753         explicitly.
30754         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30755         run_program_env and test_program_prefix_after_env arguments.
30756         * stdio-common/tst-printf.sh: Do not set environment variables
30757         explicitly.
30758         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30759         $(test-program-prefix-before-env), $(run-program-env) and
30760         $(test-program-prefix-after-env).
30761         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30762         run_program_env and test_program_prefix_after_env arguments.
30763         Split $test calls into $test_pre and $test.
30764         * timezone/Makefile (build-testdata): Use
30765         $(built-program-cmd-before-env), $(run-program-env) and
30766         $(built-program-cmd-after-env).
30768 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30770         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30771         strlen for non SHARED builds.
30773 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30775         * nptl/allocatestack.c (check_list): Inlined function...
30776         (__reclaim_stacks): ... here.
30778 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30780         [BZ #15698]
30781         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30782         memory overrun.
30784 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30786         * Rules (make-test-out): Include
30787         LOCPATH=$(common-objpfx)localedata in default environment.
30788         * debug/Makefile (tst-chk1-ENV): Remove variable.
30789         (tst-chk2-ENV): Likewise.
30790         (tst-chk3-ENV): Likewise.
30791         (tst-chk4-ENV): Likewise.
30792         (tst-chk5-ENV): Likewise.
30793         (tst-chk6-ENV): Likewise.
30794         (tst-lfschk1-ENV): Likewise.
30795         (tst-lfschk2-ENV): Likewise.
30796         (tst-lfschk3-ENV): Likewise.
30797         (tst-lfschk4-ENV): Likewise.
30798         (tst-lfschk5-ENV): Likewise.
30799         (tst-lfschk6-ENV): Likewise.
30800         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30801         (tst-iconv7-ENV): Likewise.
30802         * intl/Makefile (LOCPATH-ENV): Likewise.
30803         (tst-codeset-ENV): Likewise.
30804         (tst-gettext3-ENV): Likewise.
30805         (tst-gettext5-ENV): Likewise.
30806         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30807         (tst-fopenloc-ENV): Likewise.
30808         (tst-fgetws-ENV): Remove variable.
30809         (tst-ungetwc1-ENV): Likewise.
30810         (tst-ungetwc2-ENV): Likewise.
30811         (bug-ungetwc2-ENV): Likewise.
30812         (tst-swscanf-ENV): Likewise.
30813         (bug-ftell-ENV): Likewise.
30814         (tst-fgetwc-ENV): Likewise.
30815         (tst-fseek-ENV): Likewise.
30816         (tst-ftell-partial-wide-ENV): Likewise.
30817         (tst-ftell-active-handler-ENV): Likewise.
30818         (tst-ftell-append-ENV): Likewise.
30819         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30820         (tst-regexloc-ENV): Likewise.
30821         (bug-regex1-ENV): Likewise.
30822         (tst-regex-ENV): Likewise.
30823         (tst-regex2-ENV): Likewise.
30824         (bug-regex5-ENV): Likewise.
30825         (bug-regex6-ENV): Likewise.
30826         (bug-regex17-ENV): Likewise.
30827         (bug-regex18-ENV): Likewise.
30828         (bug-regex19-ENV): Likewise.
30829         (bug-regex20-ENV): Likewise.
30830         (bug-regex22-ENV): Likewise.
30831         (bug-regex23-ENV): Likewise.
30832         (bug-regex25-ENV): Likewise.
30833         (bug-regex26-ENV): Likewise.
30834         (bug-regex30-ENV): Likewise.
30835         (bug-regex32-ENV): Likewise.
30836         (bug-regex33-ENV): Likewise.
30837         (bug-regex34-ENV): Likewise.
30838         (bug-regex35-ENV): Likewise.
30839         (tst-rxspencer-ENV): Likewise.
30840         (tst-rxspencer-no-utf8-ENV): Likewise.
30841         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30842         (tst-sscanf-ENV): Likewise.
30843         (tst-swprintf-ENV): Likewise.
30844         (tst-swscanf-ENV): Likewise.
30845         (test-vfprintf-ENV): Likewise.
30846         (scanf13-ENV): Likewise.
30847         (bug14-ENV): Likewise.
30848         (tst-grouping-ENV): Likewise.
30849         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30850         (tst-strtod3-ENV): Likewise.
30851         (tst-strtod4-ENV): Likewise.
30852         (tst-strtod5-ENV): Likewise.
30853         (testmb2-ENV): Likewise./
30854         * string/Makefile (tst-strxfrm-ENV): Likewise.
30855         (tst-strxfrm2-ENV): Likewise.
30856         (bug-strcoll1-ENV): Likewise.
30857         (test-strcasecmp-ENV): Likewise.
30858         (test-strncasecmp-ENV): Likewise.
30859         * time/Makefile (tst-strptime-ENV): Likewise.
30860         (tst-ftime_l-ENV): Likewise.
30861         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30862         (tst-mbrtowc-ENV): Likewise.
30863         (tst-wcrtomb-ENV): Likewise.
30864         (tst-mbrtowc2-ENV): Likewise.
30865         (tst-c16c32-1-ENV): Likewise.
30866         (tst-mbsnrtowcs-ENV): Likewise.
30868 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30870         * manual/resource.texi (How to get information about the memory
30871         subsystem?): Fix typo.
30872         Reported by Peon de la Parra Ivan <peon@keba.com>
30874 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30876         [BZ #16882]
30877         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30878         (pthread_spin_lock): Branch out of spin loop to proper location.
30879         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30880         (pthread_spin_lock): Likewise.
30882         * nptl/tst-spin4.c: New test.
30883         * nptl/Makefile (tests): Add tst-spin4.
30885 2014-06-03  Andreas Schwab  <schwab@suse.de>
30887         [BZ #15946]
30888         * resolv/res_send.c (send_dg): Reload file descriptor after
30889         calling reopen.
30891 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30893         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30895 2014-06-03  Richard Henderson  <rth@redhat.com>
30897         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30898         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30899         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30900         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30901         in the SAVE_PID block.
30902         (__libc_vfork): New alias.
30903         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30905         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30906         child in registers, not on the stack.  Remove RESET_PID conditionals.
30907         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30909 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30911         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30913 2014-06-03  Wilco  <wdijkstr@arm.com>
30915         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30916         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30917         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30918         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30919         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30920         Likewise.
30922 2014-06-03  Wilco  <wdijkstr@arm.com>
30924         * sysdeps/aarch64/fpu/math_private.h
30925         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30926         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30927         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30928         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30929         Fix declarations.
30931 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30933         * crypt/crypt-private.h: Include ufc-crypt.h.
30934         (__b64_from_24bit): Declare extern.
30935         * crypt/crypt_util.c(__b64_from_24bit): New function.
30936         (b64t): New static const variable.
30937         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30938         (b64t): Remove variable.
30939         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30940         * crypt/sha256-crypt.c: Include crypt-private.h.
30941         (b64t): Remove variable.
30942         (__sha256_crypt_r): Remove b64_from_24bit and replace
30943         with __b64_from_24bit.
30944         * crypt/sha512-crypt.c: Likewise.
30946 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30948         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30949         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30950         Label the code __libc_vfork rather than __vfork.
30951         [!NOT_IN_libc] (vfork): Define as weak alias.
30952         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30953         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30954         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30956 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30958         * malloc/malloc.c (malloc_info): Fix format specifier for
30959         n_mmaps.
30961 2014-06-02  Wilco  <wdijkstr@arm.com>
30963         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30964         FPCR write.
30966 2014-06-02  Wilco  <wdijkstr@arm.com>
30968         [BZ #17009]
30969         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30970         Rewrite to reduce FPCR/FPSR accesses.
30972 2014-06-01  David S. Miller  <davem@davemloft.net>
30974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30976 2014-05-31  David S. Miller  <davem@davemloft.net>
30978         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30979         to occur in round to nearest mode when |x| >= 2.0
30981 2014-05-30  Richard Henderson  <rth@twiddle.net>
30983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30984         (PSEUDO_RET_NOERRNO): Remove.
30985         (ret): Don't redefine.
30986         (ret_NOERRNO): Define in terms of ret.
30987         (ret_ERRVAL): Likewise.
30989         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30990         use of PSEUDO_RET; perform the error check directly.
30992 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30994         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30995         with __int128_t.
30997 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30999         * malloc/malloc (malloc_info): Fix formatting.
31001 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002             Roland McGrath  <roland@hack.frob.com>
31004         * malloc/malloc (malloc_info): Also print mmapped statistics.
31006 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31008         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31009         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31011 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31013         * malloc/malloc.c (malloc_info): Inline mi_arena.
31015 2014-05-29  Richard Henderson  <rth@twiddle.net>
31017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31018         Remove comma before expanding ASM_ARGS_##nr.
31019         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31020         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31021         of ASM_ARGS_##nr.
31022         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31023         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31024         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31025         (ASM_ARGS_1): Add leading comma.
31027         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31028         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31029         to __errno_location.
31030         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31031         Remove the expected plt for __errno_location.
31033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31034         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31035         call to __read_tp.
31037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31038         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31039         it and break it down.
31040         (DOCARGS_0, DOCARGS_1): Do nothing.
31041         (DOCARGS_2): Update to store into the new stack frame.
31042         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31043         (UNDOCARGS_1): Update to restore from the new stack frame.
31044         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31045         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31048         (SINGLE_THREAD_P): New parameter for result regno.
31049         (PSEUDO): Update to match; use cbz instead of beq.
31051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31052         Use ENTRY to define the _nocancel entry point.  Share the syscall
31053         and syscall error check paths with the cancel path.
31054         (PSEUDO_END): New.
31056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31057         whitespace; tabs before and after asm mnemonics.
31059 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31061         [BZ #15132]
31062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31063         Call fstat64 or stat64 internally, depending on arguments passed.
31064         Replace stat buffer argument with file descriptor argument.
31065         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31066         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31067         Pass fd to __internal_statvfs instead of calling fstat64.
31068         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31069         Pass fd to __internal_statvfs64 instead of calling fstat64.
31070         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31071         Pass -1 to __internal_statvfs instead of calling stat64.
31072         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31073         Pass -1 to __internal_statvfs64 instead of calling stat64.
31075 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31077         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31078         that was previously under [RESET_PID].
31079         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31081         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31082         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31084 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31086         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31088         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31089         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31091 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31093         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31095 2014-05-27  Andreas Schwab  <schwab@suse.de>
31097         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31098         TLS_INIT_TP macro.
31099         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31100         * elf/rtld.c (init_tls, dl_main): Likewise.
31101         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31102         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31103         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31104         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31105         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31106         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31107         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31108         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31109         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31110         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31111         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31112         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31113         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31114         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31115         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31116         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31117         * sysdeps/generic/tls.h: Update description.
31119 2014-05-27  Will Newton  <will.newton@linaro.org>
31121         [BZ #16990]
31122         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31123         and restore r2 rather than just restoring.
31125 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         [BZ #16724]
31128         * libio/tst-ftell-append.c: New test case.
31129         * libio/Makefile (tests): Add test case.
31130         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31131         append mode.
31132         * libio/wfileops.c (do_ftell_wide): Likewise.
31134 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31138         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31139         ...
31140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31142         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31143         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31144         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31145         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31146         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31149         Moved ...
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31152         Moved ...
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31154         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31155         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31156         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31157         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31158         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31159         ...
31160         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31161         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31164         here.
31165         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31166         ...
31167         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31168         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31169         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31171         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31172         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31173         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31174         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31177         merge into ...
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31180         ...
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31183         ...
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31186         Moved ...
31187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31188         here.
31189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31190         Moved ...
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31193         Moved ...
31194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31197         conditional [RESET_PID].
31198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31200         removed.
31201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31202         removed.
31204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31205         <tcb-offsets.h>.
31206         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31207         (__libc_vfork): New strong alias.
31208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31209         removed.
31210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31211         Removed.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31214         <tcb-offsets.h>.
31215         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31216         (__libc_vfork): New strong alias.
31217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31218         removed.
31219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31220         removed.
31222 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31224         * malloc/malloc.c (mi_arena): New function.
31225         (malloc_info): Remove nested function mi_arena. Call non-nosted
31226         function mi_arena.
31228 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31230         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31231         by insrwi.
31232         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31233         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31234         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31235         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31236         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31237         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31238         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31240 2014-05-26  Andreas Schwab  <schwab@suse.de>
31242         [BZ #16984]
31243         * locale/programs/repertoire.c (repertoire_read): Add slash
31244         between I18NPATH element and file name.
31245         * locale/programs/locfile.c (locfile_read): Likewise.
31247 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31249         * nptl/pthread_mutexattr_settype.c
31250         (__pthread_mutexattr_settype):
31251         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31253 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31255         * nptl/tst-mutex5 (do_test):
31256         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31258 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31260         * benchtests/README: Document 'init' directive.
31261         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31262         BENCH_INIT.
31263         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31264         (parse_file): Recognize 'init' directive.
31266 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31268         [BZ #16796]
31269         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31270         alignment of struct pthread.
31272 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31274         [BZ #16878]
31275         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31276         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31277         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31278         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31280 2014-05-25  Richard Henderson  <rth@twiddle.net>
31282         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31283         (SINGLE_THREAD_P_PIC): Remove.
31284         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31285         (SINGLE_THREAD_P_PIC): Remove.
31287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31288         branch to syscall error ...
31289         (PSEUDO): ... here.
31290         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31291         from __local_syscall_error to .Lsyscall_error.
31292         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31293         (SYSCALL_ERROR): Update label name.
31295         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31296         Do not use DOARGS/UNDOARGS.
31297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31298         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31299         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31300         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31301         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31304         block comment.
31306         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31307         define if !NOT_IN_libc.
31308         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31309         define with non-default symbol versions.
31311 2014-05-23  Richard Henderson  <rth@twiddle.net>
31313         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31314         (vfork, __vfork): Define via compat_symbol.
31316         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31317         [!HAVE_IFUNC] (vfork_compat): Remove.
31318         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31320 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31322         [BZ #16978]
31323         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31324         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31325         variable.
31327 2014-05-23  Richard Henderson  <rth@twiddle.net>
31329         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31330         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31331         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31332         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31334         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31335         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31336         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31337         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31338         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31339         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31340         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31341         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31342         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31343         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31344         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31345         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31346         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31347         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31348         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31349         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31350         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31351         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31352         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31353         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31354         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31355         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31356         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31357         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31358         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31359         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31360         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31361         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31362         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31363         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31364         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31365         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31366         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31367         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31368         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31369         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31370         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31371         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31373         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31374         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31375         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31376         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31377         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31378         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31379         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31381         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31382         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31383         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31385         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31387         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31389         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31391         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31392         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31393         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31394         before exiting on error.
31395         (__libc_vfork): New strong alias.
31396         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31397         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31399         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31400         that was previously under [RESET_PID].
31401         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31403         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31405 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31407         [BZ #16977]
31408         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31409         value when x - 1 is zero.
31410         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31411         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31412         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31413         0.0L for an argument of 1.0L.
31414         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31415         Likewise.
31416         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31417         value when x - 1 is zero.
31418         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31419         * sysdeps/i386/fpu/libm-test-ulps: Update.
31420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31422 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31424         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31425         alphasort and versionsort.
31427 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31429         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31430         macro.
31431         [copysignf]: Likewise.
31433 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31435         * crypt/md5-crypt.c: Fix formatting.
31437 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31439         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31440         (b64_from_24bit): New function.
31442 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31445         libc_hidden_builtin_def to ifunc.
31446         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31447         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31449 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31451         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31452         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31454 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31456         * nscd/Depend (linuxthreads): Remove.
31457         (nptl): Add.
31458         * resolv/Depend (linuxthreads): Remove.
31459         * rt/Depend (linuxthreads): Remove.
31461         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31462         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31463         $(common-objpfx)elf/.
31464         (link-libc-before-gnulib): Likewise.
31465         (elfobjdir): Remove variable.
31466         * Makefile (install): Use $(elf-objpfx) instead of
31467         $(common-objpfx)elf/.
31468         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31469         $(elfobjdir)/.
31470         (link-libc-deps): Likewise.
31471         ($(common-objpfx)libc.so): Likewise.
31472         ($(common-objpfx)linkobj/libc.so): Likewise.
31473         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31474         instead of $(common-objpfx)elf/.
31475         (symbolic-link-list): Likewise.
31476         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31477         [$(cross-compiling) = no]: Likewise.
31478         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31479         $(elfobjdir)/.
31480         (static-gnulib-arch): Likewise.
31481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31482         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31483         $(common-objpfx)elf/.
31485 2014-05-21  Richard Henderson  <rth@redhat.com>
31487         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31488         (SINGLE_THREAD_P): Use the correct width load.  Fold
31489         into the ldr offset.
31491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31492         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31494 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31496         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31497         (libgcc_s_resume): Use __attribute_used__.
31498         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31499         Likewise.
31501 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31503         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31504         optimization when used with float constants.
31506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31508 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31510         [BZ #16915]
31511         * locale/nl_langinfo_l.c: Make direct reference to every
31512         _nl_current_CATEGORY symbol.
31513         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31514         (tests-static): Add tst-langinfo-static.
31515         (tests-special): Add tst-langinfo-static.out.
31516         ($(objpfx)tst-langinfo.out): Redirect output.
31517         ($(objpfx)tst-langinfo-static.out): New.
31518         * localedata/tst-langinfo.sh: Send output to stdout.
31519         * localedata/tst-langinfo-static.c: New file.
31521         [BZ #16965]
31522         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31523         when the shift amount is modulo the limb size.
31525 2014-05-20  Richard Henderson  <rth@redhat.com>
31527         [BZ #16967]
31528         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31529         Change type of sa_flags from unsigned int to int.
31531         [BZ #16966]
31532         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31534         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31536 2014-05-20  Will Newton  <will.newton@linaro.org>
31538         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31539         Test the return value of the system call in the nocancel case.
31541 2014-05-20  Will Newton  <will.newton@linaro.org>
31542             Yvan Roux  <yvan.roux@linaro.org>
31544         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31545         #include of asm/ptrace.h.
31546         (PTRACE_GET_THREAD_AREA): Remove #undef.
31547         (PTRACE_GETHBPREGS): Likewise.
31548         (PTRACE_SETHBPREGS): Likewise.
31549         (struct user_regs_struct): New structure.
31550         (struct user_fpsimd_struct): New structure.
31551         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31552         #include of asm/ptrace.h and second #include of sys/user.h.
31553         (PTRACE_GET_THREAD_AREA): Remove #undef.
31554         (PTRACE_GETHBPREGS): Likewise.
31555         (PTRACE_SETHBPREGS): Likewise.
31556         (ELF_NGREG): Use new struct user_regs_struct.
31557         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31559 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31564 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31566         [BZ #16958]
31567         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31568         membar to avoid block loads/stores to overlap previous stores.
31570 2014-05-17  Richard Henderson  <rth@redhat.com>
31572         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31573         Create the __##syscall_name##_nocancel entry point.
31574         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31575         Remove; let the sysdep-cancel.h code create it.
31577 2014-05-17  David S. Miller  <davem@davemloft.net>
31579         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31580         Protect with __USE_GNU.
31581         (TIOCSET_TEMPT): Likewise.
31582         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31583         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31584         these are already provided in bits/ioctl-types.h
31586 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31588         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31589         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31591         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31592         Use wait4 regardless of [__NR_waitpid].
31594 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31596         PR libgcc/60166
31597         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31598         (_FP_NANSIGN_Q): Set the quiet bit.
31600 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31602         * benchtests/Makefile
31603         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31604         not $(common-objpfx)math/libm.so.
31605         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31606         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31607         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31608         $(common-objpfx)dlfcn/libdl.so.
31609         ($(objpfx)tst-audit8): Depend on $(libm), not
31610         $(common-objpfx)math/libm.so.
31611         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31612         not $(common-objpfx)dlfcn/libdl.so.
31613         * math/Makefile
31614         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31615         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31616         [$(build-shared) = yes].
31617         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31618         $(common-objpfx)nptl/libpthread.so.
31619         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31620         $(common-objpfx)math/libm.so$(libm.so-version) or
31621         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31622         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31623         $(common-objpfx)dlfcn/libdl.so.
31624         * setjmp/Makefile (link-libm): Remove variable.
31625         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31626         * stdio-common/Makefile (link-libm): Remove variable.
31627         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31628         * stdlib/Makefile (link-libm): Remove variable.
31629         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31630         ($(objpfx)tst-strtod-round): Likewise.
31631         ($(objpfx)tst-tininess): Likewise.
31632         ($(objpfx)tst-strtod-underflow): Likewise.
31633         ($(objpfx)tst-strtod6): Likewise.
31634         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31635         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31636         $(common-objpfx)dlfcn/libdl.so.
31638 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31640         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31641         BSD terminal modes definitions.
31643 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31645         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31646         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31648         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31649         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31650         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31651         Don't do #include_next.
31652         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31653         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31654         Don't do #include_next.
31655         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31656         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31657         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31658         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31660 2014-05-16  Allan McRae  <allan@archlinux.org>
31662         * po/sv.po: Update Swedish translation from translation project.
31664         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31665         in sed expression.
31667 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31669         [BZ #16917]
31670         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31671         errno if the TIOCGPTN ioctl fails with an error different than
31672         EINVAL.
31673         * login/tst-ptsname.c: New file.
31674         * login/Makefile (tests): Add tst-ptsname.
31676         [BZ #16943]
31677         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31678         and prlimit64.
31680 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31682         [BZ #16849]
31683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31684         herrno to return EAI_AGAIN.
31686 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31688         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31689         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31690         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31691         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31692         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31693         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31694         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31695         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31697         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31698         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31699         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31700         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31701         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31702         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31703         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31704         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31705         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31706         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31707         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31708         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31709         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31710         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31711         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31712         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31713         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31714         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31715         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31716         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31717         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31719         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31721         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31723         Moved ...
31724         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31728         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31730         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31736         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31738         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31748         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31752         Moved ...
31753         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31755         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31757         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31759         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31761         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31765         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31767         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31769         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31771         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31773         Moved ...
31774         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31779         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31780         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31781         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31782         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31783         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31784         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31785         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31786         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31787         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31788         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31789         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31790         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31791         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31792         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31793         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31794         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31795         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31796         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31797         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31798         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31799         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31800         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31801         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31802         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31803         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31804         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31805         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31806         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31807         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31808         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31810         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31811         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31813         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31814         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31815         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31816         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31817         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31819         Moved ...
31820         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31822         Moved ...
31823         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31825         Moved ...
31826         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31828         Moved ...
31829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31830         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31831         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31832         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31833         Moved ...
31834         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31835         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31836         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31838         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31839         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31840         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31841         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31842         Moved ...
31843         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31845         Moved ...
31846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31847         ... here.
31848         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31849         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31850         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31851         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31853         Moved ...
31854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31855         ... here.
31856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31857         Moved ...
31858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31859         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31860         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31861         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31862         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31864         Moved ...
31865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31867         Moved ...
31868         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31870         Moved ...
31871         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31873         Moved ...
31874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31875         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31876         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31877         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31878         Moved ...
31879         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31880         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31881         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31883         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31884         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31885         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31886         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31887         Moved ...
31888         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31890         Moved ...
31891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31892         ... here.
31893         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31894         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31896         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31898         Moved ...
31899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31900         ... here.
31901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31902         Moved ...
31903         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31904         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31905         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31906         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31907         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31908         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31909         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31911         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31913         Moved ...
31914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31916         Moved ...
31917         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31922         Moved ...
31923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31925         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31926         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31927         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31929         Moved ...
31930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31931         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31932         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31934         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31935         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31936         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31938         Moved ...
31939         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31941         Moved ...
31942         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31943         ... here.
31944         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31945         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31947         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31948         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31949         Moved ...
31950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31951         ... here.
31952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31955         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31956         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31957         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31958         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31959         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31960         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31962         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31964         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31966         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31967         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31969         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31970         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31972         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31973         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31974         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31975         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31976         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31977         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31978         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31979         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31980         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31981         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31983         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31984         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31985         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31986         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31988         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31995         Moved ...
31996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31998         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32000         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32004         Moved ...
32005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32007         Moved ...
32008         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32014         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32016         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32017         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32018         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32019         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32020         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32022         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32026         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32027         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32028         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32029         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32030         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32032         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32033         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32035         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32036         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32037         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32038         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32039         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32040         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32041         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32046         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32047         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32049         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32050         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32051         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32052         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32053         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32054         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32055         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32056         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32057         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32058         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32059         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32061         Update #include.
32062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32063         Likewise.
32064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32065         Likewise.
32066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32067         Likewise.
32068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32069         Likewise.
32070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32071         Likewise.
32072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32073         Likewise.
32074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32075         Likewise.
32076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32077         Likewise.
32078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32079         Likewise.
32080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32096         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32097         that was previously under [RESET_PID].
32098         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32099         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32100         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32102         * sysdeps/i386/nptl/Implies: New file.
32103         * sysdeps/x86_64/nptl/Implies: New file.
32104         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32105         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32106         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32107         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32109         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32110         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32111         (__libc_vfork): New strong alias.
32112         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32113         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32115         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32116         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32117         (__libc_vfork): New strong alias.
32118         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32119         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32121         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32122         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32123         (__libc_vfork): New strong alias.
32124         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32125         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32126         * nptl/pt-vfork.c: New file.
32127         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32128         (libpthread: GLIBC_2.20): New version set (empty).
32130 2014-05-14  Will Newton  <will.newton@linaro.org>
32132         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32133         rather than #if.
32135 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32137         [BZ #16564]
32138         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32139         arguments with exponent 65 or above.
32140         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32141         arguments 0x1p113L or above.
32142         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32143         to arguments 0x1p107L or above.
32144         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32145         positive arguments with exponent 65 or above.
32146         * math/auto-libm-test-in: Add more tests of log1p.
32147         * math/auto-libm-test-out: Regenerated.
32149         [BZ #16928]
32150         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32151         non-finite arguments is +0.
32152         * math/s_cacosf.c (__cacosf): Likewise.
32153         * math/s_cacosl.c (__cacosl): Likewise.
32154         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32155         * sysdeps/i386/fpu/libm-test-ulps: Update.
32156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32158         [BZ #16927]
32159         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32160         value.
32161         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32162         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32163         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32164         for explicit high bit of mantissa when testing for argument equal
32165         to 1.
32166         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32167         * sysdeps/i386/fpu/libm-test-ulps: Update.
32168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32170         [BZ #16516]
32171         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32172         (__erf): Scale by 16 instead of 8 in potentially underflowing
32173         case.  Ensure exception if result actually underflows.
32174         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32175         (__erff): Scale by 16 instead of 8 in potentially underflowing
32176         case.  Ensure exception if result actually underflows.
32177         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32178         (efx8): Remove variable.
32179         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32180         case.  Ensure exception if result actually underflows.
32181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32182         (efx8): Remove variable.
32183         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32184         case.  Ensure exception if result actually underflows.
32185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32186         (efx8): Remove variable.
32187         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32188         case.  Ensure exception if result actually underflows.
32189         * math/auto-libm-test-in: Add more tests of erf.
32190         * math/auto-libm-test-out: Regenerated.
32192 2014-05-14  Andreas Schwab  <schwab@suse.de>
32194         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32195         Remove code conditionalized on USE___THREAD.
32197         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32198         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32199         not definedness.
32201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32203         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32204         Define unconditionally.
32205         (__ASSUME_O_CLOEXEC): Likewise.
32206         (__ASSUME_SOCK_CLOEXEC): Likewise.
32207         (__ASSUME_IN_NONBLOCK): Likewise.
32208         (__ASSUME_PIPE2): Likewise.
32209         (__ASSUME_EVENTFD2): Likewise.
32210         (__ASSUME_SIGNALFD4): Likewise.
32211         (__ASSUME_DUP3): Likewise.
32212         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32213         (__ASSUME_DUP3): Do not define.
32214         (__ASSUME_EVENTFD2): Likewise.
32215         (__ASSUME_IN_NONBLOCK): Likewise.
32216         (__ASSUME_O_CLOEXEC): Likewise.
32217         (__ASSUME_PIPE2): Likewise.
32218         (__ASSUME_SIGNALFD4): Likewise.
32219         (__ASSUME_SOCK_CLOEXEC): Likewise.
32220         (__ASSUME_UTIMES): Undefine.
32221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32222         (__ASSUME_UTIMES): Do not define.
32223         (__ASSUME_O_CLOEXEC): Likewise.
32224         (__ASSUME_SOCK_CLOEXEC): Likewise.
32225         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32226         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32227         0x020621].
32228         (__ASSUME_PIPE2): Likewise.
32229         (__ASSUME_EVENTFD2): Likewise.
32230         (__ASSUME_SIGNALFD4): Likewise.
32231         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32232         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32233         Do not define.
32234         (__ASSUME_EVENTFD2): Likewise.
32235         (__ASSUME_SIGNALFD4): Likewise.
32236         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32237         (__ASSUME_32BITUIDS): Likewise.
32238         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32239         (__ASSUME_IPC64): Likewise.
32240         (__ASSUME_ST_INO_64_BIT): Likewise.
32241         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32242         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32243         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32244         (__ASSUME_UTIMES): Do not define.
32245         (__ASSUME_PSELECT): Likewise.
32246         (__ASSUME_PPOLL): Likewise.
32247         (__ASSUME_O_CLOEXEC): Likewise.
32248         (__ASSUME_SOCK_CLOEXEC): Likewise.
32249         (__ASSUME_IN_NONBLOCK): Likewise.
32250         (__ASSUME_PIPE2): Likewise.
32251         (__ASSUME_EVENTFD2): Likewise.
32252         (__ASSUME_SIGNALFD4): Likewise.
32253         (__ASSUME_DUP3): Likewise.
32254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32255         (__ASSUME_UTIMES): Likewise.
32256         (__ASSUME_O_CLOEXEC): Likewise.
32257         (__ASSUME_SOCK_CLOEXEC): Likewise.
32258         (__ASSUME_IN_NONBLOCK): Likewise.
32259         (__ASSUME_PIPE2): Likewise.
32260         (__ASSUME_EVENTFD2): Likewise.
32261         (__ASSUME_SIGNALFD4): Likewise.
32262         (__ASSUME_DUP3): Likewise.
32263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32264         (__ASSUME_UTIMES): Likewise.
32265         (__ASSUME_O_CLOEXEC): Likewise.
32266         (__ASSUME_SOCK_CLOEXEC): Likewise.
32267         (__ASSUME_IN_NONBLOCK): Likewise.
32268         (__ASSUME_PIPE2): Likewise.
32269         (__ASSUME_EVENTFD2): Likewise.
32270         (__ASSUME_SIGNALFD4): Likewise.
32271         (__ASSUME_DUP3): Likewise.
32272         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32273         Likewise.
32274         (__ASSUME_UTIMES): Likewise.
32275         (__ASSUME_EVENTFD2): Likewise.
32276         (__ASSUME_SIGNALFD4): Likewise.
32277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32278         (__ASSUME_O_CLOEXEC): Likewise.
32279         (__ASSUME_SOCK_CLOEXEC): Likewise.
32280         (__ASSUME_IN_NONBLOCK): Likewise.
32281         (__ASSUME_PIPE2): Likewise.
32282         (__ASSUME_EVENTFD2): Likewise.
32283         (__ASSUME_SIGNALFD4): Likewise.
32284         (__ASSUME_DUP3): Likewise.
32285         (__ASSUME_UTIMES): Undefine.
32287         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32288         feclearexcept.  Remove symbol versioning code.
32289         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32290         symbol versioning code.
32291         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32292         symbol versioning code.
32293         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32294         feupdateenv.  Remove symbol versioning code.
32295         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32296         fegetexceptflag.  Remove symbol versioning code.
32297         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32298         fesetexceptflag.  Remove symbol versioning code.
32299         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32300         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32301         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32302         (__posix_fadvise64_l32): Remove prototype.
32303         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32304         code.
32306 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32308         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32309         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32310         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32311         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32313 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32315         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32316         current working directory
32318 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32320         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32321         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32322         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32323         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32324         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32325         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32326         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32327         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32328         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32329         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32330         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32331         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32333         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32334         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32335         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32336         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32337         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32338         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32339         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32340         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32341         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32342         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32343         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32345         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32346         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32347         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32348         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32349         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32350         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32351         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32352         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32353         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32354         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32355         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32356         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32357         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32358         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32359         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32360         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32361         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32363         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32364         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32366         * sysdeps/unix/sysv/linux/arm/Makefile
32367         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32368         Add rt-aeabi_unwind_cpp_pr1.
32369         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32370         Add nptl-aeabi_unwind_cpp_pr1.
32371         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32372         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32373         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32374         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32375         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32376         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32378         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32379         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32380         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32381         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32383         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32384         Deconditionalize the code that was previously under [RESET_PID].
32385         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32387         * sysdeps/generic/exit-thread.h: New file.
32388         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32389         * include/unistd.h (__exit_thread): Remove declaration.
32390         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32391         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32392         * csu/libc-start.c: Include <exit-thread.h>.
32393         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32394         * nptl/pthread_create.c: Include <exit-thread.h>.
32395         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32396         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32397         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32398         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32399         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32400         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32401         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32402         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32403         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32404         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32405         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32406         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32407         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32408         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32409         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32410         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32411         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32413 2014-05-13  Andreas Schwab  <schwab@suse.de>
32415         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32417 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32419         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32420         (__ASSUME_UTIMES): Do not condition on kernel version.
32421         (__ASSUME_PSELECT): Define unconditionally.
32422         (__ASSUME_PPOLL): Likewise.
32423         (__ASSUME_ATFCTS): Likewise.
32424         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32425         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32426         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32427         (__ASSUME_UTIMENSAT): Define unconditionally.
32428         (__ASSUME_PRIVATE_FUTEX): Likewise.
32429         (__ASSUME_FALLOCATE): Likewise.
32430         (__ASSUME_O_CLOEXEC): Likewise.
32431         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32432         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32433         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32434         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32435         (__ASSUME_IN_NONBLOCK): Likewise.
32436         (__ASSUME_PIPE2): Likewise.
32437         (__ASSUME_EVENTFD2): Likewise.
32438         (__ASSUME_SIGNALFD4): Likewise.
32439         (__ASSUME_DUP3): Likewise.
32440         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32441         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32442         (__ASSUME_AT_RANDOM): Likewise.
32443         (__ASSUME_PREADV): Likewise.
32444         (__ASSUME_PWRITEV): Likewise.
32445         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32446         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32447         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32448         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32449         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32450         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32451         (__ASSUME_O_CLOEXEC): Define unconditionally.
32452         (__ASSUME_PSELECT): Do not undefine conditionally.
32453         (__ASSUME_PPOLL): Likewise.
32454         (__ASSUME_ATFCTS): Likewise.
32455         (__ASSUME_SET_ROBUST_LIST): Likewise.
32456         (__ASSUME_UTIMENSAT): Likewise.
32457         (__ASSUME_FDATASYNC): Define unconditionally.
32458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32459         (__ASSUME_SIGFRAME_V2): Likewise.
32460         )__ASSUME_EVENTFD2): Likewise.
32461         (__ASSUME_SIGNALFD4): Likewise.
32462         (__ASSUME_PSELECT): Do not undefine conditionally.
32463         (__ASSUME_PPOLL): Likewise.
32464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32465         (__ASSUME_PSELECT): Define unconditionally.
32466         (__ASSUME_PPOLL): Likewise.
32467         (__ASSUME_O_CLOEXEC): Likewise.
32468         (__ASSUME_SOCK_CLOEXEC): Likewise.
32469         (__ASSUME_IN_NONBLOCK): Likewise.
32470         (__ASSUME_PIPE2): Likewise.
32471         (__ASSUME_EVENTFD2): Likewise.
32472         (__ASSUME_SIGNALFD4): Likewise.
32473         (__ASSUME_DUP3): Likewise.
32474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32475         (__ASSUME_O_CLOEXEC): Likewise.
32476         (__ASSUME_SOCK_CLOEXEC): Likewise.
32477         (__ASSUME_IN_NONBLOCK): Likewise.
32478         (__ASSUME_PIPE2): Likewise.
32479         (__ASSUME_EVENTFD2): Likewise.
32480         (__ASSUME_SIGNALFD4): Likewise.
32481         (__ASSUME_DUP3): Likewise.
32482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32483         (__ASSUME_EVENTFD2): Likewise.
32484         (__ASSUME_SIGNALFD4): Likewise.
32485         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32487 2014-05-12  Andreas Schwab  <schwab@suse.de>
32489         [BZ #16932]
32490         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32491         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32492         than maximum RPC packet size.
32493         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32494         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32495         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32496         (_nss_nis_getservbyport_r): Likewise.
32498 2014-05-12  Will Newton  <will.newton@linaro.org>
32500         * malloc/Makefile (tests): Add tst-mallopt.
32501         * malloc/tst-mallopt.c: New file.
32503 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32505         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32506         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32508 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32510         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32511         (tst-tlsmod6.so): Likewise.
32513 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32515         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32517 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32519         [BZ #16064]
32520         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32521         and <dl-procinfo.h>.
32522         (__fegetenv): Save SSE state in envp->__eip if supported.
32523         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32524         envp->__eip if supported.
32525         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32526         and <dl-procinfo.h>.
32527         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32528         __data_offset and __data_selector in environment to 0.  Set SSE
32529         state if supported.
32530         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32531         test-fenv-sse.
32532         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32533         -mfpmath=sse.
32534         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32536 2014-05-09  Will Newton  <will.newton@linaro.org>
32538         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32539         and libc_relro_required for ARM.
32540         * sysdeps/arm/preconfigure: Regenerate.
32542 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32543             Stefan Liebler  <stli@linux.vnet.ibm.com>
32545         * config.make.in (enable-lock-elision): New Makefile variable.
32546         * configure.ac: Likewise.
32547         * configure: Regenerate.
32548         * sysdeps/s390/configure.ac:
32549         Add check for gcc transactions support.
32550         * sysdeps/s390/configure: Regenerate.
32551         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32552         Build elision files if enabled.
32553         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32554         Add lock elision support for s390.
32555         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32556         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32557         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32558         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32559         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32560         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32561         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32562         Likewise.
32563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32564         Likewise.
32565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32566         Likewise.
32567         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32568         Likewise.
32569         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32570         (__lll_timedlock_elision, __lll_lock_elision)
32571         (__lll_unlock_elision, __lll_trylock_elision)
32572         (lll_timedlock_elision, lll_lock_elision)
32573         (lll_unlock_elision, lll_trylock_elision): Add.
32574         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32575         (pthread_mutex_t): Add lock elision support for s390.
32577 2014-05-14  Wilco  <wdijkstr@arm.com>
32579         * sysdeps/arm/fclrexcpt.c: Cleanup.
32580         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32581         * sysdeps/arm/feenablxcpt.c: Cleanup.
32582         * sysdeps/arm/fegetenv.c: Cleanup.
32583         * sysdeps/arm/fegetexcept.c: Cleanup.
32584         * sysdeps/arm/fegetround.c: Cleanup.
32585         * sysdeps/arm/feholdexcpt.c: Cleanup.
32586         * sysdeps/arm/fesetenv.c: Cleanup.
32587         * sysdeps/arm/fesetround.c: Cleanup.
32588         * sysdeps/arm/feupdateenv.c: Cleanup.
32589         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32590         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32591         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32592         * sysdeps/arm/ftestexcept.c: Cleanup.
32593         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32594         * sysdeps/arm/setfpucw.c: Cleanup.
32596 2014-05-09  Will Newton  <will.newton@linaro.org>
32598         * sysdeps/arm/armv7/strcmp.S: New file.
32599         * NEWS: Mention addition of ARMv7 optimized strcmp.
32601 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32603         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32604         look for %.ac rather than %.in.
32606         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32607         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32608         * sysdeps/mach/hurd/configure: Regenerated.
32609         * sysdeps/unix/sysv/linux/configure: Regenerated.
32611         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32613 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32615         [BZ# 16922]
32616         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32617         (LONG_SUB): Ditto.
32618         (PTR_SUB): Ditto.
32620 2014-05-07  Andreas Schwab  <schwab@suse.de>
32622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32623         when skipping over non-matching result from nscd.
32625 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32627         [BZ #16876]
32628         * nptl/sockperf.c (client): Check socket return value.
32630         [BZ #16877]
32631         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32632         nscd security class.
32634 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32636         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32637         * sysdeps/arm/unwind.h: ... here.
32639 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32641         [BZ# 16916]
32642         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32643         Define.
32645 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32647         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32648         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32649         multiarch strncpy for PPC64.
32650         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32653         multiarch optimizations.
32654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32655         (__libc_ifunc_impl_list): Likewise.
32656         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32658         multiarch stpncpy for PPC64.
32659         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32660         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32662 2014-05-06  Andreas Schwab  <schwab@suse.de>
32664         [BZ #16912]
32665         * gmon/mcount.c (_MCOUNT_DECL): Use
32666         atomic_compare_and_exchange_bool_acq instead of
32667         catomic_compare_and_exchange_bool_acq.
32669 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32671         * elf/Makefile (others, install-bin): Remove pldd.
32672         (pldd-modules): Variable removed.
32673         ($(objpfx)pldd): Target removed.
32674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32675         (others, install-bin): Append pldd here.
32676         ($(objpfx)pldd): New target.
32678         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32679         to 0, so the first #if test emitted later doesn't see it undefined.
32680         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32681         * sysdeps/gnu/errlist.c: Regenerated.
32683 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32686         [libc_hidden_builtin_def]: Define to empty value.
32687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32688         [libc_hidden_builtin_def]: Likewise.
32689         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32690         [libc_hidden_builtin_def]: Likewise.
32691         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32692         [libc_hidden_builtin_def]: Likewise.
32693         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32694         __redirect_memcpy and define ifunc as default hidden symbol.
32695         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32696         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32698 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32700         * locale/iso-4217.def: Reintroduce XDR currency.
32702 2014-05-04  Allan McRae  <allan@archlinux.org>
32704         * po/eo.po: Update Esperanto translation from translation project.
32706 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32708         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32709         and FEATURE_INDEX_MAX to 1.
32710         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32712 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32714         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32715         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32716         * iconvdata/big5.c (ONE_DIRECTION): Define.
32717         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32718         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32719         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32720         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32721         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32722         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32723         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32724         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32725         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32726         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32727         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32728         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32729         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32730         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32731         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32732         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32733         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32734         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32735         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32736         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32737         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32738         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32739         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32740         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32741         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32742         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32743         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32744         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32745         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32746         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32747         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32748         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32749         * iconvdata/johab.c (ONE_DIRECTION): Define.
32750         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32751         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32752         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32753         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32754         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32755         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32756         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32757         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32758         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32759         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32761 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32763         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32764         (_IO_JUMPS_OFFSET): Define to 0.
32766         * nptl/sysdeps/pthread/bits/libc-lock.h
32767         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32768         (__libc_lock_define_initialized_recursive): Always define using
32769         initializer.  Modern compilers treat uninitialized (implicit zero) and
32770         explicit zero initializers the same (i.e. put the datum in bss).
32772 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32774         * nscd/nscd-client.h: Include <string.h>.
32776 2014-05-01  David S. Miller  <davem@davemloft.net>
32778         [BZ #16885]
32779         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32780         multiple zero bytes exist at the end of a string.
32781         Reported by Aurelien Jarno <aurelien@aurel32.net>
32783         * string/test-strcmp.c (check): Add explicit test for situations where
32784         there are multiple zero bytes after the first.
32786 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32788         [BZ #16890]
32789         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32790         when compiling wprintf.
32791         * stdio-common/tstdiomisc.c (t3): New function.
32792         (main): Call it.
32794 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32796         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32797         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32798         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32799         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32801 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32803         * stdlib/longlong.h: Updated from GCC.
32805 2014-05-01  Will Newton  <will.newton@linaro.org>
32806             Bernard Ogden  <bernie.ogden@linaro.org>
32808         * NEWS: Update fixed bug list.
32810         [BZ #15119]
32811         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32813 2014-04-30  David S. Miller  <davem@davemloft.net>
32815         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32816         (libc_feholdexcept_setround_sparc_ctx): New function.
32817         (libc_fesetenv_sparc_ctx): Likewise.
32818         (libc_feupdateenv_sparc_ctx): Likewise.
32819         (libc_feholdsetround_sparc_ctx): Likewise.
32820         (libc_feholdexcept_setround_ctx): Define.
32821         (libc_feholdexcept_setroundf_ctx): Likewise.
32822         (libc_feholdexcept_setroundl_ctx): Likewise.
32823         (libc_fesetenv_ctx): Likewise.
32824         (libc_fesetenvf_ctx): Likewise.
32825         (libc_fesetenvl_ctx): Likewise.
32826         (libc_feupdateenv_ctx): Likewise.
32827         (libc_feupdateenvf_ctx): Likewise.
32828         (libc_feupdateenvl_ctx): Likewise.
32829         (libc_feresetround_ctx): Likewise.
32830         (libc_feresetroundf_ctx): Likewise.
32831         (libc_feresetroundl_ctx): Likewise.
32832         (libc_feholdsetround_ctx): Likewise.
32833         (libc_feholdsetroundf_ctx): Likewise.
32834         (libc_feholdsetroundl_ctx): Likewise.
32836         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32837         with __USE_GNU instead of XOPEN cpp guards.
32839         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32840         0.
32842         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32843         with XOPEN cpp guards.
32845 2014-04-30  Julian Brown  <julian@codesourcery.com>
32847         [BZ #16888]
32848         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32849         handling.
32851 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32853         [BZ #9894]
32854         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32855         Change to 2.6.32.
32856         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32857         * sysdeps/unix/sysv/linux/configure: Regenerated.
32858         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32859         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32860         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32861         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32862         * README: Update reference to required Linux kernel version.
32863         * manual/install.texi (Linux): Update reference to required Linux
32864         kernel headers version.
32865         * INSTALL: Regenerated.
32867         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32868         header inclusion.
32869         [POSIX] (limits.h): Likewise.
32870         [POSIX] (math.h): Likewise.
32871         [POSIX] (sys/wait.h): Likewise.
32872         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32873         function.
32874         [POSIX] (stddef.h): Do not allow header inclusion.
32876 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32878         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32880 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32882         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32883         Return immediately after lll_futex_wake.
32885 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32887         [BZ #16791]
32888         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32889         structure.
32890         (datahead_init_pos): Call datahead_init_common early.
32891         (datahead_init_neg): Likewise.
32893         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32894         datahead_init_neg): New functions.
32895         * nscd/aicache.c (addhstaiX): Use them.
32896         * nscd/grpcache.c (cache_addgr): Likewise.
32897         * nscd/hstcache.c (cache_addhst): Likewise.
32898         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32899         * nscd/netgroupcache.c (do_notfound): Likewise.
32900         (addgetnetgrentX): Likewise.
32901         (addinnetgrX): Likewise.
32902         * nscd/pwdcache.c (cache_addpw): Likewise.
32903         * nscd/servicescache.c (cache_addserv): Likewise.
32905 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32906             Atsushi Onoe  <atsushi@onoe.org>
32908         [BZ #14308]
32909         [BZ #12994]
32910         [BZ #13651]
32911         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32912         one response is valid.
32913         * resolv/res_send.c (send_dg): Check for validity of other
32914         response if the current response is a referral.
32916 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32918         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32920 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32922         [BZ #16823]
32923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32924         Always divide by positive zero when computing -Inf result.
32925         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32926         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32928 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32930         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32931         FPSCR if value do not change.
32932         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32933         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32934         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32935         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32936         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32937         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32938         function.
32940 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32942         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32943         * sysdeps/unix/sysv/linux/hppa: Move directory from
32944         ports/systeps/unix/sysv/linux/hppa.
32945         * README: Update listing for hppa-*-linux-gnu.
32947 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32949         [BZ #16754]
32950         * manual/stdio.texi (Hook functions): Fix types of stream hook
32951         functions.
32952         [BZ #16854]
32953         * socket/sys/socket.h: Fix typo in comment.
32955 2014-04-28  Wilco  <wdijkstr@arm.com>
32957         * sysdeps/arm/fenv_private.h: New file.
32958         * sysdeps/arm/math_private.h: New file.
32959         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32961 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32963         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32964         with __int128_t.
32965         (La_x86_64_retval): Likewise.
32967 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32969         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32970         fpsr if value didn't change.
32971         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32972         to fpcr if value didn't change.
32973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32974         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32975         fpsr or fpcr if value didn't change.
32976         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32977         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32978         fpcr if value didn't change.
32979         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32980         to fpsr if value didn't change.
32982 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32984         * nptl/tst-sem3.c: Use test-skeleton.c
32985         (main): Rename to do_test.  Use return instead of
32986         exit.
32987         * nptl/tst-sem4.c: Use test-skeleton.c
32988         (main): Rename to do_test.
32990 2014-04-22  David S. Miller  <davem@davemloft.net>
32992         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32993         (struct sigaction): New struct member __glibc_reserved0, change
32994         type of sa_flags to int.
32996 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32998         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32999         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33001 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33003         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33004         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33006 2014-04-22  Will Newton  <will.newton@linaro.org>
33007             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33009         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33010         (__longjmp): Add longjmp and longjmp_target SystemTap
33011         probes.
33012         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33013         (__sigsetjmp): Add setjmp SystemTap probe.
33015 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33017         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33018         match manual order.
33020 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33022         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33024         * sysdeps/powerpc/fpu/fenv_private.h
33025         (libc_feholdexcept_setroundl_ctx): Define to
33026         libc_feholdexcept_setround_ppc_ctx.
33027         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33028         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33029         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33030         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33032 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33034         * sysdeps/aarch64/math-tests.h: New file.
33036 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33038         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33039         New.
33040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33041         Check and set bit_AVX2_Usable.
33042         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33043         macro.
33044         (bit_AVX2): Likewise.
33045         (index_AVX2_Usable): Likewise.
33046         (CPUID_AVX2): Likewise.
33047         (HAS_AVX2): Likewise.
33049 2014-04-17  Will Newton  <will.newton@linaro.org>
33051         * manual/setjmp.texi (System V contexts): Add note that
33052         calling setcontext on a context created by a call to a
33053         signal handler is undefined.  Update text to note that
33054         setcontext from a signal handler is possible but not
33055         recommended.
33057         [BZ #16629]
33058         * stdlib/tst-setcontext.c: Include signal.h.
33059         (main): Check that the signal stack before and
33060         after swapcontext is the same.
33062         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33063         Re-implement to restore registers in user code and avoid
33064         rt_sigreturn system call.
33066 2014-04-17  Wilco  <wdijkstr@arm.com>
33068         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33069         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33070         * math/test-fenv.c: Skip exception trap tests on targets which only
33071         support non-stop mode.
33073 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33074             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33076         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33077         (libc_feholdsetround_aarch64_ctx)
33078         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33079         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33080         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33081         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33082         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33083         (libc_feresetround_noexl_ctx): Define.
33085 2014-04-16  Richard Henderson  <rth@redhat.com>
33087         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33089         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33090         unwind tables.
33092         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33093         const from the non-libc, non-ldso copy.
33095         * sysdeps/alpha/libm-test-ulps: Regenerate.
33097 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33098             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33100         * sysdeps/aarch64/fpu/math_private.h: New file.
33102 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33104         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33106 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33108         [BZ #16275]
33109         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33110         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33112         Intel MPX bound registers before _dl_profile_fixup.
33113         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33114         registers after _dl_profile_fixup.  Save and restore bound
33115         registers bnd0/bnd1 when calling _dl_call_pltexit.
33116         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33117         (LR_BND_OFFSET): Likewise.
33118         (LRV_BND0_OFFSET): Likewise.
33119         (LRV_BND1_OFFSET): Likewise.
33121 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33123         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33124         to...
33125         * sysdeps/mach/hurd/i386/tls.h: ... here.
33126         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33127         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33128         fields.
33130 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33132         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33134 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33138 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33140         [BZ #14770]
33141         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33142         * sysdeps/s390/configure: Regenerate.
33144         [BZ #16824]
33145         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33146         Set round-to-nearest internally to reduce error accumulation.
33148 2014-04-16  Alan Modra  <amodra@gmail.com>
33150         [BZ #16740]
33151         [BZ #16619]
33152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33153         * math/libm-test.inc (frexp_test_data): Add tests.
33154         * NEWS: Update fixed bug list.
33156 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33158         * benchtests/Makefile: Depend on libraries in build directory.
33159         (bench-math): Separate out math tests.
33160         (bench-pthread): Separate out pthread tests.
33161         (bench): Include math and pthread tests.
33163 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33165         [BZ #16831]
33166         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33167         _dl_debug_initialize.
33169         * configure.ac: Remove SELinux header check.
33170         * configure: Regenerate.
33171         * nscd/selinux.c (perms): Array of const char* to permission names.
33172         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33173         default policy. Call string_to_security_class and string_to_av_perm to
33174         translate strings. Enforce default policy and call avs_has_perm with
33175         results of translated strings.
33177 2014-04-13  David S. Miller  <davem@davemloft.net>
33179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33181 2014-04-12  Allan McRae  <allan@archlinux.org>
33183         [BZ #16838]
33184         * manual/string.texi (Collation Functions): Fix qsort argument
33185         order in example.
33186         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33188 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33190         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33191         Make the test a no-op if there are no exceptions defined.
33193 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33195         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33196         enable-hardcoded-path-in-tests
33198 2014-04-11  Will Newton  <will.newton@linaro.org>
33200         * benchtests/Makefile (extra-objs): Add json-lib.o.
33201         (bench-func): Tidy up JSON output.
33202         * benchtests/bench-skeleton.c: Include json-lib.h.
33203         (main): Use JSON library functions to do output of
33204         benchmark results.
33205         * benchtests/bench-timing-type.c (main): Output the
33206         timing type simply, leaving formatting to the user.
33207         * benchtests/json-lib.c: New file.
33208         * benchtests/json-lib.h: Likewise.
33210 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33212         [BZ #15215]
33213         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33214         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33215         memory barriers.  Add comments.
33216         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33217         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33218         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33219         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33220         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33221         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33223 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33225         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33226         * sysdeps/s390/s390-64/configure.ac: ... this ...
33227         * sysdeps/s390/configure.ac: ... to here.
33228         * sysdeps/s390/s390-32/configure: Delete file.
33229         * sysdeps/s390/s390-64/configure: Delete file.
33230         * sysdeps/s390/configure: Regenerate.
33232 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33234         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33236 2014-04-11  Will Newton  <will.newton@linaro.org>
33238         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33239         to zero if it is not defined elsewhere.  (mtrim): Test
33240         the value of MALLOC_DEBUG with #if rather than #ifdef.
33242 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33244         * benchtests/pthread_once-inputs: New file.
33245         * benchtests/pthread_once-source.c: New file.
33246         * benchtests/README: Update documentation.
33248 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33249             H.J. Lu  <hongjiu.lu@intel.com>
33251         [BZ #16275]
33252         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33253         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33254         * sysdeps/x86_64/configure: Regenerated.
33255         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33256         macro.
33257         (REGISTER_SAVE_RAX): Likewise.
33258         (REGISTER_SAVE_RCX): Likewise.
33259         (REGISTER_SAVE_RDX): Likewise.
33260         (REGISTER_SAVE_RSI): Likewise.
33261         (REGISTER_SAVE_RDI): Likewise.
33262         (REGISTER_SAVE_R8): Likewise.
33263         (REGISTER_SAVE_R9): Likewise.
33264         (REGISTER_SAVE_BND0): Likewise.
33265         (REGISTER_SAVE_BND1): Likewise.
33266         (REGISTER_SAVE_BND2): Likewise.
33267         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33268         bound registers when calling _dl_fixup.
33270 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33272         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33273         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33274         of its definition.
33275         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33276         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33277         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33278         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33279         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33280         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33281         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33283 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33285         [BZ #15514]
33286         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33287         pathconf(_PC_NAME_MAX).
33289 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33291         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33292         Remove macro usage.
33293         (__PTHREAD_SPINS): Move definition to ...
33294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33295         (__PTHREAD_SPINS): ... here.
33296         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33297         (__PTHREAD_SPIN): Likewise.
33298         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33299         (__PTHREAD_SPIN): Likewise.
33300         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33301         (__PTHREAD_SPIN): Likewise.
33302         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33303         (__PTHREAD_SPIN): Likewise.
33304         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33305         (__PTHREAD_SPIN): Likewise.
33306         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33307         (__PTHREAD_SPIN): Likewise.
33308         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33309         (__PTHREAD_SPIN): Likewise.
33310         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33311         (__PTHREAD_SPIN): Likewise.
33312         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33313         (__PTHREAD_SPIN): Likewise.
33314         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33315         (__PTHREAD_SPIN): Likewise.
33316         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33317         (__PTHREAD_SPIN): Likewise.
33318         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33319         (__PTHREAD_SPIN): Likewise.
33321         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33322         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33323         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33324         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33325         imply folder.
33326         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33327         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33328         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33329         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33330         correct imply path.
33331         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33332         strlen symbol for non multi-arch builds.
33333         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33334         missing hidden_def and weak_alias.
33336 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33338         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33340 2014-04-07  Will Newton  <will.newton@linaro.org>
33342         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33343         and contents.  [!_LIBC] Remove #ifndef and contents.
33344         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33345         * string/memccpy.c (__memccpy): Use ANSI prototype.
33346         * string/memfrob.c (memfrob): Likewise.
33347         * string/strcoll.c (STRCOLL): Likewise.
33348         * string/strlen.c (strlen): Likewise.
33349         * string/strtok.c (STRTOK): Likewise.
33350         * string/strcat.c: Remove unused #include of memcopy.h.
33351         (strcat): Use ANSI prototype.
33352         * string/strchr.c: Remove unused #include of memcopy.h.
33353         (strchr): Use ANSI prototype.
33354         * string/strcmp.c: Remove unused #include of memcopy.h.
33355         (strcmp): Use ANSI prototype.
33356         * string/strcpy.c: Remove unused #include of memcopy.h.
33357         (strcpy): Use ANSI prototype.
33359 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33361         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33362         * config.make.in (config-extra-cppflags): Set it from
33363         libc_extra_cppflags.
33364         * configure.ac (libc_extra_cflags): Make it accumulate over
33365         configure fragments.
33366         (libc_extra_cppflags): New flag.
33367         * configure. Regenerate.
33368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33369         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33370         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33373         [BZ #16815]
33374         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33375         result for FE_DOWNWARD rounding mode.
33376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33377         Likewise.
33378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33380 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33382         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33383         in function argument name.
33385 2014-04-03  David Svoboda  <svoboda@cert.org>
33387         [BZ #5666]
33388         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33389         explicitly.
33391 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33393         * elf/dl-unmap-segments.h: New file.
33394         * sysdeps/generic/ldsodefs.h
33395         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33396         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33397         * elf/dl-fptr.c: Likewise.
33398         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33399         * sysdeps/aarch64/tlsdesc.c: Likewise.
33400         * sysdeps/arm/tlsdesc.c: Likewise.
33401         * sysdeps/i386/tlsdesc.c: Likewise.
33402         * sysdeps/tile/dl-runtime.c: Likewise.
33403         * sysdeps/x86_64/tlsdesc.c: Likewise.
33404         * elf/dl-load.h: New file.
33405         * elf/dl-load.c: Include it.
33406         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33407         Macros moved to dl-load.h.
33408         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33409         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33410         Use _dl_unmap_segments in place of __munmap.
33411         Break out segment-mapping loop into ...
33412         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33414 2014-04-03  Will Newton  <will.newton@linaro.org>
33416         * elf/dl-lookup.c (do_lookup_x): Remove comment
33417         referring to nested function and move variable
33418         declarations down to before first use.
33420 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #16799]
33423         [BZ #16800]
33424         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33425         with 0 numerator.
33426         * math/s_catanf.c (__catanf): Likewise.
33427         * math/s_catanh.c (__catanh): Likewise.
33428         * math/s_catanhf.c (__catanhf): Likewise.
33429         * math/s_catanhl.c (__catanhl): Likewise.
33430         * math/s_catanl.c (__catanl): Likewise.
33431         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33432         by positive zero when computing -Inf result.
33433         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33434         (catanh_test): Likewise.
33435         * sysdeps/i386/fpu/libm-test-ulps: Update.
33436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33438         [BZ #16789]
33439         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33440         instead of using underflowing value in computing result.
33441         * math/s_clog10.c (__clog10): Likewise.
33442         * math/s_clog10f.c (__clog10f): Likewise.
33443         * math/s_clog10l.c (__clog10l): Likewise.
33444         * math/s_clogf.c (__clogf): Likewise.
33445         * math/s_clogl.c (__clogl): Likewise.
33446         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33447         (clog10_test): Likewise.
33448         * sysdeps/i386/fpu/libm-test-ulps: Update.
33449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33451 2014-04-02  Alan Modra  <amodra@gmail.com>
33453         [BZ #16739]
33454         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33455         output when value is near a power of two.  Use int64_t for lx and
33456         remove casts.  Use decimal rather than hex exponent constants.
33457         Don't use long double multiplication when double will suffice.
33458         * math/libm-test.inc (nextafter_test_data): Add tests.
33459         * NEWS: Add 16739 and 16786 to bug list.
33461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33463         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33465 2014-04-01  Will Newton  <will.newton@linaro.org>
33467         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33468         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33470 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33472         [BZ #13347]
33473         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33474         * nptl/tst-setuid2.c: New file.
33475         * nptl/Makefile (xtests): Add tst-setuid2.
33477 2014-04-01  Alan Modra  <amodra@gmail.com>
33479         [BZ #16786]
33480         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33482 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33484         [BZ #6803]
33485         [BZ #6804]
33486         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33487         set errno as appropriate.
33488         * math/w_scalbf.c (__scalbf): Likewise.
33489         * math/w_scalbl.c (__scalbl): Likewise.
33490         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33491         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33492         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33493         Add more NaN tests.
33495         [BZ #16349]
33496         * math/w_atan2.c: Include <errno.h>.
33497         (__atan2): Set errno for result underflowing to zero.
33498         * math/w_atan2f.c: Include <errno.h>.
33499         (__atan2f): Set errno for result underflowing to zero.
33500         * math/w_atan2l.c: Include <errno.h>.
33501         (__atan2l): Set errno for result underflowing to zero.
33502         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33503         tests.
33504         * math/auto-libm-test-out: Regenerated.
33506 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33508         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33509         Encode instruction correctly in little endian.
33510         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33511         Likewise.
33512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33513         Likewise.
33514         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33515         Likewise.
33516         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33517         Likewise.
33519 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33521         [BZ #9894]
33522         * sysdeps/unix/sysv/linux/kernel-features.h
33523         [__sparc__ && !__arch64__ && !__sparc_v9__]
33524         (__ASSUME_SET_ROBUST_LIST): Do not define.
33525         [__sparc__ && !__arch64__ && !__sparc_v9__]
33526         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33527         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33528         Likewise.
33529         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33530         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33531         (__ASSUME_REQUEUE_PI): Likewise.
33532         (__ASSUME_SET_ROBUST_LIST): Likewise.
33533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33534         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33535         Undefine.
33536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33538         Likewise.
33539         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33540         Likewise.
33541         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33542         Likewise.
33543         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33544         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33545         Undefine.
33546         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33547         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33548         Likewise.
33550         [BZ #16648]
33551         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33552         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33553         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33555 2014-03-31  Will Newton  <will.newton@linaro.org>
33557         * benchtests/Makefile (bench): Add ffs and ffsll to list
33558         of tests.
33559         * benchtests/ffs-inputs: New file.
33560         * benchtests/ffsll-inputs: Likewise.
33562 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33564         [BZ #16770]
33565         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33566         too large before casting to int.
33567         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33568         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33569         * math/libm-test.inc (scalb_test_data): Add more tests.
33571 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33573         * benchtests/Makefile (DETAILED_OPT): New make option.
33574         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33575         set.
33576         * benchtests/bench-skeleton.c: Include stdbool.h.
33577         (main): Store and print timings per input.
33578         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33579         member to each argument value.
33580         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33581         (_print_arg_data): Initialize per-input timing to 0.
33583         * benchtests/Makefile (timing-type): New binary.
33584         (bench-clean): Also remove bench-timing-type.
33585         (bench): New target for timing-type.
33586         (bench-func): Print output in JSON format.
33587         * benchtests/bench-skeleton.c (main): Print output in JSON
33588         format.
33589         * benchtests/bench-timing-type.c: New file.
33590         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33591         (TIMING_PRINT_STATS): Remove.
33592         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33593         name separately.
33595         * benchtests/bench-modf.c: Remove.
33596         * benchtests/modf-inputs: New inputs file.
33598 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33600         [BZ #16362]
33601         * math/s_clog10.c (M_PI_LOG10E): New macro.
33602         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33603         imaginary parts are 0.
33604         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33605         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33606         imaginary parts are 0.
33607         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33608         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33609         imaginary parts are 0.
33610         * math/libm-test.inc (clog10_test_data): Update expected results
33611         for when real and imaginary parts are 0.
33613 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33615         * elf/dl-load.c: Finish conversion of __builtin_expect into
33616         __glibc_{un}likely.
33618 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33620         [BZ #16348]
33621         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33622         1+x for argument with exponent below -67.
33623         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33624         Likewise.
33625         * math/auto-libm-test-in: Add more tests of exp.
33626         * math/auto-libm-test-out: Regenerated.
33628 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33630         [BZ #16759]
33631         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33632         (nscd_getnetgrent): Use it.
33634         [BZ #16760]
33635         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33636         of stpcpy.
33638 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33640         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33641         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33642         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33643         (lll_robust_unlock): Remove out of line section. Use cfi
33644         intrinsics.
33645         (LLL_STUB_UNWIND_INFO*): Remove.
33646         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33647         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33648         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33649         (lll_robust_unlock): Remove out of line section. Use cfi
33650         intrinsics.
33651         (LLL_STUB_UNWIND_INFO*): Remove.
33653 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33655         [BZ #16758]
33656         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33657         blank values.
33659 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33661         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33663 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33665         [BZ #16198]
33666         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33667         fnstenv.
33668         * math/test-fenv-preserve.c: New file.
33669         * math/Makefile (tests): Add test-fenv-preserve.
33671 2014-03-26  Will Newton <will.newton@linaro.org>
33673         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33675 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33677         * scripts/versionlist.awk: Partition the version sets and emit all
33678         GLIBC_* (sorted) before all others (sorted).
33680 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33682         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33683         GLIBC_2.2.5 version.
33685 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33687         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33688         calls.
33690         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33691         previous change.
33693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33695 2014-03-25  Andreas Schwab  <schwab@suse.de>
33697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33698         label to be used after in6ailist is initialized.
33700 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33702         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33703         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33705 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33707         [BZ #16357]
33708         [BZ #16599]
33709         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33710         min_plus_half.
33711         (fp_formats): Update initializers.
33712         (init_fp_formats): Initialize new field.
33713         (output_for_one_input_case): Allow underflow for results up to
33714         min_plus_half.
33715         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33716         * math/auto-libm-test-in: Don't mark some underflows from asin and
33717         atanh as spurious.
33718         * math/auto-libm-test-out: Regenerated.
33719         * sysdeps/i386/fpu/libm-test-ulps: Update.
33720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722 2014-03-25  Andreas Schwab  <schwab@suse.de>
33724         * libio/Makefile (tst-ftell-partial-wide-ENV)
33725         (tst-ftell-active-handler-ENV): Define.
33727 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33729         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33731 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33733         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33735 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33737         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33738         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33739         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33741 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33743         [BZ #16634]
33744         * elf/dl-load.c (open_verify): Add mode parameter.
33745         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33746         (open_path): Change from boolean 'secure' to complete flag 'mode'
33747         (_dl_map_object): Adjust.
33748         * elf/Makefile (tests): Add tst-dlopen-aout.
33749         * elf/tst-dlopen-aout.c: New test.
33751 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33753         [BZ #16714]
33754         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33755         (struct stat): Rename member pad0 to __glibc_reserved0.
33757         [BZ #16712]
33758         * sysdeps/s390/s390-32/bits/wordsize.h
33759         (__WORDSIZE32_SIZE_ULONG): New define.
33760         * sysdeps/s390/s390-64/bits/wordsize.h
33761         (__WORDSIZE32_SIZE_ULONG): Likewise.
33762         * sysdeps/generic/stdint.h (SIZE_MAX):
33763         Define as UL if __WORDSIZE32_SIZE_ULONG.
33765         [BZ #16713]
33766         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33767         (__glibc_reserved0): New variable.
33768         (sa_flags): Change type to int.
33770         * posix/Makefile (before-compile): Use += before-compile instead
33771         of a :=.
33773         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33774         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33776 2014-03-20  Andreas Schwab  <schwab@suse.de>
33778         [BZ #16743]
33779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33780         non-matching result from nscd.
33782 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33784         * scripts/bench.py: Moved to ...
33785         * benchtests/scripts/bench.py: ... here.
33786         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33788 2014-03-24  Andreas Schwab  <schwab@suse.de>
33790         [BZ #16002]
33791         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33792         alloca_account and account alloca use for struct in6ailist.
33794 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33796         [BZ #16284]
33797         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33798         rounding mode to recompute results that overflow to infinity or
33799         underflow to zero.
33800         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33801         bug 16284.
33802         * math/auto-libm-test-out: Regenerated.
33803         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33804         (ccosh_test): Likewise.
33805         (csin_test_data): Use plus_oflow.
33806         (csin_test): Use ALL_RM_TEST.
33807         (csinh_test_data): Use plus_oflow.
33808         (csinh_test): Use ALL_RM_TEST.
33809         * sysdeps/i386/fpu/libm-test-ulps: Update.
33810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33812 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33814         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33815         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33816         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33818         [BZ #16731]
33819         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33820         when x - 1 is zero.
33821         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33822         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33823         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33825         argument is 1.
33826         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33827         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33828         zero.
33829         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33830         * sysdeps/i386/fpu/libm-test-ulps: Update.
33831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33833 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33835         * scripts/bench.pl: Remove file.
33836         * scripts/bench.py: New benchmark script.
33837         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33838         * benchtests/README: Mention python dependency.
33839         * scripts/pylintrc: New file.
33840         * scripts/pylint: New file.
33842         * bits/mathdef.h: Use #ifdef instead of #if.
33843         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33844         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33845         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33846         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33847         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33848         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33850 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33851             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33853         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33855         and strpbrk-ppc64 objects.
33856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33857         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33858         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33859         multiarch strpbrk for POWER7.
33860         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33861         multiarch strpbrk for PPC64.
33862         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33863         ifunc selector.
33864         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33865         strpbrk for POWER7.
33867 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33869         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33870         (atan_test): Likewise.
33871         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33872         (atanh_test): Use ALL_RM_TEST.
33873         (atan2_test_data): Likewise.
33874         (cabs_test): Likewise.
33875         (cacosh_test): Likewise.
33876         (carg_test): Likewise.
33877         (casin_test): Likewise.
33878         (casinh_test): Likewise.
33879         (cbrt_test): Likewise.
33880         (csqrt_test): Likewise.
33881         (erf_test): Likewise.
33882         (erfc_test): Likewise.
33883         (pow10_test): Likewise.
33884         (exp2_test): Likewise.
33885         (hypot_test): Likewise.
33886         (j0_test): Likewise.
33887         (j1_test): Likewise.
33888         (lgamma_test): Likewise.
33889         (gamma_test): Likewise.
33890         (sincos_test): Likewise.
33891         (tanh_test): Likewise.
33892         (y0_test): Likewise.
33893         (y1_test): Likewise.
33894         * sysdeps/i386/fpu/libm-test-ulps: Update.
33895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33897 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33899         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33901         and strcspn-ppc64 objects.
33902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33903         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33904         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33905         multiarch strcspn for POWER7.
33906         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33907         multiarch strcspn for PPC64.
33908         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33909         ifunc selector.
33910         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33911         strcspn for POWER7.
33913 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33915         * math/gen-libm-test.pl (generate_testfile): Expect only function
33916         name as argument to AUTO_TESTS_* and pass results for all rounding
33917         modes to parse_args.
33918         (parse_auto_input): Separate inputs of automatic tests from
33919         outputs before storing in %auto_tests.
33920         * math/libm-test.inc (acos_test_data): Update call to
33921         AUTO_TESTS_f_f.
33922         (acos_test): Use ALL_RM_TEST.
33923         (acos_tonearest_test_data): Remove.
33924         (acos_test_tonearest): Likewise.
33925         (acos_towardzero_test_data): Likewise.
33926         (acos_test_towardzero): Likewise.
33927         (acos_downward_test_data): Likewise.
33928         (acos_test_downward): Likewise.
33929         (acos_upward_test_data): Likewise.
33930         (acos_test_upward): Likewise.
33931         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33932         (asin_test_data): Likewise.
33933         (asin_test): Use ALL_RM_TEST.
33934         (asin_tonearest_test_data): Remove.
33935         (asin_test_tonearest): Likewise.
33936         (asin_towardzero_test_data): Likewise.
33937         (asin_test_towardzero): Likewise.
33938         (asin_downward_test_data): Likewise.
33939         (asin_test_downward): Likewise.
33940         (asin_upward_test_data): Likewise.
33941         (asin_test_upward): Likewise.
33942         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33943         (atan_test_data): Likewise.
33944         (atanh_test_data): Likewise.
33945         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33946         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33947         (carg_test_data): Likewise.
33948         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33949         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33950         (ccosh_test_data): Likewise.
33951         (cexp_test_data): Likewise.
33952         (clog_test_data): Likewise.
33953         (clog10_test_data): Likewise.
33954         (cos_test_data): Update call to AUTO_TESTS_f_f.
33955         (cos_test): Use ALL_RM_TEST.
33956         (cos_tonearest_test_data): Remove.
33957         (cos_test_tonearest): Likewise.
33958         (cos_towardzero_test_data): Likewise.
33959         (cos_test_towardzero): Likewise.
33960         (cos_downward_test_data): Likewise.
33961         (cos_test_downward): Likewise.
33962         (cos_upward_test_data): Likewise.
33963         (cos_test_upward): Likewise.
33964         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33965         (cosh_test): Use ALL_RM_TEST.
33966         (cosh_tonearest_test_data): Remove.
33967         (cosh_test_tonearest): Likewise.
33968         (cosh_towardzero_test_data): Likewise.
33969         (cosh_test_towardzero): Likewise.
33970         (cosh_downward_test_data): Likewise.
33971         (cosh_test_downward): Likewise.
33972         (cosh_upward_test_data): Likewise.
33973         (cosh_test_upward): Likewise.
33974         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33975         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33976         (ctan_test_data): Likewise.
33977         (ctan_test): Use ALL_RM_TEST.
33978         (ctan_tonearest_test_data): Remove.
33979         (ctan_test_tonearest): Likewise.
33980         (ctan_towardzero_test_data): Likewise.
33981         (ctan_test_towardzero): Likewise.
33982         (ctan_downward_test_data): Likewise.
33983         (ctan_test_downward): Likewise.
33984         (ctan_upward_test_data): Likewise.
33985         (ctan_test_upward): Likewise.
33986         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33987         (ctanh_test): Use ALL_RM_TEST.
33988         (ctanh_tonearest_test_data): Remove.
33989         (ctanh_test_tonearest): Likewise.
33990         (ctanh_towardzero_test_data): Likewise.
33991         (ctanh_test_towardzero): Likewise.
33992         (ctanh_downward_test_data): Likewise.
33993         (ctanh_test_downward): Likewise.
33994         (ctanh_upward_test_data): Likewise.
33995         (ctanh_test_upward): Likewise.
33996         (erf_test_data): Update call to AUTO_TESTS_f_f.
33997         (erfc_test_data): Likewise.
33998         (exp_test_data): Likewise.
33999         (exp_test): Use ALL_RM_TEST.
34000         (exp_tonearest_test_data): Remove.
34001         (exp_test_tonearest): Likewise.
34002         (exp_towardzero_test_data): Likewise.
34003         (exp_test_towardzero): Likewise.
34004         (exp_downward_test_data): Likewise.
34005         (exp_test_downward): Likewise.
34006         (exp_upward_test_data): Likewise.
34007         (exp_test_upward): Likewise.
34008         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34009         (exp10_test): Use ALL_RM_TEST.
34010         (exp10_tonearest_test_data): Remove.
34011         (exp10_test_tonearest): Likewise.
34012         (exp10_towardzero_test_data): Likewise.
34013         (exp10_test_towardzero): Likewise.
34014         (exp10_downward_test_data): Likewise.
34015         (exp10_test_downward): Likewise.
34016         (exp10_upward_test_data): Likewise.
34017         (exp10_test_upward): Likewise.
34018         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34019         (expm1_test_data): Likewise.
34020         (expm1_test): Use ALL_RM_TEST.
34021         (expm1_tonearest_test_data): Remove.
34022         (expm1_test_tonearest): Likewise.
34023         (expm1_towardzero_test_data): Likewise.
34024         (expm1_test_towardzero): Likewise.
34025         (expm1_downward_test_data): Likewise.
34026         (expm1_test_downward): Likewise.
34027         (expm1_upward_test_data): Likewise.
34028         (expm1_test_upward): Likewise.
34029         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34030         (fma_test): Use ALL_RM_TEST.
34031         (fma_towardzero_test_data): Remove.
34032         (fma_test_towardzero): Likewise.
34033         (fma_downward_test_data): Likewise.
34034         (fma_test_downward): Likewise.
34035         (fma_upward_test_data): Likewise.
34036         (fma_test_upward): Likewise.
34037         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34038         (j0_test_data): Update call to AUTO_TESTS_f_f.
34039         (j1_test_data): Likewise.
34040         (jn_test_data): Update call to AUTO_TESTS_if_f.
34041         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34042         (log_test_data): Update call to AUTO_TESTS_f_f.
34043         (log10_test_data): Likewise.
34044         (log1p_test_data): Likewise.
34045         (log2_test_data): Likewise.
34046         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34047         (pow_tonearest_test_data): Likewise.
34048         (sin_test_data): Update call to AUTO_TESTS_f_f.
34049         (sin_test): Use ALL_RM_TEST.
34050         (sin_tonearest_test_data): Remove.
34051         (sin_test_tonearest): Likewise.
34052         (sin_towardzero_test_data): Likewise.
34053         (sin_test_towardzero): Likewise.
34054         (sin_downward_test_data): Likewise.
34055         (sin_test_downward): Likewise.
34056         (sin_upward_test_data): Likewise.
34057         (sin_test_upward): Likewise.
34058         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34059         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34060         (sinh_test): Use ALL_RM_TEST.
34061         (sinh_tonearest_test_data): Remove.
34062         (sinh_test_tonearest): Likewise.
34063         (sinh_towardzero_test_data): Likewise.
34064         (sinh_test_towardzero): Likewise.
34065         (sinh_downward_test_data): Likewise.
34066         (sinh_test_downward): Likewise.
34067         (sinh_upward_test_data): Likewise.
34068         (sinh_test_upward): Likewise.
34069         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34070         (sqrt_test): Use ALL_RM_TEST.
34071         (sqrt_tonearest_test_data): Remove.
34072         (sqrt_test_tonearest): Likewise.
34073         (sqrt_towardzero_test_data): Likewise.
34074         (sqrt_test_towardzero): Likewise.
34075         (sqrt_downward_test_data): Likewise.
34076         (sqrt_test_downward): Likewise.
34077         (sqrt_upward_test_data): Likewise.
34078         (sqrt_test_upward): Likewise.
34079         (tan_test_data): Update call to AUTO_TESTS_f_f.
34080         (tan_test): Use ALL_RM_TEST.
34081         (tan_tonearest_test_data): Remove.
34082         (tan_test_tonearest): Likewise.
34083         (tan_towardzero_test_data): Likewise.
34084         (tan_test_towardzero): Likewise.
34085         (tan_downward_test_data): Likewise.
34086         (tan_test_downward): Likewise.
34087         (tan_upward_test_data): Likewise.
34088         (tan_test_upward): Likewise.
34089         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34090         (tgamma_test_data): Likewise.
34091         (y0_test_data): Likewise.
34092         (y1_test_data): Likewise.
34093         (yn_test_data): Update call to AUTO_TESTS_if_f.
34094         (main): Do not call removed functions.
34096 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34098         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34099         (ldexp_test_data): Remove.
34100         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34101         scalbn_test_data.
34102         (scalb_test): Use ALL_RM_TEST.
34104 2014-03-19  Andreas Schwab  <schwab@suse.de>
34106         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34108 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34110         [BZ #16649]
34111         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34115         (__ASSUME_PREADV): Undefine.
34116         (__ASSUME_PWRITEV): Likewise.
34118 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34120         * bits/mman-linux.h: Add comment about non-Linux use.
34121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34122         bits/mman-linux.h resting place.
34124         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34125         * bits/mman-linux.h: ... here.
34127 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34129         * conform/conformtest.pl: Add standard definition when calling C
34130         preprocessor on data files.
34131         (checknamespace): Remove unused variable.
34133 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34135         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34136         minus_oflow, plus_uflow and minus_uflow in expected results.
34137         * math/libm-test.inc (scalbn_test_data): Add more tests of
34138         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34139         minus_uflow.
34140         (scalbn_test): Use ALL_RM_TEST.
34141         (scalbln_test_data): Add more tests of negative arguments.  Use
34142         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34143         (scalbln_test): Use ALL_RM_TEST.
34145 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34147         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34149 2014-03-18  Will Newton  <will.newton@linaro.org>
34151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34152         inaccurate comment.
34154 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34156         * Makerules [!subdir] (check-abi): Exit with error status if a
34157         test failed.
34159 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34161         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34162         for rint.  Include results for all rounding modes.
34163         (nearbyint_test): Use ALL_RM_TEST.
34164         (rint_test_data): Include all tests used for nearbyint.
34166 2014-03-17  Will Newton  <will.newton@linaro.org>
34168         * nptl/sysdeps/pthread/pthread.h: Revert previous
34169         change.
34171         * sysdeps/generic/ldsodefs.h: Revert previous
34172         change.
34174         * libio/genops.c: Revert previous change.
34175         * libio/libioP.h: Likewise.
34176         * stdio-common/vfprintf.c: Likewise.
34178         * sysdeps/generic/math_private.h: Revert previous
34179         change.
34181         * sysdeps/generic/math_private.h: Check whether
34182         HAVE_RM_CTX is defined with #ifdef rather
34183         than #if.
34185         * argp/argp-fmtstream.h: Check whether
34186         __STRICT_ANSI__ is defined with #ifdef rather
34187         than #if.
34188         * argp/argp.h: Likewise.
34190         * libio/genops.c: Check whether
34191         _IO_JUMPS_OFFSET is defined with #ifdef rather
34192         than #if.
34193         * libio/libioP.h: Likewise.
34194         * stdio-common/vfprintf.c: Likewise.
34196         * sysdeps/generic/ldsodefs.h: Check whether
34197         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34198         than #if.
34200         * nptl/sysdeps/pthread/pthread.h: Check
34201         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34202         its value.
34204 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34206         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34207         setting O_APPEND.
34208         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34209         test case.
34211         [BZ #16680]
34212         * libio/fileops.c (_IO_file_open): Seek to end of file but
34213         don't cache the offset.
34214         (get_file_offset): Remove function.
34215         (do_ftell): Use cached offset when available.
34216         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34217         don't cache the offset.
34218         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34219         case.
34220         (do_one_test): Call it.
34221         (do_ftell_test): Fix up expected old offset for a+ mode.
34222         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34223         available.
34225         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34226         up test status with function return status.
34227         (do_write_test): Likewise.
34228         (do_append_test): Likewise.
34230         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34231         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34232         Remove.
34234 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34236         * math/gen-libm-test.pl (parse_args): Handle results specified for
34237         each rounding mode separately.
34238         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34239         tests and results from lrint_tonearest_test_data,
34240         lrint_towardzero_test_data, lrint_downward_test_data and
34241         lrint_upward_test_data.
34242         (lrint_test): Use ALL_RM_TEST.
34243         (lrint_tonearest_test_data): Remove.
34244         (lrint_test_tonearest): Likewise.
34245         (lrint_towardzero_test_data): Likewise.
34246         (lrint_test_towardzero): Likewise.
34247         (lrint_downward_test_data): Likewise.
34248         (lrint_test_downward): Likewise.
34249         (lrint_upward_test_data): Likewise.
34250         (lrint_test_upward): Likewise.
34251         (llrint_test_data): Merge in per-rounding-mode tests and results
34252         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34253         llrint_downward_test_data and llrint_upward_test_data.
34254         (llrint_test): Use ALL_RM_TEST.
34255         (llrint_tonearest_test_data): Remove.
34256         (llrint_test_tonearest): Likewise.
34257         (llrint_towardzero_test_data): Likewise.
34258         (llrint_test_towardzero): Likewise.
34259         (llrint_downward_test_data): Likewise.
34260         (llrint_test_downward): Likewise.
34261         (llrint_upward_test_data): Likewise.
34262         (llrint_test_upward): Likewise.
34263         (rint_test_data): Merge in per-rounding-mode tests and results
34264         from rint_tonearest_test_data, rint_towardzero_test_data,
34265         rint_downward_test_data and rint_upward_test_data.  Add
34266         per-rounding-mode results for tests not in those arrays.
34267         (rint_test): Use ALL_RM_TEST.
34268         (rint_tonearest_test_data): Remove.
34269         (rint_test_tonearest): Likewise.
34270         (rint_towardzero_test_data): Likewise.
34271         (rint_test_towardzero): Likewise.
34272         (rint_downward_test_data): Likewise.
34273         (rint_test_downward): Likewise.
34274         (rint_upward_test_data): Likewise.
34275         (rint_test_upward): Likewise.
34276         (main): Don't call removed functions.
34278 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34280         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34281         "Compiled on ..." crapola.  It is anti-useful.
34283 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34285         * scripts/evaluate-test.sh: Handle fourth argument to determine
34286         whether test run should stop on failure.
34287         * Makeconfig (stop-on-test-failure): New variable.
34288         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34289         $(stop-on-test-failure).
34290         * Makefile (tests): Give a summary of results from testing and
34291         exit with failure status if they include an ERROR or FAIL.
34292         (xtests): Likewise.
34293         * manual/install.texi (Configuring and compiling): Mention
34294         stop-on-test-failure=y.
34295         * INSTALL: Regenerated.
34297 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34299         * scripts/versionlist.awk: New file.
34300         * Makerules [$(build-shared) = yes]
34301         (postclean-generated): Add Versions.def, not Versions.def.v and
34302         Versions.def.v.i.
34303         ($(common-objpfx)Versions.def.v.i): Target removed.
34304         ($(common-objpfx)Versions.def): New target.
34305         ($(common-objpfx)Versions.all): Depend on that rather that
34306         $(common-objpfx)Versions.def.v.
34307         * Versions.def: File removed.
34309         * Makeconfig (+gccwarn): Add -Wundef.
34310         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34311         a dl-sysdep.h breaking its contract.
34312         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34313         * include/stackinfo.h: New file.
34314         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34315         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34316         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34317         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34318         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34319         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34320         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34321         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34322         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34323         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34324         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34325         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34326         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34327         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34328         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34330 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34332         [BZ #16707]
34333         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34334         implementation.
34335         * math/libm-test.inc (round_test_data): Add more tests.
34337         [BZ #16706]
34338         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34339         implementation.
34340         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34342         [BZ #16701]
34343         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34344         implementation.
34345         * math/libm-test.inc (ceil_test_data): Add more tests.
34347         * math/libm-test.inc (trunc_test_data): Add more tests related to
34348         BZ#16414.
34350 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34352         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34353         with #if rather than #ifdef.
34354         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34356 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34358         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34359         first.  Disable AVX-512 GCC support if assembler doesn't support
34360         it.
34361         * sysdeps/x86_64/configure: Regenerated.
34363 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34365         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34366         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34367         (__old_pthread_attr_setstack): Likewise.
34368         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34369         [!_STACK_GROWS_DOWN]: Likewise.
34371 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34373         * config.make.in (have-bash2): Delete.
34374         * configure.ac (libc_cv_have_bash2): Delete.
34375         * configure: Regenerate.
34376         * elf/Makefile (common-ldd-rewrite): Rename to ...
34377         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34378         (sh-ldd-rewrite): Delete.
34379         (bash-ldd-rewrite): Delete.
34380         (have-bash2): Delete checks.
34381         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34382         ldd-rewrite.
34384         * config.make.in (have-ksh): Delete.
34385         (KSH): Delete.
34386         * configure.ac (libc_cv_have_ksh): Delete.
34387         * configure: Regenerate.
34389         * elf/Makefile: Delete $(have-ksh) check.
34390         ($(objpfx)sotruss): Change KSH to BASH.
34391         * elf/sotruss.ksh: Rename to ...
34392         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34393         function style to match POSIX.  Drop ksh vim mode setting.
34395         * manual/time.texi (Specifying the Time Zone with TZ): Change
34396         Tuesday to Thursday.
34398         * debug/tst-longjmp_chk2.c: Update header comment.
34399         (stackoverflow_handler): Add comment.  Call assert on pass value.
34401 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34403         [BZ #16194]
34404         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34405         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34406         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34407         (La_x86_64_vector): Add zmm.
34408         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34409         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34410         ($(objpfx)tst-audit10): New target.
34411         ($(objpfx)tst-audit10.out): Likewise.
34412         (tst-audit10-ENV): New.
34413         (AVX512-CFLAGS): Likewise.
34414         (CFLAGS-tst-audit10.c): Likewise.
34415         (CFLAGS-tst-auditmod10a.c): Likewise.
34416         (CFLAGS-tst-auditmod10b.c): Likewise.
34417         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34418         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34419         * sysdeps/x86_64/configure: Regenerated.
34420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34421         AVX-512 zmm register support.
34422         (_dl_x86_64_save_sse): Likewise.
34423         (_dl_x86_64_restore_sse): Likewise.
34424         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34425         size vector registers.
34426         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34427         (ZMM_SIZE): Likewise.
34428         * sysdeps/x86_64/tst-audit10.c: New file.
34429         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34430         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34432 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34434         * configure.ac (HAVE_EHDR_START): New check.
34435         * configure: Regenerated.
34436         * config.h.in (HAVE_EHDR_START): New #undef.
34437         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34438         assuming the lowest-addressed segment maps the start of the file.
34440 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34442         * INSTALL: Regenerated.
34444 2014-03-13  Will Newton  <will.newton@linaro.org>
34446         * manual/setjmp.texi (System V contexts): Improve
34447         clarity and grammar of documentation.
34449 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34451         [BZ #16381]
34452         * elf/Makefile (tests): Add tst-pie2.
34453         (tests-pie): Add tst-pie2.
34454         * elf/tst-pie2.c: New file.
34455         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34456         for ET_EXEC.
34457         * elf/rtld.c (map_doit): Load executable as lt_executable.
34458         (dl_main): Likewise.
34460 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34462         [BZ #16642]
34463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34464         (__ASSUME_PSELECT): Undefine.
34466 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34468         [BZ #16689]
34469         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34470         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34471         static build.
34472         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34473         selector for static builds.
34475 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34477         [BZ #16695]
34478         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34479         key in the buffer.
34481 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34483         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34484         IFUNC selector for static builds.
34486 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34488         * sysdeps/mips/math_private.h [__mips_hard_float]
34489         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34490         libc_feresetround_mips_ctx.
34491         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34492         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34493         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34495         [BZ #16677]
34496         * math/s_nextafter.c (__nextafter): Do not return value from
34497         overflowing computation.
34498         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34499         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34500         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34501         Likewise.
34502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34503         Likewise.
34504         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34505         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34507 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34509         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34510         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34511         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34512         the new mov targetting sp.
34514 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34516         [BZ #16683]
34517         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34518         Define it for static builds as well.
34519         (NO_BZERO_IMPL): Likewise.
34521 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34523         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34524         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34525         multiarch strspn for PPC64.
34526         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34527         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34529         (__libc_ifunc_impl_list): Likewise.
34530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34531         multiarch optimizations
34532         * string/strspn.c (strspn): Using macro to redefine symbol name.
34534 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34535             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34537         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34538         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34539         multiarch strncat for PPC64.
34540         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34541         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34543         (__libc_ifunc_impl_list): Likewise.
34544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34545         multiarch optimizations
34547 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34549         [BZ #16639]
34550         * nscd/nscd.service: Make service type forking.
34552 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34554         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34555         sign in non default rounding modes.
34556         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34558 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34560         * math/libm-test.inc (ALL_RM_TEST): New macro.
34561         (ceil_test): Use ALL_RM_TEST.
34562         (cimag_test): Likewise.
34563         (conj_test): Likewise.
34564         (copysign_test): Likewise.
34565         (cproj_test): Likewise.
34566         (creal_test): Likewise.
34567         (fabs_test): Likewise.
34568         (floor_test): Likewise.
34569         (fmax_test): Likewise.
34570         (fmin_test): Likewise.
34571         (fmod_test): Likewise.
34572         (fpclassify_test): Likewise.
34573         (frexp_test): Likewise.
34574         (ilogb_test): Likewise.
34575         (isfinite_test): Likewise.
34576         (finite_test): Likewise.
34577         (isgreater_test): Likewise.
34578         (isgreaterequal_test): Likewise.
34579         (isinf_test): Likewise.
34580         (isless_test): Likewise.
34581         (islessequal_test): Likewise.
34582         (islessgreater_test): Likewise.
34583         (isnan_test): Likewise.
34584         (isnormal_test): Likewise.
34585         (issignaling_test): Likewise.
34586         (isunordered_test): Likewise.
34587         (logb_test): Likewise.
34588         (logb_downward_test_data): Remove.
34589         (logb_test_downward): Likewise.
34590         (lround_test): Use ALL_RM_TEST.
34591         (llround_test): Likewise.
34592         (modf_test): Likewise.
34593         (nexttoward_test): Likewise.
34594         (remainder_test): Likewise.
34595         (drem_test): Likewise.
34596         (remainder_tonearest_test_data): Likewise.
34597         (remainder_test_tonearest): Likewise.
34598         (drem_test_tonearest): Likewise.
34599         (remainder_towardzero_test_data): Likewise.
34600         (remainder_test_towardzero): Likewise.
34601         (drem_test_towardzero): Likewise.
34602         (remainder_downward_test_data): Likewise.
34603         (remainder_test_downward): Likewise.
34604         (drem_test_downward): Likewise.
34605         (remainder_upward_test_data): Likewise.
34606         (remainder_test_upward): Likewise.
34607         (drem_test_upward): Likewise.
34608         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34609         (round_test): Use ALL_RM_TEST.
34610         (signbit_test): Likewise.
34611         (trunc_test): Likewise.
34612         (significand_test): Likewise.
34613         (main): Don't call removed functions.
34615 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34617         [BZ #16674]
34618         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34619         || __USE_XOPEN2K8].
34620         (ILL_ILLOPN): Likewise.
34621         (ILL_ILLADR): Likewise.
34622         (ILL_ILLTRP): Likewise.
34623         (ILL_PRVOPC): Likewise.
34624         (ILL_PRVREG): Likewise.
34625         (ILL_COPROC): Likewise.
34626         (ILL_BADSTK): Likewise.
34627         (FPE_INTDIV): Likewise.
34628         (FPE_INTOVF): Likewise.
34629         (FPE_FLTDIV): Likewise.
34630         (FPE_FLTOVF): Likewise.
34631         (FPE_FLTUND): Likewise.
34632         (FPE_FLTRES): Likewise.
34633         (FPE_FLTINV): Likewise.
34634         (FPE_FLTSUB): Likewise.
34635         (SEGV_MAPERR): Likewise.
34636         (SEGV_ACCERR): Likewise.
34637         (BUS_ADRALN): Likewise.
34638         (BUS_ADRERR): Likewise.
34639         (BUS_OBJERR): Likewise.
34640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34641         (TRAP_TRACE): Likewise.
34642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34643         __USE_XOPEN2K8].
34644         (CLD_KILLED): Likewise.
34645         (CLD_DUMPED): Likewise.
34646         (CLD_TRAPPED): Likewise.
34647         (CLD_STOPPED): Likewise.
34648         (CLD_CONTINUED): Likewise.
34649         (POLL_IN): Likewise.
34650         (POLL_OUT): Likewise.
34651         (POLL_MSG): Likewise.
34652         (POLL_ERR): Likewise.
34653         (POLL_PRI): Likewise.
34654         (POLL_HUP): Likewise.
34655         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34656         Likewise.
34657         (ILL_ILLOPN): Likewise.
34658         (ILL_ILLADR): Likewise.
34659         (ILL_ILLTRP): Likewise.
34660         (ILL_PRVOPC): Likewise.
34661         (ILL_PRVREG): Likewise.
34662         (ILL_COPROC): Likewise.
34663         (ILL_BADSTK): Likewise.
34664         (FPE_INTDIV): Likewise.
34665         (FPE_INTOVF): Likewise.
34666         (FPE_FLTDIV): Likewise.
34667         (FPE_FLTOVF): Likewise.
34668         (FPE_FLTUND): Likewise.
34669         (FPE_FLTRES): Likewise.
34670         (FPE_FLTINV): Likewise.
34671         (FPE_FLTSUB): Likewise.
34672         (SEGV_MAPERR): Likewise.
34673         (SEGV_ACCERR): Likewise.
34674         (BUS_ADRALN): Likewise.
34675         (BUS_ADRERR): Likewise.
34676         (BUS_OBJERR): Likewise.
34677         (BUS_MCEERR_AR): Likewise.
34678         (BUS_MCEERR_AO): Likewise.
34679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34680         (TRAP_TRACE): Likewise.
34681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34682         __USE_XOPEN2K8].
34683         (CLD_KILLED): Likewise.
34684         (CLD_DUMPED): Likewise.
34685         (CLD_TRAPPED): Likewise.
34686         (CLD_STOPPED): Likewise.
34687         (CLD_CONTINUED): Likewise.
34688         (POLL_IN): Likewise.
34689         (POLL_OUT): Likewise.
34690         (POLL_MSG): Likewise.
34691         (POLL_ERR): Likewise.
34692         (POLL_PRI): Likewise.
34693         (POLL_HUP): Likewise.
34694         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34695         (ILL_ILLOPN): Likewise.
34696         (ILL_ILLADR): Likewise.
34697         (ILL_ILLTRP): Likewise.
34698         (ILL_PRVOPC): Likewise.
34699         (ILL_PRVREG): Likewise.
34700         (ILL_COPROC): Likewise.
34701         (ILL_BADSTK): Likewise.
34702         (FPE_INTDIV): Likewise.
34703         (FPE_INTOVF): Likewise.
34704         (FPE_FLTDIV): Likewise.
34705         (FPE_FLTOVF): Likewise.
34706         (FPE_FLTUND): Likewise.
34707         (FPE_FLTRES): Likewise.
34708         (FPE_FLTINV): Likewise.
34709         (FPE_FLTSUB): Likewise.
34710         (SEGV_MAPERR): Likewise.
34711         (SEGV_ACCERR): Likewise.
34712         (BUS_ADRALN): Likewise.
34713         (BUS_ADRERR): Likewise.
34714         (BUS_OBJERR): Likewise.
34715         (BUS_MCEERR_AR): Likewise.
34716         (BUS_MCEERR_AO): Likewise.
34717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34718         (TRAP_TRACE): Likewise.
34719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34720         __USE_XOPEN2K8].
34721         (CLD_KILLED): Likewise.
34722         (CLD_DUMPED): Likewise.
34723         (CLD_TRAPPED): Likewise.
34724         (CLD_STOPPED): Likewise.
34725         (CLD_CONTINUED): Likewise.
34726         (POLL_IN): Likewise.
34727         (POLL_OUT): Likewise.
34728         (POLL_MSG): Likewise.
34729         (POLL_ERR): Likewise.
34730         (POLL_PRI): Likewise.
34731         (POLL_HUP): Likewise.
34732         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34733         Likewise.
34734         (ILL_ILLOPN): Likewise.
34735         (ILL_ILLADR): Likewise.
34736         (ILL_ILLTRP): Likewise.
34737         (ILL_PRVOPC): Likewise.
34738         (ILL_PRVREG): Likewise.
34739         (ILL_COPROC): Likewise.
34740         (ILL_BADSTK): Likewise.
34741         (ILL_BADIADDR): Likewise.
34742         (ILL_BREAK): Likewise.
34743         (FPE_INTDIV): Likewise.
34744         (FPE_INTOVF): Likewise.
34745         (FPE_FLTDIV): Likewise.
34746         (FPE_FLTOVF): Likewise.
34747         (FPE_FLTUND): Likewise.
34748         (FPE_FLTRES): Likewise.
34749         (FPE_FLTINV): Likewise.
34750         (FPE_FLTSUB): Likewise.
34751         (FPE_DECOVF): Likewise.
34752         (FPE_DECDIV): Likewise.
34753         (FPE_DECERR): Likewise.
34754         (FPE_INVASC): Likewise.
34755         (FPE_INVDEC): Likewise.
34756         (SEGV_MAPERR): Likewise.
34757         (SEGV_ACCERR): Likewise.
34758         (SEGV_PSTKOVF): Likewise.
34759         (BUS_ADRALN): Likewise.
34760         (BUS_ADRERR): Likewise.
34761         (BUS_OBJERR): Likewise.
34762         (BUS_MCEERR_AR): Likewise.
34763         (BUS_MCEERR_AO): Likewise.
34764         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34765         (TRAP_TRACE): Likewise.
34766         (TRAP_BRANCH): Likewise.
34767         (TRAP_HWBKPT): Likewise.
34768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34769         __USE_XOPEN2K8].
34770         (CLD_KILLED): Likewise.
34771         (CLD_DUMPED): Likewise.
34772         (CLD_TRAPPED): Likewise.
34773         (CLD_STOPPED): Likewise.
34774         (CLD_CONTINUED): Likewise.
34775         (POLL_IN): Likewise.
34776         (POLL_OUT): Likewise.
34777         (POLL_MSG): Likewise.
34778         (POLL_ERR): Likewise.
34779         (POLL_PRI): Likewise.
34780         (POLL_HUP): Likewise.
34781         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34782         (ILL_ILLOPN): Likewise.
34783         (ILL_ILLADR): Likewise.
34784         (ILL_ILLTRP): Likewise.
34785         (ILL_PRVOPC): Likewise.
34786         (ILL_PRVREG): Likewise.
34787         (ILL_COPROC): Likewise.
34788         (ILL_BADSTK): Likewise.
34789         (FPE_INTDIV): Likewise.
34790         (FPE_INTOVF): Likewise.
34791         (FPE_FLTDIV): Likewise.
34792         (FPE_FLTOVF): Likewise.
34793         (FPE_FLTUND): Likewise.
34794         (FPE_FLTRES): Likewise.
34795         (FPE_FLTINV): Likewise.
34796         (FPE_FLTSUB): Likewise.
34797         (SEGV_MAPERR): Likewise.
34798         (SEGV_ACCERR): Likewise.
34799         (BUS_ADRALN): Likewise.
34800         (BUS_ADRERR): Likewise.
34801         (BUS_OBJERR): Likewise.
34802         (BUS_MCEERR_AR): Likewise.
34803         (BUS_MCEERR_AO): Likewise.
34804         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34805         (TRAP_TRACE): Likewise.
34806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34807         __USE_XOPEN2K8].
34808         (CLD_KILLED): Likewise.
34809         (CLD_DUMPED): Likewise.
34810         (CLD_TRAPPED): Likewise.
34811         (CLD_STOPPED): Likewise.
34812         (CLD_CONTINUED): Likewise.
34813         (POLL_IN): Likewise.
34814         (POLL_OUT): Likewise.
34815         (POLL_MSG): Likewise.
34816         (POLL_ERR): Likewise.
34817         (POLL_PRI): Likewise.
34818         (POLL_HUP): Likewise.
34819         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34820         (ILL_ILLOPN): Likewise.
34821         (ILL_ILLADR): Likewise.
34822         (ILL_ILLTRP): Likewise.
34823         (ILL_PRVOPC): Likewise.
34824         (ILL_PRVREG): Likewise.
34825         (ILL_COPROC): Likewise.
34826         (ILL_BADSTK): Likewise.
34827         (FPE_INTDIV): Likewise.
34828         (FPE_INTOVF): Likewise.
34829         (FPE_FLTDIV): Likewise.
34830         (FPE_FLTOVF): Likewise.
34831         (FPE_FLTUND): Likewise.
34832         (FPE_FLTRES): Likewise.
34833         (FPE_FLTINV): Likewise.
34834         (FPE_FLTSUB): Likewise.
34835         (SEGV_MAPERR): Likewise.
34836         (SEGV_ACCERR): Likewise.
34837         (BUS_ADRALN): Likewise.
34838         (BUS_ADRERR): Likewise.
34839         (BUS_OBJERR): Likewise.
34840         (BUS_MCEERR_AR): Likewise.
34841         (BUS_MCEERR_AO): Likewise.
34842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34843         (TRAP_TRACE): Likewise.
34844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34845         __USE_XOPEN2K8].
34846         (CLD_KILLED): Likewise.
34847         (CLD_DUMPED): Likewise.
34848         (CLD_TRAPPED): Likewise.
34849         (CLD_STOPPED): Likewise.
34850         (CLD_CONTINUED): Likewise.
34851         (POLL_IN): Likewise.
34852         (POLL_OUT): Likewise.
34853         (POLL_MSG): Likewise.
34854         (POLL_ERR): Likewise.
34855         (POLL_PRI): Likewise.
34856         (POLL_HUP): Likewise.
34857         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34858         (ILL_ILLOPN): Likewise.
34859         (ILL_ILLADR): Likewise.
34860         (ILL_ILLTRP): Likewise.
34861         (ILL_PRVOPC): Likewise.
34862         (ILL_PRVREG): Likewise.
34863         (ILL_COPROC): Likewise.
34864         (ILL_BADSTK): Likewise.
34865         (FPE_INTDIV): Likewise.
34866         (FPE_INTOVF): Likewise.
34867         (FPE_FLTDIV): Likewise.
34868         (FPE_FLTOVF): Likewise.
34869         (FPE_FLTUND): Likewise.
34870         (FPE_FLTRES): Likewise.
34871         (FPE_FLTINV): Likewise.
34872         (FPE_FLTSUB): Likewise.
34873         (SEGV_MAPERR): Likewise.
34874         (SEGV_ACCERR): Likewise.
34875         (BUS_ADRALN): Likewise.
34876         (BUS_ADRERR): Likewise.
34877         (BUS_OBJERR): Likewise.
34878         (BUS_MCEERR_AR): Likewise.
34879         (BUS_MCEERR_AO): Likewise.
34880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34881         (TRAP_TRACE): Likewise.
34882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34883         __USE_XOPEN2K8].
34884         (CLD_KILLED): Likewise.
34885         (CLD_DUMPED): Likewise.
34886         (CLD_TRAPPED): Likewise.
34887         (CLD_STOPPED): Likewise.
34888         (CLD_CONTINUED): Likewise.
34889         (POLL_IN): Likewise.
34890         (POLL_OUT): Likewise.
34891         (POLL_MSG): Likewise.
34892         (POLL_ERR): Likewise.
34893         (POLL_PRI): Likewise.
34894         (POLL_HUP): Likewise.
34895         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34896         (ILL_ILLOPN): Likewise.
34897         (ILL_ILLADR): Likewise.
34898         (ILL_ILLTRP): Likewise.
34899         (ILL_PRVOPC): Likewise.
34900         (ILL_PRVREG): Likewise.
34901         (ILL_COPROC): Likewise.
34902         (ILL_BADSTK): Likewise.
34903         (ILL_DBLFLT): Likewise.
34904         (ILL_HARDWALL): Likewise.
34905         (FPE_INTDIV): Likewise.
34906         (FPE_INTOVF): Likewise.
34907         (FPE_FLTDIV): Likewise.
34908         (FPE_FLTOVF): Likewise.
34909         (FPE_FLTUND): Likewise.
34910         (FPE_FLTRES): Likewise.
34911         (FPE_FLTINV): Likewise.
34912         (FPE_FLTSUB): Likewise.
34913         (SEGV_MAPERR): Likewise.
34914         (SEGV_ACCERR): Likewise.
34915         (BUS_ADRALN): Likewise.
34916         (BUS_ADRERR): Likewise.
34917         (BUS_OBJERR): Likewise.
34918         (BUS_MCEERR_AR): Likewise.
34919         (BUS_MCEERR_AO): Likewise.
34920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34921         (TRAP_TRACE): Likewise.
34922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34923         __USE_XOPEN2K8].
34924         (CLD_KILLED): Likewise.
34925         (CLD_DUMPED): Likewise.
34926         (CLD_TRAPPED): Likewise.
34927         (CLD_STOPPED): Likewise.
34928         (CLD_CONTINUED): Likewise.
34929         (POLL_IN): Likewise.
34930         (POLL_OUT): Likewise.
34931         (POLL_MSG): Likewise.
34932         (POLL_ERR): Likewise.
34933         (POLL_PRI): Likewise.
34934         (POLL_HUP): Likewise.
34935         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34936         (ILL_ILLOPN): Likewise.
34937         (ILL_ILLADR): Likewise.
34938         (ILL_ILLTRP): Likewise.
34939         (ILL_PRVOPC): Likewise.
34940         (ILL_PRVREG): Likewise.
34941         (ILL_COPROC): Likewise.
34942         (ILL_BADSTK): Likewise.
34943         (FPE_INTDIV): Likewise.
34944         (FPE_INTOVF): Likewise.
34945         (FPE_FLTDIV): Likewise.
34946         (FPE_FLTOVF): Likewise.
34947         (FPE_FLTUND): Likewise.
34948         (FPE_FLTRES): Likewise.
34949         (FPE_FLTINV): Likewise.
34950         (FPE_FLTSUB): Likewise.
34951         (SEGV_MAPERR): Likewise.
34952         (SEGV_ACCERR): Likewise.
34953         (BUS_ADRALN): Likewise.
34954         (BUS_ADRERR): Likewise.
34955         (BUS_OBJERR): Likewise.
34956         (BUS_MCEERR_AR): Likewise.
34957         (BUS_MCEERR_AO): Likewise.
34958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34959         (TRAP_TRACE): Likewise.
34960         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34961         __USE_XOPEN2K8].
34962         (CLD_KILLED): Likewise.
34963         (CLD_DUMPED): Likewise.
34964         (CLD_TRAPPED): Likewise.
34965         (CLD_STOPPED): Likewise.
34966         (CLD_CONTINUED): Likewise.
34967         (POLL_IN): Likewise.
34968         (POLL_OUT): Likewise.
34969         (POLL_MSG): Likewise.
34970         (POLL_ERR): Likewise.
34971         (POLL_PRI): Likewise.
34972         (POLL_HUP): Likewise.
34973         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34974         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34976         [BZ #16670]
34977         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34978         before #include of <time.h>.
34979         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34980         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34981         (test-xfail-UNIX98/sched.h/conform): Likewise.
34983 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34985         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34986         error absence of trapping exception support.
34987         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34989 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34991         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34992         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34993         * timezone/Makefile (testdata): Move definition above include of
34994         Rules.
34995         (test-zones): New variable.
34996         (tests-special): Add zone files.
34997         (build-testdata): Use $(evaluate-test).
34999         * elf/Makefile (tests-special): Rename tests to end with .out.
35000         ($(objpfx)noload-mem): Likewise.
35001         ($(objpfx)tst-leaks1-mem): Likewise.
35002         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35003         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35004         $(objpfx)test-iconvconfig.out.
35005         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35006         set -e inside subshell and redirect output to file.
35007         * iconvdata/Makefile (generated): Rename tests to end with .out.
35008         Correct type.
35009         (tests-special): Rename tests to end with .out.
35010         ($(objpfx)mtrace-tst-loading): Likewise.
35011         * intl/Makefile (generated): Likewise.
35012         (tests-special): Likewise.
35013         ($(objpfx)mtrace-tst-gettext): Likewise.
35014         * misc/Makefile (generated): Likewise.
35015         (tests-special): Likewise.
35016         ($(objpfx)tst-error1-mem): Likewise.
35017         * nptl/Makefile (tests-special): Likewise.
35018         ($(objpfx)tst-stack3-mem): Likewise.
35019         (generated): Likewise.
35020         * posix/Makefile (generated): Likewise.
35021         (tests-special): Likewise.
35022         (xtests-special): Likewise.
35023         ($(objpfx)tst-fnmatch-mem): Likewise.
35024         ($(objpfx)bug-regex2-mem): Likewise.
35025         ($(objpfx)bug-regex14-mem): Likewise.
35026         ($(objpfx)bug-regex21-mem): Likewise.
35027         ($(objpfx)bug-regex31-mem): Likewise.
35028         ($(objpfx)tst-vfork3-mem): Likewise.
35029         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35030         ($(objpfx)tst-pcre-mem): Likewise.
35031         ($(objpfx)tst-boost-mem): Likewise.
35032         ($(objpfx)bug-ga2-mem): Likewise.
35033         ($(objpfx)bug-glob2-mem): Likewise.
35034         * resolv/Makefile (generate): Likewise.
35035         (tests-special): Likewise.
35036         (xtests-special): Likewise.
35037         (generated): Likewise.
35038         ($(objpfx)mtrace-tst-leaks): Likewise.
35039         ($(objpfx)mtrace-tst-leaks2): Likewise.
35041         * scripts/merge-test-results.sh: New file.
35042         * Makefile (tests-special-notdir): New variable.
35043         (tests): Run merge-test-results.sh.
35044         (xtests): Likewise.
35045         * Rules (tests-special-notdir): New variable.
35046         (xtests-special-notdir): Likewise.
35047         (tests): Run merge-test-results.sh
35048         (xtests): Likewise.
35050         * Makeconfig (test-xfail-name): New variable.
35051         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35052         compute variable name for expected failures.
35053         * conform/Makefile (conformtest-headers-data): New variable.
35054         (conformtest-standards): Likewise.
35055         (conformtest-headers-ISO): Likewise.
35056         (conformtest-headers-ISO99): Likewise.
35057         (conformtest-headers-ISO11): Likewise.
35058         (conformtest-headers-POSIX): Likewise.
35059         (conformtest-headers-XPG3): Likewise.
35060         (conformtest-headers-XPG4): Likewise.
35061         (conformtest-headers-UNIX98): Likewise.
35062         (conformtest-headers-XOPEN2K): Likewise.
35063         (conformtest-headers-POSIX2008): Likewise.
35064         (conformtest-headers-XOPEN2K8): Likewise.
35065         (conformtest-header-list-base): Likewise.
35066         (conformtest-header-list-tests): Likewise.
35067         (conformtest-header-base): Likewise.
35068         (conformtest-header-tests): Likewise.
35069         (tests-special): Add $(conformtest-header-list-tests).  If
35070         [$(fast-check) && !$(cross-compiling)], add
35071         $(conformtest-header-tests) instead of
35072         $(objpfx)run-conformtest.out.
35073         (generated): Add $(conformtest-header-list-base).  If
35074         [$(fast-check) && !$(cross-compiling)], add
35075         $(conformtest-header-base).  Remove previous setting.
35076         ($(conformtest-header-list-tests)): New target.
35077         (test-xfail-run-conformtest): Remove variable.
35078         ($(objpfx)run-conformtest.out): Remove target.
35079         (test-xfail-ISO11/complex.h/conform): New variable.
35080         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35081         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35082         (test-xfail-XPG3/varargs.h/conform): Likewise.
35083         (test-xfail-XPG4/varargs.h/conform): Likewise.
35084         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35085         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35086         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35087         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35088         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35089         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35090         (test-xfail-XPG3/ftw.h/conform): Likewise.
35091         (test-xfail-XPG3/grp.h/conform): Likewise.
35092         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35093         (test-xfail-XPG3/limits.h/conform): Likewise.
35094         (test-xfail-XPG3/pwd.h/conform): Likewise.
35095         (test-xfail-XPG3/search.h/conform): Likewise.
35096         (test-xfail-XPG3/signal.h/conform): Likewise.
35097         (test-xfail-XPG3/stdio.h/conform): Likewise.
35098         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35099         (test-xfail-XPG3/string.h/conform): Likewise.
35100         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35101         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35102         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35103         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35104         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35105         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35106         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35107         (test-xfail-XPG3/termios.h/conform): Likewise.
35108         (test-xfail-XPG3/time.h/conform): Likewise.
35109         (test-xfail-XPG3/unistd.h/conform): Likewise.
35110         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35111         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35112         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35113         (test-xfail-XPG4/netdb.h/conform): Likewise.
35114         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35115         (test-xfail-XPG4/signal.h/conform): Likewise.
35116         (test-xfail-XPG4/stdio.h/conform): Likewise.
35117         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35118         (test-xfail-XPG4/stropts.h/conform): Likewise.
35119         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35120         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35121         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35122         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35123         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35124         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35125         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35126         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35127         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35128         (test-xfail-XPG4/termios.h/conform): Likewise.
35129         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35130         (test-xfail-XPG4/unistd.h/conform): Likewise.
35131         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35132         (test-xfail-POSIX/sched.h/conform): Likewise.
35133         (test-xfail-POSIX/signal.h/conform): Likewise.
35134         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35135         (test-xfail-POSIX/tar.h/conform): Likewise.
35136         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35137         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35138         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35139         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35140         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35141         (test-xfail-UNIX98/sched.h/conform): Likewise.
35142         (test-xfail-UNIX98/signal.h/conform): Likewise.
35143         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35144         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35145         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35146         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35147         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35148         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35149         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35150         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35151         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35152         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35153         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35154         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35155         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35156         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35157         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35158         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35159         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35160         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35161         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35162         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35163         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35164         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35165         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35166         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35167         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35168         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35169         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35170         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35171         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35172         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35173         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35174         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35175         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35176         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35177         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35178         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35179         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35180         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35181         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35182         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35183         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35184         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35185         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35186         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35187         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35188         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35189         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35190         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35191         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35192         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35193         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35194         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35195         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35196         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35197         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35198         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35199         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35200         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35201         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35202         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35203         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35204         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35205         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35206         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35207         (conformtest-cc-flags): Likewise.
35208         ($(conformtest-header-tests): New target.
35209         * conform/check-header-lists.sh: New file.
35210         * conform/run-conformtest.sh: Remove.
35212         * conform/conformtest.pl: Allow ' and \ in values given for
35213         constants.
35214         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35215         inclusion.
35216         [POSIX] (sys/types.h): Likewise.
35217         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35218         inclusion.
35219         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35220         inclusion.
35221         * conform/data/signal.h-data (SIGIO): Remove expectation.
35222         [XPG3] (SIGBUS): Do not expect.
35223         [POSIX || XPG3] (SIGPOLL): Likewise.
35224         [POSIX || XPG3] (SIGPROF): Likewise.
35225         [POSIX || XPG3] (SIGSYS): Likewise.
35226         [XPG3] (SIGTRAP): Likewise.
35227         [POSIX || XPG3] (SIGURG): Likewise.
35228         [POSIX || XPG3] (SIGVTALRM): Likewise.
35229         [POSIX || XPG3] (SIGXCPU): Likewise.
35230         [POSIX || XPG3] (SIGXFSZ): Likewise.
35231         [POSIX] (SA_SIGINFO): Expect.
35232         [XPG3] (siginfo_t): Do not expect type or contents.
35233         [POSIX] (si_pid): Do not expect element.
35234         [POSIX] (si_uid): Likewise.
35235         [POSIX] (si_addr): Likewise.
35236         [POSIX] (si_status): Likewise.
35237         [POSIX] (si_band): Likewise.
35238         [XPG4] (si_value): Likewise.
35239         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35240         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35241         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35242         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35243         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35244         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35245         [POSIX || XPG3] (ILL_COPROC): Likewise.
35246         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35247         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35248         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35249         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35250         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35251         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35252         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35253         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35254         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35255         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35256         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35257         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35258         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35259         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35260         [POSIX || XPG3] (CLD_EXITED): Likewise.
35261         [POSIX || XPG3] (CLD_KILLED): Likewise.
35262         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35263         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35264         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35265         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35266         [POSIX || XPG3] (POLL_IN): Likewise.
35267         [POSIX || XPG3] (POLL_OUT): Likewise.
35268         [POSIX || XPG3] (POLL_MSG): Likewise.
35269         [POSIX || XPG3] (POLL_ERR): Likewise.
35270         [POSIX || XPG3] (POLL_PRI): Likewise.
35271         [POSIX || XPG3] (POLL_HUP): Likewise.
35272         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35273         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35274         (SIG*): Do not allow.
35275         [XPG3] (si_*): Likewise.
35276         [XPG3] (SI_*): Likewise.
35277         [XPG3 || XPG4] (sigev_*): Likewise.
35278         [XPG3 || XPG4] (SIGEV_*): Likewise.
35279         [XPG3 || XPG4] (sival_*): Likewise.
35280         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35281         [POSIX || XPG3] (BUS_*): Likewise.
35282         [POSIX || XPG3] (CLD_*): Likewise.
35283         [POSIX || XPG3] (FPE_*): Likewise.
35284         [POSIX || XPG3] (ILL_*): Likewise.
35285         [POSIX || XPG3] (POLL_*): Likewise.
35286         [POSIX || XPG3] (SEGV_*): Likewise.
35287         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35288         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35289         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35290         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35291         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35292         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35293         Specify type and value.
35294         (TVERSLEN): Likewise.
35295         (REGTYPE): Likewise.
35296         (AREGTYPE): Likewise.
35297         (LNKTYPE): Likewise.
35298         (SYMTYPE): Likewise.
35299         (CHRTYPE): Likewise.
35300         (BLKTYPE): Likewise.
35301         (DIRTYPE): Likewise.
35302         (FIFOTYPE): Likewise.
35303         (CONTTYPE): Likewise.
35304         (TSUID): Likewise.
35305         (TSGID): Likewise.
35306         (TSVTX): Likewise.
35307         (TUREAD): Likewise.
35308         (TUWRITE): Likewise.
35309         (TUEXEC): Likewise.
35310         (TGREAD): Likewise.
35311         (TGWRITE): Likewise.
35312         (TGEXEC): Likewise.
35313         (TOREAD): Likewise.
35314         (TOWRITE): Likewise.
35315         (TOEXEC): Likewise.
35316         [POSIX] (TSVTX): Expect constant.
35318 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35320         * Makefile (tests): Change dependencies to ....
35321         (tests-special): ... additions to this variable.
35322         (tests): Depend on $(tests-special).
35323         * Makerules (check-abi-list): New variable.
35324         (check-abi): Depend on $(check-abi-list).
35325         [$(subdir) = elf] (tests-special): Add
35326         $(objpfx)check-abi-libc.out.
35327         [$(build-shared) = yes && subdir] (tests-special): Add
35328         $(check-abi-list).
35329         [$(build-shared) = yes && subdir] (tests): Do not depend on
35330         check-abi.
35331         * Rules (tests): Depend on $(tests-special).
35332         (xtests): Depend on $(xtests-special).
35333         * catgets/Makefile (tests): Change dependencies to ....
35334         (tests-special): ... additions to this variable.
35335         * conform/Makefile (tests): Change dependencies to ....
35336         (tests-special): ... additions to this variable.
35337         * elf/Makefile (tests): Change dependencies to ....
35338         (tests-special): ... additions to this variable.
35339         * grp/Makefile (tests): Change dependencies to ....
35340         (tests-special): ... additions to this variable.
35341         * iconv/Makefile (xtests): Change dependencies to ....
35342         (xtests-special): ... additions to this variable.
35343         * iconvdata/Makefile (tests): Change dependencies to ....
35344         (tests-special): ... additions to this variable.
35345         * intl/Makefile (tests): Change dependencies to ....
35346         (tests-special): ... additions to this variable.  Also add
35347         $(objpfx)tst-gettext.out.
35348         * io/Makefile (tests): Change dependencies to ....
35349         (tests-special): ... additions to this variable.
35350         * libio/Makefile (tests): Change dependencies to ....
35351         (tests-special): ... additions to this variable.
35352         * malloc/Makefile (tests): Change dependencies to ....
35353         (tests-special): ... additions to this variable.
35354         * misc/Makefile (tests): Change dependencies to ....
35355         (tests-special): ... additions to this variable.
35356         * nptl/Makefile (tests): Change dependencies to ....
35357         (tests-special): ... additions to this variable.
35358         * nptl_db/Makefile (tests): Change dependencies to ....
35359         (tests-special): ... additions to this variable.
35360         * posix/Makefile (tests): Change dependencies to ....
35361         (tests-special): ... additions to this variable.
35362         (xtests): Change dependencies to ....
35363         (xtests-special): ... additions to this variable.
35364         * resolv/Makefile (tests): Change dependencies to ....
35365         (tests-special): ... additions to this variable.
35366         (xtests): Change dependencies to ....
35367         (xtests-special): ... additions to this variable.
35368         * stdio-common/Makefile (tests): Change dependencies to ....
35369         (tests-special): ... additions to this variable.
35370         (do-tst-unbputc): Remove target.
35371         (do-tst-printf): Likewise.
35372         * stdlib/Makefile (tests): Change dependencies to ....
35373         (tests-special): ... additions to this variable.
35374         * string/Makefile (tests): Change dependencies to ....
35375         (tests-special): ... additions to this variable.
35376         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35377         (tests-special): ... additions to this variable.
35379         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35380         whole file.
35381         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35382         whole file.
35383         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35384         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35386         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35387         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35388         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35389         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35390         * conform/data/libgen.h-data [XPG3]: Likewise.
35391         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35392         * conform/data/ndbm.h-data [XPG3]: Likewise.
35393         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35394         * conform/data/netdb.h-data [XPG3]: Likewise.
35395         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35396         * conform/data/poll.h-data [XPG3]: Likewise.
35397         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35398         * conform/data/strings.h-data [XPG3]: Likewise.
35399         * conform/data/stropts.h-data [XPG3]: Likewise.
35400         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35401         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35402         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35403         Likewise.
35404         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35405         * conform/data/sys/time.h-data [XPG3]: Likewise.
35406         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35407         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35408         * conform/data/sys/un.h-data [XPG3]: Likewise.
35409         * conform/data/syslog.h-data [XPG3]: Likewise.
35410         * conform/data/ucontext.h-data [XPG3]: Likewise.
35411         * conform/data/utmpx.h-data [XPG3]: Likewise.
35412         * conform/data/varargs.h-data [UNIX98]: Enable file.
35414         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35416         * math/libm-test.inc (struct test_f_f_data): Move expected results
35417         into structure for each rounding mode.
35418         (struct test_ff_f_data): Likewise.
35419         (struct test_ff_f_data_nexttoward): Likewise.
35420         (struct test_fi_f_data): Likewise.
35421         (struct test_fl_f_data): Likewise.
35422         (struct test_if_f_data): Likewise.
35423         (struct test_fff_f_data): Likewise.
35424         (struct test_c_f_data): Likewise.
35425         (struct test_f_f1_data): Likewise.
35426         (struct test_fF_f1_data): Likewise.
35427         (struct test_ffI_f1_data): Likewise.
35428         (struct test_c_c_data): Likewise.
35429         (struct test_cc_c_data): Likewise.
35430         (struct test_f_i_data): Likewise.
35431         (struct test_ff_i_data): Likewise.
35432         (struct test_f_l_data): Likewise.
35433         (struct test_f_L_data): Likewise.
35434         (struct test_fFF_11_data): Likewise.
35435         (RM_): New macro.
35436         (RM_FE_DOWNWARD): Likewise.
35437         (RM_FE_TONEAREST): Likewise.
35438         (RM_FE_TOWARDZERO): Likewise.
35439         (RM_FE_UPWARD): Likewise.
35440         (RUN_TEST_LOOP_f_f): Update references to expected results.
35441         (RUN_TEST_LOOP_2_f): Likewise.
35442         (RUN_TEST_LOOP_fff_f): Likewise.
35443         (RUN_TEST_LOOP_c_f): Likewise.
35444         (RUN_TEST_LOOP_f_f1): Likewise.
35445         (RUN_TEST_LOOP_fF_f1): Likewise.
35446         (RUN_TEST_LOOP_fI_f1): Likewise.
35447         (RUN_TEST_LOOP_ffI_f1): Likewise.
35448         (RUN_TEST_LOOP_c_c): Likewise.
35449         (RUN_TEST_LOOP_cc_c): Likewise.
35450         (RUN_TEST_LOOP_f_i): Likewise.
35451         (RUN_TEST_LOOP_f_i_tg): Likewise.
35452         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35453         (RUN_TEST_LOOP_f_b): Likewise.
35454         (RUN_TEST_LOOP_f_b_tg): Likewise.
35455         (RUN_TEST_LOOP_f_l): Likewise.
35456         (RUN_TEST_LOOP_f_L): Likewise.
35457         (RUN_TEST_LOOP_fFF_11): Likewise.
35458         * math/gen-libm-test.pl (parse_args): Output four copies of
35459         expected results for each test.
35461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35462         (__ASSUME_UTIMES): Remove.
35463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35464         (__ASSUME_UTIMES): Likewise.
35466         * math/gen-auto-libm-tests.c: Update comment on output format.
35467         (output_for_one_input_case): Generate before-rounding and
35468         after-rounding information as conditions on output flags not
35469         floating-point format.
35470         * math/auto-libm-test-out: Regenerated.
35471         * math/gen-libm-test.pl (cond_value): New function.
35472         (or_cond_value): Use cond_value.
35473         (generate_testfile): Handle conditional exceptions.
35475 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35477         * math/libm-test.inc (max_valid_error): New variable.
35478         (init_max_error): Take new argument specifying whether function
35479         results are exactly determined.  Set max_valid_error and bound
35480         other variables for errors based on this argument.
35481         (set_max_error): Do not record results above max_valid_error.
35482         (check_float_internal): Only accept errors of up to 0.5ulps if
35483         also at most max_valid_error.
35484         (START): Take new argument EXACT and pass it to init_max_error.
35485         (acos_test): Update call to START.
35486         (acos_test_tonearest): Likewise.
35487         (acos_test_towardzero): Likewise.
35488         (acos_test_downward): Likewise.
35489         (acos_test_upward): Likewise.
35490         (acosh_test): Likewise.
35491         (asin_test): Likewise.
35492         (asin_test_tonearest): Likewise.
35493         (asin_test_towardzero): Likewise.
35494         (asin_test_downward): Likewise.
35495         (asin_test_upward): Likewise.
35496         (asinh_test): Likewise.
35497         (atan_test): Likewise.
35498         (atanh_test): Likewise.
35499         (atan2_test): Likewise.
35500         (cabs_test): Likewise.
35501         (cacos_test): Likewise.
35502         (cacosh_test): Likewise.
35503         (carg_test): Likewise.
35504         (casin_test): Likewise.
35505         (casinh_test): Likewise.
35506         (catan_test): Likewise.
35507         (catanh_test): Likewise.
35508         (cbrt_test): Likewise.
35509         (ccos_test): Likewise.
35510         (ccosh_test): Likewise.
35511         (ceil_test): Likewise.
35512         (cexp_test): Likewise.
35513         (cimag_test): Likewise.
35514         (clog_test): Likewise.
35515         (clog10_test): Likewise.
35516         (conj_test): Likewise.
35517         (copysign_test): Likewise.
35518         (cos_test): Likewise.
35519         (cos_test_tonearest): Likewise.
35520         (cos_test_towardzero): Likewise.
35521         (cos_test_downward): Likewise.
35522         (cos_test_upward): Likewise.
35523         (cosh_test): Likewise.
35524         (cosh_test_tonearest): Likewise.
35525         (cosh_test_towardzero): Likewise.
35526         (cosh_test_downward): Likewise.
35527         (cosh_test_upward): Likewise.
35528         (cpow_test): Likewise.
35529         (cproj_test): Likewise.
35530         (creal_test): Likewise.
35531         (csin_test): Likewise.
35532         (csinh_test): Likewise.
35533         (csqrt_test): Likewise.
35534         (ctan_test): Likewise.
35535         (ctan_test_tonearest): Likewise.
35536         (ctan_test_towardzero): Likewise.
35537         (ctan_test_downward): Likewise.
35538         (ctan_test_upward): Likewise.
35539         (ctanh_test): Likewise.
35540         (ctanh_test_tonearest): Likewise.
35541         (ctanh_test_towardzero): Likewise.
35542         (ctanh_test_downward): Likewise.
35543         (ctanh_test_upward): Likewise.
35544         (erf_test): Likewise.
35545         (erfc_test): Likewise.
35546         (exp_test): Likewise.
35547         (exp_test_tonearest): Likewise.
35548         (exp_test_towardzero): Likewise.
35549         (exp_test_downward): Likewise.
35550         (exp_test_upward): Likewise.
35551         (exp10_test): Likewise.
35552         (exp10_test_tonearest): Likewise.
35553         (exp10_test_towardzero): Likewise.
35554         (exp10_test_downward): Likewise.
35555         (exp10_test_upward): Likewise.
35556         (pow10_test): Likewise.
35557         (exp2_test): Likewise.
35558         (expm1_test): Likewise.
35559         (expm1_test_tonearest): Likewise.
35560         (expm1_test_towardzero): Likewise.
35561         (expm1_test_downward): Likewise.
35562         (expm1_test_upward): Likewise.
35563         (fabs_test): Likewise.
35564         (fdim_test): Likewise.
35565         (floor_test): Likewise.
35566         (fma_test): Likewise.
35567         (fma_test_towardzero): Likewise.
35568         (fma_test_downward): Likewise.
35569         (fma_test_upward): Likewise.
35570         (fmax_test): Likewise.
35571         (fmin_test): Likewise.
35572         (fmod_test): Likewise.
35573         (fpclassify_test): Likewise.
35574         (frexp_test): Likewise.
35575         (hypot_test): Likewise.
35576         (ilogb_test): Likewise.
35577         (isfinite_test): Likewise.
35578         (finite_test): Likewise.
35579         (isgreater_test): Likewise.
35580         (isgreaterequal_test): Likewise.
35581         (isinf_test): Likewise.
35582         (isless_test): Likewise.
35583         (islessequal_test): Likewise.
35584         (islessgreater_test): Likewise.
35585         (isnan_test): Likewise.
35586         (isnormal_test): Likewise.
35587         (issignaling_test): Likewise.
35588         (isunordered_test): Likewise.
35589         (j0_test): Likewise.
35590         (j1_test): Likewise.
35591         (jn_test): Likewise.
35592         (ldexp_test): Likewise.
35593         (lgamma_test): Likewise.
35594         (gamma_test): Likewise.
35595         (lrint_test): Likewise.
35596         (lrint_test_tonearest): Likewise.
35597         (lrint_test_towardzero): Likewise.
35598         (lrint_test_downward): Likewise.
35599         (lrint_test_upward): Likewise.
35600         (llrint_test): Likewise.
35601         (llrint_test_tonearest): Likewise.
35602         (llrint_test_towardzero): Likewise.
35603         (llrint_test_downward): Likewise.
35604         (llrint_test_upward): Likewise.
35605         (log_test): Likewise.
35606         (log10_test): Likewise.
35607         (log1p_test): Likewise.
35608         (log2_test): Likewise.
35609         (logb_test): Likewise.
35610         (logb_test_downward): Likewise.
35611         (lround_test): Likewise.
35612         (llround_test): Likewise.
35613         (modf_test): Likewise.
35614         (nearbyint_test): Likewise.
35615         (nextafter_test): Likewise.
35616         (nexttoward_test): Likewise.
35617         (pow_test): Likewise.
35618         (pow_test_tonearest): Likewise.
35619         (pow_test_towardzero): Likewise.
35620         (pow_test_downward): Likewise.
35621         (pow_test_upward): Likewise.
35622         (remainder_test): Likewise.
35623         (drem_test): Likewise.
35624         (remainder_test_tonearest): Likewise.
35625         (drem_test_tonearest): Likewise.
35626         (remainder_test_towardzero): Likewise.
35627         (drem_test_towardzero): Likewise.
35628         (remainder_test_downward): Likewise.
35629         (drem_test_downward): Likewise.
35630         (remainder_test_upward): Likewise.
35631         (drem_test_upward): Likewise.
35632         (remquo_test): Likewise.
35633         (rint_test): Likewise.
35634         (rint_test_tonearest): Likewise.
35635         (rint_test_towardzero): Likewise.
35636         (rint_test_downward): Likewise.
35637         (rint_test_upward): Likewise.
35638         (round_test): Likewise.
35639         (scalb_test): Likewise.
35640         (scalbn_test): Likewise.
35641         (scalbln_test): Likewise.
35642         (signbit_test): Likewise.
35643         (sin_test): Likewise.
35644         (sin_test_tonearest): Likewise.
35645         (sin_test_towardzero): Likewise.
35646         (sin_test_downward): Likewise.
35647         (sin_test_upward): Likewise.
35648         (sincos_test): Likewise.
35649         (sinh_test): Likewise.
35650         (sinh_test_tonearest): Likewise.
35651         (sinh_test_towardzero): Likewise.
35652         (sinh_test_downward): Likewise.
35653         (sinh_test_upward): Likewise.
35654         (sqrt_test): Likewise.
35655         (sqrt_test_tonearest): Likewise.
35656         (sqrt_test_towardzero): Likewise.
35657         (sqrt_test_downward): Likewise.
35658         (sqrt_test_upward): Likewise.
35659         (tan_test): Likewise.
35660         (tan_test_tonearest): Likewise.
35661         (tan_test_towardzero): Likewise.
35662         (tan_test_downward): Likewise.
35663         (tan_test_upward): Likewise.
35664         (tanh_test): Likewise.
35665         (tgamma_test): Likewise.
35666         (trunc_test): Likewise.
35667         (y0_test): Likewise.
35668         (y1_test): Likewise.
35669         (yn_test): Likewise.
35670         (significand_test): Likewise.
35672         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35673         individual tests in comment.
35674         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35675         (prev_max_error): New variable.
35676         (prev_real_max_error): Likewise.
35677         (prev_imag_max_error): Likewise.
35678         (compare_ulp_data): Don't refer to test names in comment.
35679         (find_test_ulps): Remove function.
35680         (find_function_ulps): Likewise.
35681         (find_complex_function_ulps): Likewise.
35682         (init_max_error): Take function name as argument.  Look up ulps
35683         for that function.
35684         (print_ulps): Remove function.
35685         (print_max_error): Use prev_max_error instead of calling
35686         find_function_ulps.
35687         (print_complex_max_error): Use prev_real_max_error and
35688         prev_imag_max_error instead of calling find_complex_function_ulps.
35689         (check_float_internal): Take max_ulp parameter instead of calling
35690         find_test_ulps.  Don't call print_ulps.
35691         (check_float): Update call to check_float_internal.
35692         (check_complex): Update calls to check_float_internal.
35693         (START): Pass argument to init_max_error.
35694         * math/gen-libm-test.pl (%results): Don't include "kind"
35695         information.
35696         (parse_ulps): Don't handle ulps of individual tests.
35697         (print_ulps_file): Likewise.
35698         (output_ulps): Likewise.
35699         * math/README.libm-test: Update.
35700         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35701         individual tests.
35702         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35703         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35704         * sysdeps/arm/libm-test-ulps: Likewise.
35705         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35706         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35707         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35708         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35709         * sysdeps/microblaze/libm-test-ulps: Likewise.
35710         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35711         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35713         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35714         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35715         * sysdeps/sh/libm-test-ulps: Likewise.
35716         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35717         * sysdeps/tile/libm-test-ulps: Likewise.
35718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35720 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35722         * math/libm-test.inc (print_complex_max_error): Check separately
35723         whether real and imaginary errors are within allowed range and
35724         pass 0 to print_complex_function_ulps instead of value within
35725         allowed range.
35727 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35729         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35730         formatting.
35731         (get_handles_fopen): Likewise.
35732         (do_write_test): Likewise.
35734         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35736         * libio/fileops.c (do_ftell): Use cached offset when
35737         available.
35738         * libio/iofwide.c (do_ftell_wide): Likewise.
35739         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35740         _IO_file_attach.
35741         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35743         [BZ #16532]
35744         * libio/libioP.h (get_file_offset): New function.
35745         * libio/fileops.c (get_file_offset): Likewise.
35746         (do_ftell): Likewise.
35747         (_IO_new_file_seekoff): Split out ftell logic.
35748         * libio/wfileops.c (do_ftell_wide): Likewise.
35749         (_IO_wfile_seekoff): Split out ftell logic.
35750         * libio/tst-ftell-active-handler.c: New test case.
35751         * libio/Makefile (tests): Add it.
35753 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35755         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35756         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35758 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35760         [BZ #16639]
35761         * nscd/connections.c (nscd_init): Call do_exit.
35762         (start_threads): Call do_exit and notify_parent.
35763         (begin_drop_privileges): Call do_exit.
35764         (finish_drop_privileges): Likewise.
35765         * nscd/selinux.c (preserve_capabilities): Likewise.
35766         (install_real_capabilities): Likewise.
35767         (nscd_selinux_enabled): Likewise.
35768         (avc_create_thread): Likewise.
35769         (avc_alloc_lock): Likewise.
35770         (nscd_avc_init): Likewise.
35771         * nscd/nscd.c (parent_fd): New static variable.
35772         (main): Create a pipe between parent and child processes.
35773         Skip closing parent_fd.
35774         (monitor_child): New function.
35775         (do_exit): Likewise.
35776         (notify_parent): Likewise.
35777         * nscd/nscd.h (notify_parent): Likewise.
35778         (do_exit): Likewise.
35780 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35782         * malloc/malloc.c (__libc_calloc): Revert last change.
35784 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35788 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35790         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35792         implementation.
35793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35794         (__libc_ifunc_impl_list): Likewise.
35795         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35796         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35797         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35798         * string/strrchr.c: Define STRRCHR.
35800 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35802         * benchtest/bench-strtok.c (simple_strtok): Delete.
35803         (strtok_string): Use as benchmark.
35804         * string/strtok (STRTOK): New macro.
35806 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35808         * manual/threads.texi: Add header and standard comments to all
35809         functions.
35811         * elf/dl-lookup.c (check_match): New function.
35812         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35813         (do_lookup_x): Remove nested function check_match. Use non-nested
35814         function check_match.
35816 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35818         * csu/Makefile (generated, before-compile): Use += rather than =.
35819         * catgets/Makefile (generated, generated-dirs): Likewise.
35820         * debug/Makefile (generated): Likewise.
35821         * dlfcn/Makefile (generated): Likewise.
35822         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35823         * iconvdata/Makefile (before-compile, generated): Likewise.
35824         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35825         * libio/Makefile (generated): Likewise.
35826         * malloc/Makefile (generated): Likewise.
35827         * manual/Makefile (generated, generated-dirs): Likewise.
35828         * misc/Makefile (generated): Likewise.
35829         * posix/Makefile (generated): Likewise.
35830         * resolv/Makefile (generated): Likewise.
35831         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35832         * timezone/Makefile (generated, generated-dirs): Likewise.
35834         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35836 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35839         power8 implementation.
35840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35841         file: POWER8 llround ifunc implementation.
35842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35843         (__lllround): Add POWER8 implementation.
35844         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35845         POWER8 llround implementation.
35847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35848         power8 implementation.
35849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35850         file: POWER8 llrint ifunc implementation.
35851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35852         Add POWER8 implementation.
35853         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35854         POWER8 llrint implementation.
35856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35857         power8 implementation.
35858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35859         file: POWER8 finite ifunc implementation.
35860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35861         Add POWER8 implementation.
35862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35863         Likewise.
35864         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35865         POWER8 finite implementation.
35866         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35869         power8 implementation.
35870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35871         file: POWER8 isinf ifunc implementation.
35872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35873         POWER8 implementation.
35874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35875         Likewise.
35876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35877         isinf implementation.
35878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35880         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35881         (INIT_ARCH): Add hwcap2 initialization.
35882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35883         power8 implementation.
35884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35885         file: POWER8 isnan ifunc implementation.
35886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35887         POWER8 implementation.
35888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35889         Likewise.
35890         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35891         isnan implementation.
35892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35894 2014-02-27  Joey Ye  <joey.ye@arm.com>
35896         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35897         (_FP_NANFRAC_Q): Set to zero.
35899 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35901         [BZ #16623]
35902         * math/auto-libm-test-in: New test inputs.
35903         * math/auto-libm-test-out: Regenerate.
35904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35905         and DA.
35906         (__cos): Likewise.
35907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35909 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35911         * scripts/evaluate-test.sh: Take new argument indicating whether
35912         failure is expected.
35913         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35914         indicating whether failure is expected.
35915         * conform/Makefile (test-xfail-run-conformtest): New variable.
35916         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35917         level.
35918         * posix/Makefile (test-xfail-annexc): New variable.
35919         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35921 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35923         * argp/Makefile: Include Makeconfig immediately after defining
35924         subdir.
35925         * assert/Makefile: Likewise.
35926         * benchtests/Makefile: Likewise.
35927         * catgets/Makefile: Likewise.
35928         * conform/Makefile: Likewise.
35929         * crypt/Makefile: Likewise.
35930         * csu/Makefile: Likewise.
35931         (all): Remove target.
35932         * ctype/Makefile: Include Makeconfig immediately after defining
35933         subdir.
35934         * debug/Makefile: Likewise.
35935         * dirent/Makefile: Likewise.
35936         * dlfcn/Makefile: Likewise.
35937         * gmon/Makefile: Likewise.
35938         * gnulib/Makefile: Likewise.
35939         * grp/Makefile: Likewise.
35940         * gshadow/Makefile: Likewise.
35941         * hesiod/Makefile: Likewise.
35942         * hurd/Makefile: Likewise.
35943         (all): Remove target.
35944         * iconvdata/Makefile: Include Makeconfig immediately after
35945         defining subdir.
35946         * inet/Makefile: Likewise.
35947         * intl/Makefile: Likewise.
35948         * io/Makefile: Likewise.
35949         * libio/Makefile: Likewise.
35950         (all): Remove target.
35951         * locale/Makefile: Include Makeconfig immediately after defining
35952         subdir.
35953         * login/Makefile: Likewise.
35954         * mach/Makefile: Likewise.
35955         (all): Remove target.
35956         * malloc/Makefile: Include Makeconfig immediately after defining
35957         subdir.
35958         (all): Remove target.
35959         * manual/Makefile: Include Makeconfig immediately after defining
35960         subdir.
35961         * math/Makefile: Likewise.
35962         * misc/Makefile: Likewise.
35963         * nis/Makefile: Likewise.
35964         * nss/Makefile: Likewise.
35965         * po/Makefile: Likewise.
35966         (all): Remove target.
35967         * posix/Makefile: Include Makeconfig immediately after defining
35968         subdir.
35969         * pwd/Makefile: Likewise.
35970         * resolv/Makefile: Likewise.
35971         * resource/Makefile: Likewise.
35972         * rt/Makefile: Likewise.
35973         * setjmp/Makefile: Likewise.
35974         * shadow/Makefile: Likewise.
35975         * signal/Makefile: Likewise.
35976         * socket/Makefile: Likewise.
35977         * soft-fp/Makefile: Likewise.
35978         * stdio-common/Makefile: Likewise.
35979         * stdlib/Makefile: Likewise.
35980         * streams/Makefile: Likewise.
35981         * string/Makefile: Likewise.
35982         * sunrpc/Makefile: Likewise.
35983         (all): Remove target.
35984         * sysvipc/Makefile: Include Makeconfig immediately after defining
35985         subdir.
35986         * termios/Makefile: Likewise.
35987         * time/Makefile: Likewise.
35988         * timezone/Makefile: Likewise.
35989         (all): Remove target.
35990         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35991         subdir.
35992         * wctype/Makefile: Likewise.
35994 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35996         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35997         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35998         (libc_feholdexcept_setround_mips): Ditto.
35999         (libc_feholdsetround): New.
36000         (libc_feholdsetroundf): New.
36001         (libc_feholdsetroundl): New.
36002         (libc_feupdateenv_test_mips): New.
36003         (libc_feupdateenv_test): New.
36004         (libc_feupdateenv_testf): New.
36005         (libc_feupdateenv_testl): New.
36006         (libc_feresetround): New.
36007         (libc_feresetroundf): New.
36008         (libc_feresetroundl): New.
36009         (libc_fetestexcept_mips): New.
36010         (libc_fetestexcept): New.
36011         (libc_fetestexceptf): New.
36012         (libc_fetestexceptl): New.
36013         (HAVE_RM_CTX): New.
36014         (libc_feholdexcept_setround_mips_ctx): New.
36015         (libc_feholdexcept_setround_ctx): New.
36016         (libc_feholdexcept_setroundf_ctx): New.
36017         (libc_feholdexcept_setroundl_ctx): New.
36018         (libc_fesetenv_mips_ctx): New.
36019         (libc_fesetenv_ctx): New.
36020         (libc_fesetenv_ctxf): New.
36021         (libc_fesetenv_ctxl): New.
36022         (libc_feupdateenv_mips_ctx): New.
36023         (libc_feupdateenv_ctx): New.
36024         (libc_feupdateenvf_ctx): New.
36025         (libc_feupdateenvl_ctx): New.
36026         (libc_feholdsetround_mips_ctx): New.
36027         (libc_feholdsetround_ctx): New.
36028         (libc_feholdsetroundf_ctx): New.
36029         (libc_feholdsetroundl_ctx): New.
36030         (libc_feresetround_mips_ctx): New.
36031         (libc_feresetround_ctx): New.
36032         (libc_feresetroundf_ctx): New.
36033         (libc_feresetroundl_ctx): New.
36035 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36037         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36039         * manual/ipc.texi: New file.
36040         * manual/Makefile (chapters): Add ipc.
36041         * manual/job.texi: Add "Inter-Process Communication" to next.
36042         * manual/process.texi: Add "Inter-Process Communication" to prev.
36044 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36048 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36050         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36052         * manual/arith.texi: Fix spaces after sentences.
36053         * manual/charset.texi: Likewise.
36054         * manual/errno.texi: Likewise.
36055         * manual/install.texi: Likewise.
36056         * manual/llio.texi: Likewise.
36057         * manual/locale.texi: Likewise.
36058         * manual/maint.texi: Likewise.
36059         * manual/math.texi: Likewise.
36060         * manual/memory.texi: Likewise.
36061         * manual/message.texi: Likewise.
36062         * manual/probes.texi: Likewise.
36063         * manual/resource.texi: Likewise.
36064         * manual/signal.texi: Likewise.
36065         * manual/socket.texi: Likewise.
36066         * manual/stdio.texi: Likewise.
36067         * manual/string.texi: Likewise.
36068         * manual/time.texi: Likewise.
36069         * manual/users.texi: Likewise.
36071 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36073         [BZ #16632]
36074         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36075         _DEFAULT_SOURCE is defined.
36077 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36078             Carlos O'Donell  <carlos@redhat.com>
36080         [BZ #16613]
36081         * elf/dl-tls.c (_dl_count_modids): New function.
36082         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36083         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36084         audit library and increment generation counter.
36085         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36086         * elf/tst-audit9.c: New file.
36087         * elf/tst-auditmod9a.c: New file.
36088         * elf/tst-auditmod9b.c: New file.
36089         * elf/Makefile: Add rules to build and run tst-audit9.
36091 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36093         [BZ #15347]
36094         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36096 2014-02-25  Will Newton  <will.newton@linaro.org>
36098         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36099         (__longjmp): Restore sp and lr before restoring callee
36100         saved registers.  Add longjmp and longjmp_target
36101         SystemTap probe point.
36102         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36103         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36104         Define to zero to match jmpbuf layout.
36105         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36106         (__sigsetjmp): Save sp and lr before saving callee
36107         saved registers.  Add setjmp SystemTap probe point.
36109 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36111         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36113 2014-02-24  Andreas Schwab  <schwab@suse.de>
36115         [BZ #15804]
36116         * elf/pldd.c (wait_for_ptrace_stop): New function.
36117         (main): Call it after attaching.
36119 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36121         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36122         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36123         Versions files is now verboten.
36124         * hurd/Versions (libc: GLIBC_2.0):
36125         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36126         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36127         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36128         * mach/Versions: Likewise.
36130         * csu/Versions: Remove unused %include.
36131         * resolv/Versions: Likewise.
36133 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36135         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36136         ($(objpfx)check-local-headers.out): Likewise.
36137         ($(objpfx)begin-end-check.out): Likewise.
36138         * Makerules (check-abi-%.out): Likewise.
36139         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36140         ($(objpfx)test2.cat): Likewise.
36141         ($(objpfx)de/libc.cat): Likewise.
36142         ($(objpfx)test-gencat.out): Likewise.
36143         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36144         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36145         ($(objpfx)noload-mem): Likewise.
36146         ($(objpfx)tst-pathopt.out): Likewise.
36147         ($(objpfx)tst-rtld-load-self.out): Likewise.
36148         ($(objpfx)tst-array1-cmp.out): Likewise.
36149         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36150         ($(objpfx)tst-array2-cmp.out): Likewise.
36151         ($(objpfx)tst-array3-cmp.out): Likewise.
36152         ($(objpfx)tst-array4-cmp.out): Likewise.
36153         ($(objpfx)tst-array5-cmp.out): Likewise.
36154         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36155         ($(objpfx)check-textrel.out): Likewise.
36156         ($(objpfx)check-execstack.out): Likewise.
36157         ($(objpfx)check-localplt.out): Likewise.
36158         ($(objpfx)order2-cmp.out): Likewise.
36159         ($(objpfx)tst-leaks1-mem): Likewise.
36160         ($(objpfx)tst-leaks1-static-mem): Likewise.
36161         ($(objpfx)tst-initorder-cmp.out): Likewise.
36162         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36163         ($(objpfx)tst-unused-dep.out): Likewise.
36164         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36166         * iconv/Makefile (test-iconvconfig): Likewise.
36167         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36168         ($(objpfx)iconv-test.out): Likewise.
36169         ($(objpfx)tst-tables.out): Likewise.
36170         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36171         ($(objpfx)tst-gettext.out): Likewise.
36172         ($(objpfx)tst-translit.out): Likewise.
36173         ($(objpfx)tst-gettext2.out): Likewise.
36174         ($(objpfx)tst-gettext4.out): Likewise.
36175         ($(objpfx)tst-gettext6.out): Likewise.
36176         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36177         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36178         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36179         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36180         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36181         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36182         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36183         ($(objpfx)wordexp-tst.out): Likewise.
36184         ($(objpfx)annexc.out): Likewise.
36185         ($(objpfx)tst-fnmatch-mem): Likewise.
36186         ($(objpfx)bug-regex2-mem): Likewise.
36187         ($(objpfx)bug-regex14-mem): Likewise.
36188         ($(objpfx)bug-regex21-mem): Likewise.
36189         ($(objpfx)bug-regex31-mem): Likewise.
36190         ($(objpfx)tst-vfork3-mem): Likewise.
36191         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36192         ($(objpfx)tst-pcre-mem): Likewise.
36193         ($(objpfx)tst-boost-mem): Likewise.
36194         ($(objpfx)tst-getconf.out): Likewise.
36195         ($(objpfx)bug-ga2-mem): Likewise.
36196         ($(objpfx)bug-glob2-mem): Likewise.
36197         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36198         ($(objpfx)mtrace-tst-leaks2): Likewise.
36199         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36200         ($(objpfx)tst-printf.out): Likewise.
36201         ($(objpfx)tst-setvbuf1.out): Likewise.
36202         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36203         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36204         ($(objpfx)tst-fmtmsg.out): Likewise.
36205         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36206         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36208         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36209         * bits/sigaction.h [__USE_MISC]: Likewise.
36210         * bits/waitstatus.h: Update #endif comments.
36211         * ctype/ctype.h: Likewise.
36212         * dirent/dirent.h: Likewise.
36213         [__USE_MISC]: Remove redundant conditionals.
36214         * grp/grp.h: Update #endif comments.
36215         [__USE_GNU]: Remove redundant conditionals.
36216         [__USE_MISC]: Likewise.
36217         * inet/netinet/in.h [__USE_GNU]: Likewise.
36218         * io/sys/stat.h [__USE_MISC]: Likewise.
36219         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36220         * libio/bits/stdio.h: Update #endif comments.
36221         [__USE_MISC]: Remove redundant conditionals.
36222         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36223         * libio/stdio.h: Update #endif comments.
36224         [__USE_MISC]: Remove redundant conditionals.
36225         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36226         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36227         * math/math.h: Update #else and #endif comments.
36228         [__USE_MISC]: Remove redundant conditionals.
36229         * misc/sys/uio.h: Update #endif comments.
36230         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36231         * posix/glob.h [__USE_MISC]: Likewise.
36232         * posix/sys/types.h: Update #endif comments.
36233         [__USE_MISC]: Remove redundant conditionals.
36234         * posix/sys/wait.h: Update #endif comments.
36235         [__USE_MISC]: Remove redundant conditionals.
36236         * posix/unistd.h: Update #endif comments.
36237         [__USE_MISC]: Remove redundant conditionals.
36238         * pwd/pwd.h [__USE_GNU]: Likewise.
36239         [__USE_MISC]: Likewise.
36240         * resolv/netdb.h [__USE_GNU]: Likewise.
36241         * signal/signal.h: Update #endif comments.
36242         [__USE_MISC]: Remove redundant conditionals.
36243         * stdlib/stdlib.h: Update #else and #endif comments.
36244         [__USE_MISC]: Remove redundant conditionals.
36245         [__USE_GNU]: Likewise.
36246         * string/bits/string2.h [__USE_MISC]: Likewise.
36247         * string/string.h: Update #endif comments.
36248         [__USE_MISC]: Remove redundant conditionals.
36249         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36250         Likewise.
36251         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36252         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36253         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36254         Likewise.
36255         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36258         comments.
36259         [__USE_MISC]: Remove redundant conditionals.
36260         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36261         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36262         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36263         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36264         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36265         Likewise.
36266         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36267         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36268         Likewise.
36269         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36270         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36271         Likewise.
36272         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36273         Likewise.
36274         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36275         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36276         Likewise.
36277         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36278         Likewise.
36279         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36280         * sysdeps/x86/bits/string.h: Update #endif comments.
36281         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36282         conditionals.
36283         * time/sys/time.h: Update #endif comments.
36284         * time/time.h: Likewise.
36285         [__USE_MISC]: Remove redundant conditionals.
36287 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36289         [BZ #16600]
36290         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36292 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36294         * Versions.def (librt): Add GLIBC_2.17.
36296 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36298         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36299         synonym for _SYS_AUXV_H to allow direct inclusion.
36300         * sysdeps/sparc/bits/hwcap.h: Likewise.
36301         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36302         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36303         * sysdeps/sparc/sysdep.h: Likewise.
36305 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36307         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36309 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36311         * benchtests/bench-strrchr.c: Print length instead of position.
36313 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36315         [BZ #16611]
36316         * sysdeps/unix/sysv/linux/kernel-features.h
36317         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36318         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36319         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36320         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36321         Likewise.
36322         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36323         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36324         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36325         (__ASSUME_SENDMMSG): Define instead of using previous
36326         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36328         (__ASSUME_SENDMMSG_SYSCALL): Define.
36329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36330         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36334         Likewise.
36335         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36336         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36337         Likewise.
36338         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36339         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36340         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36341         [__ASSUME_SENDMMSG]: Change conditionals to
36342         [__ASSUME_SENDMMSG_SOCKETCALL].
36343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36344         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36345         Define.
36346         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36347         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36348         Likewise.
36349         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36350         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36351         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36352         [!__ASSUME_SENDMMSG]: Change conditional to
36353         [!__ASSUME_SENDMMSG_SOCKETCALL].
36354         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36356         Define.
36358         [BZ #16610]
36359         * sysdeps/unix/sysv/linux/kernel-features.h
36360         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36361         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36362         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36363         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36364         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36365         [__i386__ || __sparc__]
36366         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36367         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36368         (__ASSUME_RECVMMSG): Define instead of using previous
36369         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36370         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36371         (__ASSUME_RECVMMSG_SYSCALL): Define.
36372         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36374         Likewise.
36375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36377         Likewise.
36378         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36380         Likewise.
36381         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36382         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36383         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36384         [__ASSUME_RECVMMSG]: Change condition to
36385         [__ASSUME_RECVMMSG_SOCKETCALL].
36386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36387         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36388         Define.
36389         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36390         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36392         Likewise.
36393         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36394         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36395         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36396         [!__ASSUME_RECVMMSG]: Change condition to
36397         [!__ASSUME_RECVMMSG_SOCKETCALL].
36398         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36399         (__ASSUME_RECVMMSG_SYSCALL): Define.
36401         [BZ #16609]
36402         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36403         __powerpc__ || __s390__ || __sh__ || __sparc__]
36404         (__ASSUME_SOCKETCALL): Define.
36405         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36406         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36407         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36408         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36409         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36410         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36411         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36412         (__ASSUME_ACCEPT4): Define instead of using previous
36413         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36414         __powerpc__ || __sparc__ || __s390__)] condition.
36415         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36416         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36417         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36418         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36419         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36420         [!__ASSUME_ACCEPT4]: Change condition to
36421         [!__ASSUME_ACCEPT4_SOCKETCALL].
36422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36423         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36424         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36426         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36427         __ASSUME_ACCEPT4_SYSCALL.
36428         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36429         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36430         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36431         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36432         __ASSUME_ACCEPT4_SYSCALL.
36433         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36434         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36435         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36436         [__ASSUME_ACCEPT4]: Change condition to
36437         [__ASSUME_ACCEPT4_SOCKETCALL].
36438         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36439         (__ASSUME_SOCKETCALL): Define.
36440         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36442         (__ASSUME_SOCKETCALL): Define.
36443         (__ASSUME_ACCEPT4): Remove.
36444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36445         Define.
36446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36447         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36448         Likewise.
36449         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36450         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36452         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36453         macro.
36454         (HWCAP_ARM_LPAE): Likewise.
36455         (HWCAP_ARM_EVTSTRM): Likewise.
36456         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36457         Add vpfd32, lpae and evtstrm.
36458         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36459         Increase to 22.
36461 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36463         * math/auto-libm-test-in: Add tests of clog10.
36464         * math/auto-libm-test-out: Regenerated.
36465         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36466         * sysdeps/i386/fpu/libm-test-ulps: Update.
36467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36469 2014-02-18  Andreas Schwab  <schwab@suse.de>
36471         [BZ #16574]
36472         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36473         Store non-zero if the second buffer was newly allocated.
36474         (send_dg): Likewise.
36475         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36476         to send_vc and send_dg.
36477         (res_nsend): Pass NULL for ansp2_malloced.
36478         * resolv/res_query.c (__libc_res_nquery): Add parameter
36479         answerp2_malloced and pass it down to __libc_res_nsend.
36480         (res_nquery): Pass additional NULL to __libc_res_nquery.
36481         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36482         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36483         second answer buffer if answerp2_malloced was set.
36484         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36485         (__libc_res_nquerydomain): Add parameter
36486         answerp2_malloced and pass it down to __libc_res_nquery.
36487         (res_nquerydomain): Pass additional NULL to
36488         __libc_res_nquerydomain.
36489         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36490         additional NULL to __libc_res_nsend and __libc_res_nquery.
36491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36492         additional NULL to __libc_res_nsearch.
36493         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36494         parameter of __libc_res_nsearch to check for separately allocated
36495         second buffer.
36496         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36497         __libc_res_nquery.
36498         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36499         additional NULL to __libc_res_nquery.
36500         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36501         __libc_res_nsearch.
36502         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36503         * include/resolv.h: Update prototypes of __libc_res_nquery,
36504         __libc_res_nsearch, __libc_res_nsend.
36506 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36508         * math/auto-libm-test-in: Add tests of fma.
36509         * math/auto-libm-test-out: Regenerated.
36510         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36511         (fma_towardzero_test_data): Likewise.
36512         (fma_downward_test_data): Likewise.
36513         (fma_upward_test_data): Likewise.
36514         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36515         mpc_mode.
36516         (rounding_modes): Add values for new field.
36517         (func_calc_method): Add value mpfr_fff_f.
36518         (func_calc_desc): Add mpfr_fff_f union field.
36519         (test_function): Add field exact_args.
36520         (FUNC): Add macro argument EXACT_ARGS.
36521         (FUNC_mpfr_f_f): Update call to FUNC.
36522         (FUNC_mpfr_f_f): Likewise.
36523         (FUNC_mpfr_ff_f): Likewise.
36524         (FUNC_mpfr_if_f): Likewise.
36525         (FUNC_mpc_c_f): Likewise.
36526         (FUNC_mpc_c_c): Likewise.
36527         (test_functions): Add fma.  Update calls to FUNC.
36528         (handle_input_arg): Add argument exact_args.
36529         (add_test): Update call to handle_input_arg.
36530         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36531         (output_for_one_input_case): Update call to calc_generic_results.
36532         Recalculate exact zero results in each rounding mode.
36534         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36535         non-negative before setting low bit.
36536         * math/auto-libm-test-in: Mark one asin test possibly having
36537         spurious underflow.
36538         * math/auto-libm-test-out: Regenerated.
36539         * sysdeps/i386/fpu/libm-test-ulps: Update.
36540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36542 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36544         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36545         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36546         ports/sysdeps/unix/sysv/linux/microblaze.
36547         * README: Add missing listing for microblaze*-*-linux-gnu.
36549 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36551         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36552         duplicate code
36554 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36556         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36557         * sysdeps/unix/sysv/linux/ia64: Move directory from
36558         ports/sysdeps/unix/sysv/linux/ia64.
36559         * README: Update listing for ia64-*-linux-gnu.
36561 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36562             Joseph Myers  <joseph@codesourcery.com>
36564         * Makeconfig (test-name): New variable.
36565         (evaluate-test): Likewise.
36566         * Makerules (do-test-clean): Remove .test-result files.
36567         (common-mostlyclean): Likewise.
36568         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36569         * scripts/evaluate-test.sh: New file.
36571 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36573         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36574         separate $(objpfx)tst-fopenloc-cmp.out and
36575         $(objpfx)tst-fopenloc-mem.out targets.
36576         (tests): Update dependencies.
36577         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36578         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36579         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36580         (tst-rxspencer-no-utf8-ARGS): New variable.
36581         (tst-rxspencer-no-utf8-ENV): Likewise.
36582         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36583         instead of $(objpfx)tst-rxspencer-mem.
36584         ($(objpfx)tst-rxspencer-mem): Change target to
36585         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36586         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36587         * posix/tst-rxspencer-no-utf8.c: New file.
36589         * elf/Makefile ($(objpfx)order.out): Remove rule.
36590         [$(run-built-tests) = yes] (tests): Depend on
36591         $(objpfx)order-cmp.out.
36592         ($(objpfx)order-cmp.out): New rule.
36593         [$(run-built-tests) = yes] (tests): Depend on
36594         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36595         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36596         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36597         $(objpfx)tst-array5-static-cmp.out.
36598         ($(objpfx)tst-array1.out): Remove rule.
36599         ($(objpfx)tst-array1-cmp.out): New rule.
36600         ($(objpfx)tst-array1-static.out): Remove rule.
36601         ($(objpfx)tst-array1-static-cmp.out): New rule.
36602         ($(objpfx)tst-array2.out): Remove rule.
36603         ($(objpfx)tst-array2-cmp.out): New rule.
36604         ($(objpfx)tst-array3.out): Remove rule.
36605         ($(objpfx)tst-array3-cmp.out): New rule.
36606         ($(objpfx)tst-array4.out): Remove rule.
36607         ($(objpfx)tst-array4-cmp.out): New rule.
36608         ($(objpfx)tst-array5.out): Remove rule.
36609         ($(objpfx)tst-array5-cmp.out): New rule.
36610         ($(objpfx)tst-array5-static.out): Remove rule.
36611         ($(objpfx)tst-array5-static-cmp.out): New rule.
36612         [$(run-built-tests) = yes] (tests): Depend on
36613         $(objpfx)order2-cmp.out.
36614         ($(objpfx)order2.out): Remove rule.
36615         ($(objpfx)order2-cmp.out): New rule.
36616         ($(objpfx)tst-initorder.out): Remove rule.
36617         [$(run-built-tests) = yes] (tests): Depend on
36618         $(objpfx)tst-initorder-cmp.out.
36619         ($(objpfx)tst-initorder-cmp.out): New rule.
36620         ($(objpfx)tst-initorder2.out): Remove rule.
36621         [$(run-built-tests) = yes] (tests): Depend on
36622         $(objpfx)tst-initorder2-cmp.out.
36623         ($(objpfx)tst-initorder2-cmp.out): New rule.
36624         [$(run-built-tests) = yes] (tests): Depend on
36625         $(objpfx)tst-unused-dep-cmp.out.
36626         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36627         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36628         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36629         on $(objpfx)tst-setvbuf1-cmp.out.
36630         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36631         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36632         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36633         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36634         ($(objpfx)tst-svc.out): Remove rule.
36635         ($(objpfx)tst-svc-cmp.out): New rule.
36637 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36639         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36640         * ctype/ctype.h [__USE_MISC]: Likewise.
36641         * dirent/dirent.h [__USE_MISC]: Likewise.
36642         * grp/grp.h [__USE_MISC]: Likewise.
36643         * io/fcntl.h [__USE_MISC]: Likewise.
36644         * io/sys/stat.h [__USE_MISC]: Likewise.
36645         * libio/stdio.h [__USE_MISC]: Likewise.
36646         * posix/unistd.h [__USE_MISC]: Likewise.
36647         * pwd/pwd.h [__USE_MISC]: Likewise.
36648         * stdlib.h [__USE_MISC]: Likewise.
36649         * string/bits/string2.h [__USE_MISC]: Likewise.
36650         * string/string.h [__USE_MISC]: Likewise.
36651         * time/time.h [__USE_MISC]: Likewise.
36653 2014-02-13  Andreas Schwab  <schwab@suse.de>
36655         [BZ #16574]
36656         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36657         second answer buffer if it was separately allocated.
36659 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36661         * sysdeps/mips/math-tests.h: Include <features.h>.
36662         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36663         (ROUNDING_TESTS_long_double): Do not define.
36664         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36665         (EXCEPTION_TESTS_long_double): Likewise.
36666         * sysdeps/mips/mips64/libm-test-ulps: Update.
36668         * include/features.h (__USE_BSD): Remove macro definitions.
36669         (__USE_SVID): Likewise.
36670         (_BSD_SOURCE): Likewise.
36671         (_SVID_SOURCE): Likewise.
36672         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36673         from definition of _DEFAULT_SOURCE.
36674         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36675         [_DEFAULT_SOURCE].
36676         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36677         * bits/mman.h [__USE_BSD]: Likewise.
36678         * bits/termios.h [__USE_BSD]: Likewise.
36679         * bits/waitstatus.h [__USE_BSD]: Likewise.
36680         * ctype/ctype.h [__USE_SVID]: Likewise.
36681         * dirent/dirent.h [__USE_BSD]: Likewise.
36682         * grp/grp.h [__USE_SVID]: Likewise.
36683         [__USE_BSD]: Likewise.
36684         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36685         * io/fcntl.h [__USE_BSD]: Likewise.
36686         * io/ftw.h [__USE_BSD]: Likewise.
36687         * io/sys/stat.h [__USE_BSD]: Likewise.
36688         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36689         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36690         * libio/stdio.h [__USE_SVID]: Likewise.
36691         [__USE_BSD]: Likewise.
36692         * math/math.h [__USE_SVID]: Likewise.
36693         [__USE_BSD]: Likewise.
36694         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36695         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36696         * misc/search.h [__USE_SVID]: Likewise.
36697         * misc/sys/mman.h [__USE_BSD]: Likewise.
36698         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36699         * misc/sys/uio.h [__USE_BSD]: Likewise.
36700         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36701         * posix/glob.h [__USE_BSD]: Likewise.
36702         * posix/regex.h [__USE_BSD]: Likewise.
36703         * posix/sys/types.h [__USE_BSD]: Likewise.
36704         [__USE_SVID]: Likewise.
36705         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36706         * posix/sys/wait.h [__USE_BSD]: Likewise.
36707         [__USE_SVID]: Likewise.
36708         * posix/unistd.h [__USE_BSD]: Likewise.
36709         [__USE_SVID]: Likewise.
36710         * pwd/pwd.h [__USE_SVID]: Likewise.
36711         * resolv/netdb.h [__USE_BSD]: Likewise.
36712         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36713         * signal/signal.h [__USE_BSD]: Likewise.
36714         [__USE_SVID]: Likewise.
36715         * socket/sys/socket.h [__USE_BSD]: Likewise.
36716         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36717         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36718         [__USE_SVID]: Likewise.
36719         * string/bits/string2.h [__USE_BSD]: Likewise.
36720         [__USE_SVID]: Likewise.
36721         * string/bits/string3.h [__USE_BSD]: Likewise.
36722         * string/endian.h [__USE_BSD]: Likewise.
36723         * string/string.h [__USE_SVID]: Likewise.
36724         [__USE_BSD]: Likewise.
36725         * string/strings.h [__USE_BSD]: Likewise.
36726         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36727         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36728         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36729         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36730         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36731         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36732         Likewise.
36733         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36734         Likewise.
36735         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36736         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36737         Likewise.
36738         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36739         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36740         Likewise.
36741         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36742         Likewise.
36743         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36744         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36745         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36746         Likewise.
36747         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36748         Likewise.
36749         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36750         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36751         * termios/termios.h [__USE_BSD]: Likewise.
36752         * time/sys/time.h [__USE_BSD]: Likewise.
36753         * time/time.h [__USE_BSD]: Likewise.
36754         [__USE_SVID]: Likewise.
36756         * Makefile (subdir_targets): Remove subdir_lint.out.
36758         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36759         (do-tst-printf): Likewise.
36760         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36761         $(objpfx)tst-printf.out.
36763         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36765         * Makerules (check-abi-%): Change target to
36766         $(objpfx)check-abi-%.out.
36767         (check-abi target): Update dependencies.
36768         (check-abi-pattern variable): Redirect output of diff to $@.
36769         (check-abi variable): Likewise.
36770         * elf/Makefile (check-abi): Update dependencies.
36772         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36773         unused.
36774         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36775         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36776         subnormal range.
36777         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36778         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36779         value has largest subnormal exponent.
36780         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36781         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36782         * sysdeps/aarch64/soft-fp/sfp-machine.h
36783         (_FP_TININESS_AFTER_ROUNDING): New macro.
36784         * sysdeps/alpha/soft-fp/sfp-machine.h
36785         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36786         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36787         Likewise.
36788         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36789         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36790         * sysdeps/mips/soft-fp/sfp-machine.h
36791         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36792         * sysdeps/powerpc/soft-fp/sfp-machine.h
36793         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36794         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36795         Likewise.
36796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36797         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36799         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36800         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36801         Likewise.
36803 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36805         [BZ #16545]
36806         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36807         model 1.
36809 2014-02-12  Richard Henderson  <rth@redhat.com>
36811         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36812         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36813         * sysdeps/unix/sysv/linux/alpha: Move directory from
36814         ports/sysdeps/unix/sysv/linux/alpha.
36815         * README: Update listing for alpha-*-linux-gnu.
36817 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36819         * include/features.h: Update comment documenting feature test
36820         macros.
36821         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36822         _DEFAULT_SOURCE.
36823         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36824         (_SVID_SOURCE): Likewise.
36825         (_DEFAULT_SOURCE): Update description of default features.
36826         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36827         with _GNU_SOURCE.
36828         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36829         (S_ISVTX): Likewise.
36830         * manual/math.texi (Mathematical Constants): Likewise.
36831         * manual/signal.texi (Interrupted Primitives): Likewise.
36832         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36833         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36834         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36835         Don't refer to _SVID_SOURCE in warning text.
36837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36839         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36840         already defined.
36841         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36842         * sysdeps/mips/dl-lookup.c: Remove.
36843         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36845 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36847         [BZ #16447]
36848         * math/auto-libm-test-in: Add testcase for expl.
36849         * math/auto-libm-test-out: Regenerate.
36850         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36851         calculation of unsafe.
36852         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36854 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36856         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36857         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36858         ports/sysdeps/unix/sysv/linux/aarch64.
36859         * README: Update listing for aarch64*-*-linux-gnu.
36861 2014-02-11  Will Newton  <will.newton@linaro.org>
36863         * manual/probes.texi (Mathematical Function Probes): Use
36864         "triggered" instead of "hit".
36866         * manual/probes.texi (Internal Probes): Add documentation
36867         of setjmp, longjmp and longjmp_target probes.
36869         * include/stap-probe.h: Add comment about probe argument
36870         format.
36872         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36873         definition.  (tr_where, tr_freehook, tr_mallochook,
36874         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36876 2014-02-11  David S. Miller  <davem@davemloft.net>
36878         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36879         processing int_tests.
36881 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36883         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36884         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36885         * sysdeps/unix/sysv/linux/mips: Move directory from
36886         ports/sysdeps/unix/sysv/linux/mips.
36887         * README: Update listing for mips-*-linux-gnu and
36888         mips64-*-linux-gnu.
36890 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36892         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36893         * sysdeps/unix/sysv/linux/m68k: Move directory from
36894         ports/sysdeps/unix/sysv/linux/m68k.
36895         * README: Update listing for m68k-*-linux-gnu.
36897 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36899         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36900         * sysdeps/unix/sysv/linux/generic: Move directory from
36901         ports/sysdeps/unix/sysv/linux/generic.
36902         * sysdeps/unix/sysv/linux/tile: Move directory from
36903         ports/sysdeps/unix/sysv/linux/tile.
36904         * README: Update listing for tile*-*-linux-gnu.
36906 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36908         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36909         __builtin_expect.
36910         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36911         * catgets/open_catalog.c (__open_catalog): Likewise.
36912         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36913         * debug/confstr_chk.c: Likewise.
36914         * debug/fread_chk.c (__fread_chk): Likewise.
36915         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36916         * debug/getgroups_chk.c: Likewise.
36917         * debug/mbsnrtowcs_chk.c: Likewise.
36918         * debug/mbsrtowcs_chk.c: Likewise.
36919         * debug/mbstowcs_chk.c: Likewise.
36920         * debug/memcpy_chk.c: Likewise.
36921         * debug/memmove_chk.c: Likewise.
36922         * debug/mempcpy_chk.c: Likewise.
36923         * debug/memset_chk.c: Likewise.
36924         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36925         * debug/strcat_chk.c (__strcat_chk): Likewise.
36926         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36927         * debug/strncat_chk.c (__strncat_chk): Likewise.
36928         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36929         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36930         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36931         * debug/wcpncpy_chk.c: Likewise.
36932         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36933         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36934         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36935         * debug/wcsncpy_chk.c: Likewise.
36936         * debug/wcsnrtombs_chk.c: Likewise.
36937         * debug/wcsrtombs_chk.c: Likewise.
36938         * debug/wcstombs_chk.c: Likewise.
36939         * debug/wmemcpy_chk.c: Likewise.
36940         * debug/wmemmove_chk.c: Likewise.
36941         * debug/wmempcpy_chk.c: Likewise.
36942         * debug/wmemset_chk.c: Likewise.
36943         * dirent/scandirat.c (SCANDIRAT): Likewise.
36944         * dlfcn/dladdr1.c (dladdr1): Likewise.
36945         * dlfcn/dladdr.c (dladdr): Likewise.
36946         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36947         * dlfcn/dlerror.c (__dlerror): Likewise.
36948         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36949         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36950         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36951         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36952         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36953         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36954         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36955         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36956         Likewise.
36957         * elf/dl-conflict.c: Likewise.
36958         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36959         * elf/dl-dst.h: Likewise.
36960         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36961         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36963         * elf/dl-init.c (call_init, _dl_init): Likewise.
36964         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36965         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36966         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36967         Likewise.
36968         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36969         Likewise.
36970         * elf/dl-minimal.c (__libc_memalign): Likewise.
36971         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36972         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36973         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36974         * elf/dl-sym.c (do_sym): Likewise.
36975         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36976         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36977         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36978         * elf/dl-writev.h (_dl_writev): Likewise.
36979         * elf/ldconfig.c (search_dir): Likewise.
36980         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36981         (dl_main): Likewise.
36982         * elf/setup-vdso.h (setup_vdso): Likewise.
36983         * grp/compat-initgroups.c (compat_call): Likewise.
36984         * grp/fgetgrent.c (fgetgrent): Likewise.
36985         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36986         * grp/putgrent.c (putgrent): Likewise.
36987         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36988         Likewise.
36989         * hurd/hurdinit.c: Likewise.
36990         * iconvdata/8bit-gap.c (struct): Likewise.
36991         * iconvdata/ansi_x3.110.c : Likewise.
36992         * iconvdata/big5.c : Likewise.
36993         * iconvdata/big5hkscs.c : Likewise.
36994         * iconvdata/cp1255.c: Likewise.
36995         * iconvdata/cp1258.c : Likewise.
36996         * iconvdata/cp932.c : Likewise.
36997         * iconvdata/euc-cn.c: Likewise.
36998         * iconvdata/euc-jisx0213.c : Likewise.
36999         * iconvdata/euc-jp.c: Likewise.
37000         * iconvdata/euc-jp-ms.c : Likewise.
37001         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37002         * iconvdata/gb18030.c : Likewise.
37003         * iconvdata/gbbig5.c (const): Likewise.
37004         * iconvdata/gbgbk.c: Likewise.
37005         * iconvdata/gbk.c : Likewise.
37006         * iconvdata/ibm1364.c : Likewise.
37007         * iconvdata/ibm930.c : Likewise.
37008         * iconvdata/ibm932.c: Likewise.
37009         * iconvdata/ibm933.c : Likewise.
37010         * iconvdata/ibm935.c : Likewise.
37011         * iconvdata/ibm937.c : Likewise.
37012         * iconvdata/ibm939.c : Likewise.
37013         * iconvdata/ibm943.c: Likewise.
37014         * iconvdata/iso_11548-1.c: Likewise.
37015         * iconvdata/iso-2022-cn.c : Likewise.
37016         * iconvdata/iso-2022-cn-ext.c : Likewise.
37017         * iconvdata/iso-2022-jp-3.c: Likewise.
37018         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37019         * iconvdata/iso-2022-kr.c : Likewise.
37020         * iconvdata/iso646.c (gconv_end): Likewise.
37021         * iconvdata/iso_6937-2.c : Likewise.
37022         * iconvdata/iso_6937.c : Likewise.
37023         * iconvdata/iso8859-1.c: Likewise.
37024         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37025         * iconvdata/shift_jisx0213.c : Likewise.
37026         * iconvdata/sjis.c : Likewise.
37027         * iconvdata/t.61.c : Likewise.
37028         * iconvdata/tcvn5712-1.c : Likewise.
37029         * iconvdata/tscii.c: Likewise.
37030         * iconvdata/uhc.c : Likewise.
37031         * iconvdata/unicode.c (gconv_end): Likewise.
37032         * iconvdata/utf-16.c (gconv_end): Likewise.
37033         * iconvdata/utf-32.c (gconv_end): Likewise.
37034         * iconvdata/utf-7.c (base64): Likewise.
37035         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37036         * iconv/gconv_close.c (__gconv_close): Likewise.
37037         * iconv/gconv_open.c (__gconv_open): Likewise.
37038         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37039         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37040         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37041         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37042         (ucs4le_internal_loop_single): Likewise.
37043         * iconv/iconv.c (iconv): Likewise.
37044         * iconv/iconv_close.c: Likewise.
37045         * iconv/loop.c (SINGLE): Likewise.
37046         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37047         * include/atomic.h: Likewise.
37048         * inet/inet6_option.c (option_alloc): Likewise.
37049         * intl/bindtextdom.c (set_binding_values): Likewise.
37050         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37051         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37052         * intl/localealias.c (read_alias_file): Likewise.
37053         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37054         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37055         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37056         * libio/fmemopen.c (fmemopen): Likewise.
37057         * libio/iofgets.c (_IO_fgets): Likewise.
37058         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37059         * libio/iofgetws.c (fgetws): Likewise.
37060         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37061         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37062         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37063         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37064         * locale/findlocale.c (_nl_find_locale): Likewise.
37065         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37066         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37067         Likewise.
37068         * locale/setlocale.c (setlocale): Likewise.
37069         * login/programs/pt_chown.c (main): Likewise.
37070         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37071         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37072         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37073         (mmap, mmap64, mremap, munmap): Likewise.
37074         * math/e_exp2l.c: Likewise.
37075         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37076         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37077         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37078         * math/s_catan.c (__catan): Likewise.
37079         * math/s_catanf.c (__catanf): Likewise.
37080         * math/s_catanh.c (__catanh): Likewise.
37081         * math/s_catanhf.c (__catanhf): Likewise.
37082         * math/s_catanhl.c (__catanhl): Likewise.
37083         * math/s_catanl.c (__catanl): Likewise.
37084         * math/s_ccosh.c (__ccosh): Likewise.
37085         * math/s_ccoshf.c (__ccoshf): Likewise.
37086         * math/s_ccoshl.c (__ccoshl): Likewise.
37087         * math/s_cexp.c (__cexp): Likewise.
37088         * math/s_cexpf.c (__cexpf): Likewise.
37089         * math/s_cexpl.c (__cexpl): Likewise.
37090         * math/s_clog10.c (__clog10): Likewise.
37091         * math/s_clog10f.c (__clog10f): Likewise.
37092         * math/s_clog10l.c (__clog10l): Likewise.
37093         * math/s_clog.c (__clog): Likewise.
37094         * math/s_clogf.c (__clogf): Likewise.
37095         * math/s_clogl.c (__clogl): Likewise.
37096         * math/s_csin.c (__csin): Likewise.
37097         * math/s_csinf.c (__csinf): Likewise.
37098         * math/s_csinh.c (__csinh): Likewise.
37099         * math/s_csinhf.c (__csinhf): Likewise.
37100         * math/s_csinhl.c (__csinhl): Likewise.
37101         * math/s_csinl.c (__csinl): Likewise.
37102         * math/s_csqrt.c (__csqrt): Likewise.
37103         * math/s_csqrtf.c (__csqrtf): Likewise.
37104         * math/s_csqrtl.c (__csqrtl): Likewise.
37105         * math/s_ctan.c (__ctan): Likewise.
37106         * math/s_ctanf.c (__ctanf): Likewise.
37107         * math/s_ctanh.c (__ctanh): Likewise.
37108         * math/s_ctanhf.c (__ctanhf): Likewise.
37109         * math/s_ctanhl.c (__ctanhl): Likewise.
37110         * math/s_ctanl.c (__ctanl): Likewise.
37111         * math/w_pow.c: Likewise.
37112         * math/w_powf.c: Likewise.
37113         * math/w_powl.c: Likewise.
37114         * math/w_scalb.c (sysv_scalb): Likewise.
37115         * math/w_scalbf.c (sysv_scalbf): Likewise.
37116         * math/w_scalbl.c (sysv_scalbl): Likewise.
37117         * misc/error.c (error_tail): Likewise.
37118         * misc/pselect.c (__pselect): Likewise.
37119         * nis/nis_callback.c (__nis_create_callback): Likewise.
37120         * nis/nis_call.c (__nisfind_server): Likewise.
37121         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37122         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37123         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37124         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37125         * nis/nis_lookup.c (nis_lookup): Likewise.
37126         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37127         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37128         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37129         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37130         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37131         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37132         * nis/nss_compat/compat-initgroups.c (add_group)
37133         (internal_getgrent_r): Likewise.
37134         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37135         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37136         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37137         (internal_getspnam_r): Likewise.
37138         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37139         (_nss_nis_getaliasbyname_r): Likewise.
37140         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37141         (_nss_nis_getntohost_r): Likewise.
37142         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37143         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37144         (_nss_nis_getgrgid_r): Likewise.
37145         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37146         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37147         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37148         (_nss_nis_gethostbyname4_r): Likewise.
37149         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37150         (initgroups_netid): Likewise.
37151         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37152         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37153         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37154         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37155         (_nss_nis_getprotobynumber_r): Likewise.
37156         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37157         (_nss_nis_getsecretkey): Likewise.
37158         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37159         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37160         (_nss_nis_getpwuid_r): Likewise.
37161         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37162         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37163         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37164         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37165         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37166         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37167         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37168         Likewise.
37169         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37170         (_nss_nisplus_getntohost_r): Likewise.
37171         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37172         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37173         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37174         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37175         Likewise.
37176         * nis/nss_nisplus/nisplus-initgroups.c
37177         (_nss_nisplus_initgroups_dyn): Likewise.
37178         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37179         (_nss_nisplus_getnetbyaddr_r): Likewise.
37180         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37181         (_nss_nisplus_getprotobynumber_r): Likewise.
37182         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37183         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37184         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37185         Likewise.
37186         * nis/nss_nisplus/nisplus-service.c
37187         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37188         (_nss_nisplus_getservbyport_r): Likewise.
37189         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37190         (_nss_nisplus_getspnam_r): Likewise.
37191         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37192         Likewise.
37193         * nscd/aicache.c (addhstaiX): Likewise.
37194         * nscd/cache.c (cache_search, prune_cache): Likewise.
37195         * nscd/connections.c (register_traced_file, send_ro_fd)
37196         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37197         (main_loop_epoll): Likewise.
37198         * nscd/grpcache.c (addgrbyX): Likewise.
37199         * nscd/hstcache.c (addhstbyX): Likewise.
37200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37201         * nscd/mem.c (gc, mempool_alloc): Likewise.
37202         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37203         (addinnetgrX): Likewise.
37204         * nscd/nscd-client.h (__nscd_acquire_maplock)
37205         (__nscd_drop_map_ref): Likewise.
37206         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37207         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37209         Likewise.
37210         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37211         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37212         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37213         (__nscd_get_map_ref): Likewise.
37214         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37215         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37216         Likewise.
37217         * nscd/pwdcache.c (addpwbyX): Likewise.
37218         * nscd/selinux.c (preserve_capabilities): Likewise.
37219         * nscd/servicescache.c (addservbyX): Likewise.
37220         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37221         * posix/fnmatch.c (fnmatch): Likewise.
37222         * posix/getopt.c (_getopt_internal_r): Likewise.
37223         * posix/glob.c (glob, glob_in_dir): Likewise.
37224         * posix/wordexp.c (exec_comm_child): Likewise.
37225         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37226         (getanswer_r, gaih_getanswer_slice): Likewise.
37227         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37228         * resolv/res_init.c: Likewise.
37229         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37230         * resolv/res_query.c (__libc_res_nquery): Likewise.
37231         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37232         Likewise.
37233         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37234         * stdio-common/perror.c (perror): Likewise.
37235         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37236         * stdio-common/tmpnam.c (tmpnam): Likewise.
37237         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37238         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37239         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37240         Likewise.
37241         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37242         * stdlib/putenv.c (putenv): Likewise.
37243         * stdlib/setenv.c (__add_to_environ): Likewise.
37244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37245         * stdlib/strtol_l.c (INTERNAL): Likewise.
37246         * string/memmem.c (memmem): Likewise.
37247         * string/strerror.c (strerror): Likewise.
37248         * string/strnlen.c (__strnlen): Likewise.
37249         * string/test-memmem.c (simple_memmem): Likewise.
37250         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37251         * sunrpc/pm_getport.c (__get_socket): Likewise.
37252         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37253         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37254         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37255         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37256         Likewise.
37257         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37258         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37260         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37261         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37262         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37263         Likewise.
37264         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37265         Likewise.
37266         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37267         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37269         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37270         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37273         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37274         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37275         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37276         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37277         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37278         Likewise.
37279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37280         Likewise.
37281         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37282         Likewise.
37283         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37284         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37287         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37288         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37289         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37292         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37295         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37296         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37298         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37299         Likewise.
37300         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37301         Likewise.
37302         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37303         Likewise.
37304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37305         Likewise.
37306         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37308         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37309         Likewise.
37310         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37311         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37312         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37313         * sysdeps/posix/sleep.c: Likewise.
37314         * sysdeps/posix/tempname.c: Likewise.
37315         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37316         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37317         Likewise.
37318         * sysdeps/powerpc/powerpc32/dl-machine.h
37319         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37320         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37322         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37323         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37324         Likewise.
37325         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37327         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37329         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37330         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37331         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37332         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37333         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37334         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37336         (elf_machine_lazy_rel): Likewise.
37337         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37338         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37339         (elf_machine_lazy_rel): Likewise.
37340         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37341         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37342         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37343         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37344         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37345         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37346         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37348         Likewise.
37349         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37350         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37351         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37352         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37353         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37354         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37355         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37356         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37357         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37358         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37359         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37360         Likewise.
37361         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37362         (__posix_fallocate64_l64): Likewise.
37363         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37364         (posix_fallocate): Likewise.
37365         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37366         Likewise.
37367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37368         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37369         (getifaddrs_internal): Likewise.
37370         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37371         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37372         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37373         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37374         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37375         (__posix_fallocate64_l64): Likewise.
37376         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37377         Likewise.
37378         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37379         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37380         (__get_clockfreq): Likewise.
37381         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37382         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37383         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37386         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37387         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37388         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37389         Likewise.
37390         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37391         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37392         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37393         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37395         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37396         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37397         Likewise.
37398         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37399         (posix_fallocate): Likewise.
37400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37401         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37402         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37403         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37404         (elf_machine_rela, elf_machine_rela_relative)
37405         (elf_machine_lazy_rel): Likewise.
37406         * time/asctime.c (asctime_internal): Likewise.
37407         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37408         * time/tzset.c (__tzset_parse_tz): Likewise.
37409         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37410         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37411         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37412         * wcsmbs/wcsmbsload.h: Likewise.
37414         [BZ #15894]
37415         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37417         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37418         (arena_get2): Remove THREAD_STATS conditionals.
37419         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37420         (__malloc_stats, int): Likewise.
37422 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37424         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37425         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37427         * manual/setjmp.texi: Fix typos/grammar errors.
37429         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37430         Only return early when n is <= 0.  Delete unused return statement.
37432         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37433         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37434         * debug/tst-longjmp_chk3.c: New file.
37436         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37437         (test_main): Replace code with set_fortify_handler call.
37438         * debug/test-strcpy_chk.c: Likewise.
37439         * debug/tst-chk1.c: Likewise.
37440         * debug/tst-longjmp_chk.c: Likewise.
37441         * test-skeleton.c: Include fcntl.h & paths.h
37442         (set_fortify_handler): Define.
37444         * debug/tst-longjmp_chk.c: Add header comment and include
37445         ../test-skeleton.c.
37446         (do_test): Mark static.
37447         (TEST_FUNCTION): Define.
37449         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37450         (IP_PMTUDISC_INTERFACE): Likewise.
37451         (IP_MULTICAST_IF): Likewise.
37452         (IP_MULTICAST_TTL): Likewise.
37453         (IP_MULTICAST_LOOP): Likewise.
37454         (IP_ADD_MEMBERSHIP): Likewise.
37455         (IP_DROP_MEMBERSHIP): Likewise.
37456         (IP_UNBLOCK_SOURCE): Likewise.
37457         (IP_BLOCK_SOURCE): Likewise.
37458         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37459         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37460         (IP_MSFILTER): Likewise.
37461         (MCAST_JOIN_GROUP): Likewise.
37462         (MCAST_BLOCK_SOURCE): Likewise.
37463         (MCAST_UNBLOCK_SOURCE): Likewise.
37464         (MCAST_LEAVE_GROUP): Likewise.
37465         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37466         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37467         (MCAST_MSFILTER): Likewise.
37468         (IP_MULTICAST_ALL): Likewise.
37469         (IP_UNICAST_IF): Likewise.
37471         * timezone/Makefile: Delete $(have-ksh) check.
37472         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37473         * timezone/tzselect.ksh: Add +x mode bits.
37475         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37476         (ANON_INODE_FS_MAGIC): Likewise.
37477         (BDEVFS_MAGIC): Likewise.
37478         (BINFMTFS_MAGIC): Likewise.
37479         (BTRFS_TEST_MAGIC): Likewise.
37480         (CRAMFS_MAGIC_WEND): Likewise.
37481         (DEBUGFS_MAGIC): Likewise.
37482         (ECRYPTFS_SUPER_MAGIC): Likewise.
37483         (EXT3_SUPER_MAGIC): Likewise.
37484         (EXT4_SUPER_MAGIC): Likewise.
37485         (FUTEXFS_SUPER_MAGIC): Likewise.
37486         (HOSTFS_SUPER_MAGIC): Likewise.
37487         (HUGETLBFS_MAGIC): Likewise.
37488         (MINIX3_SUPER_MAGIC): Likewise.
37489         (MTD_INODE_FS_MAGIC): Likewise.
37490         (NILFS_SUPER_MAGIC): Likewise.
37491         (OPENPROM_SUPER_MAGIC): Likewise.
37492         (PIPEFS_MAGIC): Likewise.
37493         (PSTOREFS_MAGIC): Likewise.
37494         (QNX6_SUPER_MAGIC): Likewise.
37495         (RAMFS_MAGIC): Likewise.
37496         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37497         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37498         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37499         (SECURITYFS_MAGIC): Likewise.
37500         (SELINUX_MAGIC): Likewise.
37501         (SMACK_MAGIC): Likewise.
37502         (SOCKFS_MAGIC): Likewise.
37503         (SQUASHFS_MAGIC): Likewise.
37504         (STACK_END_MAGIC): Likewise.
37505         (TMPFS_MAGIC): Likewise.
37506         (USBDEVICE_SUPER_MAGIC): Likewise.
37507         (V9FS_MAGIC): Likewise.
37508         (XENFS_SUPER_MAGIC): Likewise.
37509         (CRAMFS_MAGIC): Fix typo in comment.
37510         (EXT2_SUPER_MAGIC): Update comment.
37511         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37513 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37515         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37516         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37517         * sysdeps/unix/sysv/linux/arm: Move directory from
37518         ports/sysdeps/unix/sysv/linux/arm.
37519         * README: Update listing for arm-*-linux-gnueabi.
37521         * README: Remove mention of am33.
37523 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37525         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37526         than the comma operator, to avoid "rhs of comma has no effect"
37527         compiler warnings.
37528         (__sigfillset, __sigandset, __sigorset): Likewise.
37529         * include/signal.h (__sigemptyset): Likewise.
37530         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37532 2014-02-07  Allan McRae  <allan@archlinux.org>
37534         * version.h (RELEASE): Set to "development".
37535         (VERSION): Set to "2.19.90"
37536         * NEWS: Add 2.20 section.
37538 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37540         [BZ #16529]
37541         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37543 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37545         * manual/contrib.texi: Update entry for Carlos O'Donell,
37546         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37548 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37550         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37552         * sysdeps/unix/sysv/linux/kernel-features.h
37553         [__LINUX_KERNEL_VERSION >= 0x020621]
37554         (__ASSUME_PROC_PID_TASK_COMM): Define.
37556 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558         [BZ #16398]
37559         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37560         conversion when destination buffer does not have enough space.
37561         * libio/tst-ftell-partial-wide.c: New test case.
37562         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37564         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37565         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37566         Leonard and Allan McRae.
37568 2014-02-04  David S. Miller  <davem@davemloft.net>
37570         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37571         32-bit.
37573 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37576         New file
37577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37578         New file
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37580         New file.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37582         New file.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37584         New file.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37586         New file.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37588         New file.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37590         New file.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37592         New file.
37593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37594         New file.
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37596         New file.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37598         New file.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37600         New file.
37602 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37604         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37605         * shlib-versions: Likewise.
37607 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37608             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37610         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37611         (abilist-pattern): New variable, set to %-le.abilist.
37613         * Makerules (abilist-pattern): New variable.
37614         (vpath): Use $(abilist-pattern) in place of %.abilist.
37615         (check-abi-% pattern rule): Likewise.
37616         (check-abi, update-abi): Likewise.
37618 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37622 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37624         * manual/startup.texi: Add next, previous, and top entries for
37625         the `Program Arguments' and `Environment Variables' nodes.
37627 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37629         * manual/macros.texi: Add comments before MTASC-safety macros.
37631         * manual/users.texi: Document MTASC-safety properties.
37633         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37634         (pthread_getspecific, pthread_setspecific): Format with
37635         @deftypefun, and add @safety note.
37636         * manual/signal.texi: Move comments that analyze the above
37637         functions to their home place.
37639 2014-02-03  Allan McRae  <allan@archlinux.org>
37641         * po/sl.po: Update Slovenian translation from translation project.
37643 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37645         * manual/time.texi (timegm): Add missing blank after @c.
37646         Reported by Joseph Myers <joseph@codesourcery.com>.
37648 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37650         * manual/check-safety.sh: New.
37651         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37653         * manual/terminal.texi: Document MTASC-safety properties.
37655         * manual/filesys.texi: Document MTASC-safety properties.
37657         * manual/errno.texi: Document MTASC-safety properties.
37659         * manual/intro.texi: Document safety identifiers and
37660         conditionals.
37662         * manual/string.texi (wcstok): Fix prototype.
37663         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37665         * manual/time.texi: Document MTASC-safety properties.
37667         * manual/string.texi: Document MTASC-safety properties.
37669         * manual/threads.texi: Document MTASC-safety properties.
37671         * manual/stdio.texi: Document MTASC-safety properties.
37673         * manual/syslog.texi: Document MTASC-safety properties.
37675         * manual/sysinfo.texi: Document MTASC-safety properties.
37677         * manual/startup.texi: Document MTASC-safety properties.
37679         * manual/socket.texi: Document MTASC-safety properties.
37681         * manual/signal.texi: Document MTASC-safety properties.
37683 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37685         * manual/setjmp.texi: Document MTASC-safety properties.
37687         * manual/search.texi: Document MTASC-safety properties.
37689         * manual/resource.texi: Document MTASC-safety properties.
37691         * manual/process.texi: Document MTASC-safety properties.
37693         * manual/platform.texi: Document MTASC-safety properties.
37695         * manual/pipe.texi: Document MTASC-safety properties.
37697         * manual/pattern.texi: Document MTASC-safety properties.
37699         * manual/message.texi: Document MTASC-safety properties.
37701         [BZ #12751]
37702         * manual/memory.texi: Document MTASC-safety properties.
37704         * manual/math.texi: Document MTASC-safety properties.
37706         * manual/locale.texi: Document MTASC-safety properties.
37708         * manual/llio.texi: Document MTASC-safety properties.
37710         * manual/libdl.texi: New.
37712         * manual/lang.texi: Document MTASC-safety properties.
37714         * manual/job.texi: Document MTASC-safety properties.
37716         * manual/getopt.texi: Document MTASC-safety properties.
37718         * manual/ctype.texi: Document MTASC-safety properties.
37720 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37722         [BZ #16046]
37723         * csu/libc-tls.c (static_map): Remove variable.
37724         (__libc_setup_tls): Use main executable's link map for TLS data.
37725         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37726         casing for LM_ID_BASE and GL(dl_nns).
37727         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37728         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37729         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37730         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37731         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37732         member.
37733         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37734         l_phnum members.
37736 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37738         * manual/debug.texi: Document MTASC-safety properties.
37740 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37742         [BZ #16510]
37743         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37744         of __x86_64__ when disabling x87 inline functions.
37746 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37748         * manual/charset.texi: Document MTASC-safety properties.
37750         * manual/crypt.texi: Document MTASC-safety properties.
37752         * manual/conf.texi: Document MTASC-safety properties.
37754         * manual/arith.texi: Document MTASC-safety properties.
37756         * manual/argp.texi: Document MTASC-safety properties.
37758         * manual/macros.texi: Introduce macros to document multi
37759         thread, asynchronous signal and asynchronous cancellation
37760         safety properties.
37761         * manual/intro.texi: Introduce the properties themselves.
37763 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37765         * sysdeps/sh/sh4/Makefile: New file.
37767 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37769         * math/gen-libm-test.pl ($srcdir): New variable.
37770         ($auto_input): Use it.
37772 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37774         [BZ #16506]
37775         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37776         access beyond array bounds when parsing netgroups file.
37778         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37779         the old buffer before realloc.
37781 2014-01-27  Allan McRae  <allan@archlinux.org>
37783         * po/fr.po: Update French translation from translation project.
37785 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37787         * sysdeps/sh/libm-test-ulps: Regenerate.
37789 2014-01-24  David S. Miller  <davem@davemloft.net>
37791         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37793 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37796         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37798 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37800         [BZ #16474]
37801         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37802         string pointers after reallocation.
37804 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37806         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37807         __SH4A__ instead of __SH_FPU_ANY__.
37809 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37811         * sysdeps/sh/fpu_control.h: New file.
37812         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37813         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37814         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37815         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37816         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37817         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37818         * sysdeps/sh/sys/ucontext.h: Remove.
37819         * sysdeps/sh/sys: Remove directory.
37821 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37823         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37824         s390/sys/ucontext.h.
37825         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37826         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37828 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37830         [BZ #15605]
37831         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37833 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37835         [BZ#16431]
37836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37837         Adjust the vDSO correctly for internal calls.
37838         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37840 2014-01-20  Allan McRae  <allan@archlinux.org>
37842         * po/ca.po: Update Catalan translation from translation project.
37844 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37846         * sysdeps/s390/sotruss-lib.c: New file.
37848 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37850         [BZ#16430]
37851         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37852         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37853         local calls issues by not having a PLT stub required for IFUNC calls.
37854         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37856 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37858         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37859         * math/test-fpucw-static.c: Likewise.
37861 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37863         [BZ #16453]
37864         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37866 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37868         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37869         implementation for powerpc.
37871 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37873         [BZ #14782]
37874         * sysdeps/posix/system.c (__libc_system): Do not enable
37875         asynchronous cancellation.
37877 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37879         [BZ #16427]
37880         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37881         handling only for numbers special also in the IEEE case.
37883 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37885         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37887 2014-01-11  Allan McRae  <allan@archlinux.org>
37889         * po/bg.po: Update Bulgarian translation from translation project.
37891         * po/de.po: Update German translation from translation project.
37893 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37895         * sysdeps/generic/gcc-compat.h: New file.
37897 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37899         * benchtests/asin-inputs: Correct slow inputs.
37900         * benchtests/acos-inputs: Likewise.
37902 2014-01-10  Allan McRae  <allan@archlinux.org>
37904         * po:sv.po: Update Swedish translation from translation project.
37906         * po/vi.po: Update Vietnamese translation from translation project.
37908         * po/eo.po: Update Esperanto translation from translation project.
37910         * po/cs.po: Update Czech translation from translation project.
37912         * po/nl.po: Update Dutch translation from translation project.
37914         * po/pl.po: Update Polish translation from translation project.
37916         * po/ru.po: Update Russian translation from translation project.
37918         * po/uk.po: Update Ukrainian translation from translation project.
37920 2014-01-08  Brooks Moses  <bmoses@google.com>
37922         * elf/dl-load.c: Fix comment typo.
37924 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37926         * po/header.pot: Rename to...
37927         * po/pot.header: ... this.
37928         * po/Makefile: Use pot.header.
37930 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37931             Maxim Kuvyrkov  <maxim@kugelworks.com>
37933         [BZ #16394]
37934         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37935         SRC and DEST against LEN.
37937 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37939         [BZ #16414]
37940         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37941         implementation.
37942         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37944 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37948 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37950         [BZ #16408]
37951         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37952         for large positive arguments.
37954 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37956         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37958         * math/auto-libm-test-in: Mark various tests with
37959         xfail-rounding:ldbl-128ibm.
37960         * math/auto-libm-test-out: Regenerated.
37962         [BZ #16407]
37963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37964         Increase overflow threshold.
37966 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37968         [BZ #14286]
37969         * stdio-common/vfprintf.c: Check for integer overflow.
37971 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37973         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37974         the first argument and return value of __tls_get_addr_internal.
37976 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37978         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37979         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37981 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37983         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37984         * sysdeps/s390/rtld-global-offsets.sym: New file.
37985         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37986         GLIBC_2.19 symbol.
37987         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37990         ... this.
37991         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37993         ... this.
37994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37995         Regenerate.
37996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37997         Regenerate.
37998         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37999         halfs of GPRs for high_gprs contexts.
38000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38001         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38002         field.
38003         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38004         uc_flags field.
38005         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38006         64 bit versions:
38007         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38008         for high GPRs (uc_high_gprs) and for future extensions
38009         (__reserved).
38010         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38011         for future extensions (__reserved).
38012         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38013         64 bit versions:
38014         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38015         SC_HIGHGPRS offset definition.
38016         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38017         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38019         * Versions.def: Add GLIBC_2.19 for libpthread.
38020         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38021         siglongjmp for libpthread with GLIBC_2.19 symver.
38022         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38023         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38024         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38025         * sysdeps/s390/__longjmp.c: New file.
38026         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38027         * sysdeps/s390/longjmp.c: New file.
38028         * sysdeps/s390/setjmp.S: New file.
38029         * sysdeps/s390/sigjmp.S: New file.
38030         * sysdeps/s390/v1-longjmp.c: New file.
38031         * sysdeps/s390/v1-setjmp.h: New file.
38032         * sysdeps/s390/v1-sigjmp.c: New file.
38033         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38034         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38035         GLIBC_2.19 version.
38036         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38037         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38038         versioned symbols for ____longjmp_chk.
38039         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38040         Likewise.
38041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38042         Regenerate.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38044         Regenerate.
38045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38046         Regenerate.
38047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38048         Regenerate.
38049         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38050         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38051         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38052         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38053         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38054         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38055         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38056         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38057         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38058         * sysdeps/s390/rtld-__longjmp.c: New file.
38059         * sysdeps/s390/rtld-setjmp.S: New file.
38061 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38063         [BZ #16400]
38064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38065         Return -__logl (x) for small positive arguments without evaluating
38066         a polynomial.
38068 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38070         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38071         Rename to ...
38072         (__ptrace_peeksiginfo_args): ... this.
38073         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38077 2014-01-06  Allan McRae  <allan@archlinux.org>
38079         * inet/netinet/in.h: Fix typo in comment.
38081 2014-01-05  Andreas Jaeger  <aj@suse.de>
38083         * sysdeps/i386/fpu/libm-test-ulps: Update.
38085 2014-01-05  Allan McRae  <allan@archlinux.org>
38087         * po/libc.pot: Regenerated.
38089         * malloc/memusagestat.c: Fix gettext call formatting.
38091 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38093         * nscd/nscd.c: Improve usage() output.
38095 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38097         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38098         * sysdeps/unix/sysv/linux/configure: Regenerated.
38099         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38100         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38102 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38104         [BZ #16390]
38105         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38106         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38108 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38110         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38111         extra tokens at end of #undef directive.
38112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38113         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38114         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38116 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38120         * math/auto-libm-test-in: Mark various tests with
38121         xfail-rounding:ldbl-128ibm.
38122         * math/auto-libm-test-out: Regenerated.
38124 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38126         [BZ #16386]
38127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38128         numbers with subnormal high part when calculating exponent.
38130         [BZ #16385]
38131         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38132         fabs.
38134         [BZ #16384]
38135         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38136         M_LN2l.
38137         (__ieee754_acoshl): Use __log1pl not __log1p.
38139 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38141         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38142         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38143         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38144         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38145         (reused_arena, arena_get2): Convert to GNU style.
38146         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38147         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38148         (memalign_check, __malloc_set_state): Likewise.
38149         * malloc/mallocbug.c (main): Likewise.
38150         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38151         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38152         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38153         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38154         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38155         (__posix_memalign, malloc_info): Likewise.
38156         * malloc/malloc.h: Likewise.
38157         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38158         (mallochook, memalignhook, reallochook, mabort): Likewise.
38159         * malloc/mcheck.h: Likewise.
38160         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38161         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38162         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38163         * malloc/morecore.c (__default_morecore): Likewise.
38164         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38165         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38166         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38167         (print_and_abort): Likewise.
38168         * malloc/obstack.h: Likewise.
38169         * malloc/set-freeres.c (__libc_freeres): Likewise.
38170         * malloc/tst-mallocstate.c (main): Likewise.
38171         * malloc/tst-mtrace.c (main): Likewise.
38172         * malloc/tst-realloc.c (do_test): Likewise.
38174 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38176         [BZ #16366]
38177         * nscd/netgroupcache.c (do_notfound): New function.
38178         (addgetnetgrentX): Use it.
38180         [BZ # 16365]
38181         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38182         NSS_STATUS_NOTFOUND.
38184 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38186         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38189 2014-01-01  Allan McRae  <allan@archlinux.org>
38191         * scripts/update-copyrights: Update configure input file suffix.
38193         * NEWS: Update copyright year.
38194         * catgets/gencat.c: Likewise.
38195         * csu/version.c: Likewise.
38196         * debug/catchsegv.sh: Likewise.
38197         * debug/pcprofiledump.c: Likewise.
38198         * debug/xtrace.sh: Likewise.
38199         * elf/ldconfig.c: Likewise.
38200         * elf/ldd.bash.in: Likewise.
38201         * elf/pldd.c: Likewise.
38202         * elf/sotruss.ksh: Likewise.
38203         * elf/sprof.c: Likewise.
38204         * iconv/iconv_prog.c: Likewise.
38205         * iconv/iconvconfig.c: Likewise.
38206         * locale/programs/locale.c: Likewise.
38207         * locale/programs/localedef.c: Likewise.
38208         * login/programs/pt_chown.c: Likewise.
38209         * malloc/memusage.sh: Likewise.
38210         * malloc/memusagestat.c: Likewise.
38211         * malloc/mtrace.pl: Likewise.
38212         * manual/libc.texinfo: Likewise.
38213         * nscd/nscd.c: Likewise.
38214         * nss/getent.c: Likewise.
38215         * nss/makedb.c: Likewise.
38216         * posix/getconf.c: Likewise.
38217         * scripts/test-installation.pl: Likewise.
38219         * All files with FSF copyright notices: Update copyright dates
38220         using scripts/update-copyrights.
38221         * intl/plural.c: Regenerated.
38222         * locale/programs/charmap-kw.h: Likewise.
38223         * locale/programs/locfile-kw.h: Likewise.
38225 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38227         * sysdeps/unix/sysv/linux/configure: Regenerated.
38228         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38229         the linux/fanotify.h header.
38230         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38231         HAVE_LINUX_FANOTIFY_H is defined.
38233 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38235         * benchtests/cos-inputs: New inputs.
38236         * benchtests/sin-inputs: Likewise.
38238         * benchtests/atan-inputs: New inputs. Fix name of multiple
38239         precision fallback inputs.
38241         * benchtests/atanh-inputs: New inputs.
38242         * benchtests/tanh-inputs: Likewise.
38244         * benchtests/acosh-inputs: New inputs.
38245         * benchtests/asinh-inputs: Likewise.
38247         * benchtests/cosh-inputs: New inputs.
38248         * benchtests/sinh-inputs: Likewise.
38250         * benchtests/acos-inputs: Add more inputs.
38251         * benchtests/asin-inputs: Likewise.
38253 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38255         [BZ #16375]
38256         * manual/arith.texi: Fix spelling.
38257         * manual/charset.texi: Likewise.
38258         * manual/errno.texi: Likewise.
38259         * manual/filesys.texi: Likewise.
38260         * manual/lang.texi: Likewise.
38261         * manual/llio.texi: Likewise.
38262         * manual/locale.texi: Likewise.
38263         * manual/message.texi: Likewise.
38264         * manual/resource.texi: Likewise.
38265         * manual/search.texi: Likewise.
38266         * manual/setjmp.texi: Likewise.
38267         * manual/stdio.texi: Likewise.
38268         * manual/string.texi: Likewise.
38269         * manual/sysinfo.texi: Likewise.
38270         * manual/time.texi: Likewise.
38272 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38274         * po/sl.po: New file.
38276 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38278         * .gitignore: Add core/.gdbinit/.gdb_history.
38280 2013-12-27  Allan McRae  <allan@archlinux.org>
38282         [BZ #16369]
38283         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38284         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38286 2013-12-24  Brooks Moses  <bmoses@google.com>
38288         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38289         all compilers that claim C++98 compliance, not just GCC.
38290         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38291         Likewise.
38293 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38295         * NEWS: Restore accidentally deleted bug-fix entries.
38297 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38298             Ondřej Bílka  <neleai@seznam.cz>
38300         [BZ #15073]
38301         * malloc/malloc.c (_int_free): Perform sanity check only if we
38302         have_lock.
38304 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38306         [BZ #12986]
38307         * manual/stdio.texi (String Input Conversions): Clarify that character
38308         classes are not supported.
38310 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38314 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38316         [BZ #16337]
38317         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38318         Calculate results for small negative arguments directly rather
38319         than using reflection formula with special underflow handling.
38321         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38322         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38323         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38324         (fchflags): Likewise.
38325         (revoke): Likewise.
38326         (setlogin): Likewise.
38327         (sigaltstack): Likewise.
38328         (wait4): Likewise.
38329         (sigblock): Remove.
38330         (sigsetmask): Likewise.
38331         (wait3): Likewise.
38332         (waitpid): Likewise.
38333         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38334         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38335         file.
38336         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38337         * sysdeps/unix/bsd/Makefile: ... here.
38338         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38339         * sysdeps/unix/bsd/Versions: ... here.
38340         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38341         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38342         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38343         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38344         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38345         * sysdeps/unix/bsd/sigblock.c: ... here.
38346         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38347         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38348         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38349         * sysdeps/unix/bsd/sigvec.c: ... here.
38350         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38351         * sysdeps/unix/bsd/tcdrain.c: ... here.
38352         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38353         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38354         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38355         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38356         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38357         * sysdeps/unix/bsd/wait.c: ... here.
38358         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38359         * sysdeps/unix/bsd/wait3.c: ... here.
38360         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38361         * sysdeps/unix/bsd/waitpid.c: ... here.
38363 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38365         [BZ #16356]
38366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38367         round-to-nearest for [!USE_AS_EXPM1L].
38368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38369         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38370         more tests of exp and exp10.  Expect some exp10 tests to miss
38371         exceptions or fail in directed rounding modes.
38372         * math/auto-libm-test-out: Regenerated.
38373         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38374         (exp10_test_tonearest): New function.
38375         (exp10_towardzero_test_data): New array.
38376         (exp10_test_towardzero): New function.
38377         (exp10_downward_test_data): New array.
38378         (exp10_test_downward): New function.
38379         (exp10_upward_test_data): New array.
38380         (exp10_test_upward): New function.
38381         (main): Call the new functions.
38382         * sysdeps/i386/fpu/libm-test-ulps: Update.
38383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38385 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38387         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38388         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38389         * math/auto-libm-test-out: Regenerated.
38390         * math/libm-test.inc (acosh_test_data): Add more tests.
38391         (atanh_test_data): Likewise.
38392         (ceil_test_data): Likewise.
38393         (copysign_test_data): Likewise.
38394         * sysdeps/i386/fpu/libm-test-ulps: Update.
38395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38397         * timezone/checktab.awk: Update from tzcode 2013i.
38398         * timezone/private.h: Likewise.
38399         * timezone/scheck.c: Likewise.
38400         * timezone/tzfile.h: Likewise.
38401         * timezone/tzselect.ksh: Likewise.
38402         * timezone/zdump.c: Likewise.
38403         * timezone/zic.c: Likewise.
38405         * math/auto-libm-test-in: Add tests of cpow.
38406         * math/auto-libm-test-out: Regenerated.
38407         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38409         mpc_cc_c.
38410         (func_calc_desc): Add mpc_cc_c union field.
38411         (test_functions): Add cpow.
38412         (special_fill_2pi): New function.
38413         (special_real_inputs): Add 2pi.
38414         (calc_generic_results): Handle mpc_cc_c.
38415         * sysdeps/i386/fpu/libm-test-ulps: Update.
38416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38418         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38419         csqrt, ctan and ctanh.
38420         * math/auto-libm-test-out: Regenerated.
38421         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38422         (TEST_COND_x86): Likewise.
38423         (ccos_test_data): Use AUTO_TESTS_c_c.
38424         (ccosh_test_data): Likewise.
38425         (cexp_test_data): Likewise.
38426         (clog_test_data): Likewise.
38427         (csqrt_test_data): Likewise.
38428         (ctan_test_data): Likewise.
38429         (ctan_tonearest_test_data): Likewise.
38430         (ctan_towardzero_test_data): Likewise.
38431         (ctan_downward_test_data): Likewise.
38432         (ctan_upward_test_data): Likewise.
38433         (ctanh_test_data): Likewise.
38434         (ctanh_tonearest_test_data): Likewise.
38435         (ctanh_towardzero_test_data): Likewise.
38436         (ctanh_downward_test_data): Likewise.
38437         (ctanh_upward_test_data): Likewise.
38438         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38439         mpc_c_c.
38440         (func_calc_desc): Add mpc_c_c union field.
38441         (FUNC_mpc_c_c): New macro.
38442         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38443         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38444         ctanh.
38445         (special_fill_min_subnorm_p120): New function.
38446         (special_real_inputs): Add min_subnorm_p120.
38447         (calc_generic_results): Handle mpc_c_c.
38448         * sysdeps/i386/fpu/libm-test-ulps: Update.
38449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38451 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38453         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38454         (do_sin_slow): New functions.
38455         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38456         (cslow2, csloww1, csloww2): Use the new functions.
38458         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38459         Use M to change sign of result instead of X.  Assume X is
38460         positive.
38461         (csloww1): Likewise.
38462         (__sin): Adjust.
38463         (__cos): Adjust.
38465         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38466         arguments A and DA.
38467         (__sin): Adjust.
38468         (__cos): Likewise.
38470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38471         (__cos): Likewise.
38472         (sloww1): Don't adjust sign of DX.
38473         (csloww1): Likewise.
38474         (sloww2): Use X directly and don't adjust sign of DX.
38475         (csloww2): Likewise.
38477 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38479         * math/auto-libm-test-in: Add tests of cabs and carg.
38480         * math/auto-libm-test-out: Regenerated.
38481         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38482         (carg_test_data): Likewise.
38483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38484         mpc_c_f.
38485         (func_calc_desc): Add mpc_c_f union field.
38486         (test_functions): Add cabs and carg.
38487         (calc_generic_results): Handle mpc_c_f.
38489         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38490         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38491         as a macro and a compat symbol.
38492         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38493         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38494         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38495         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38496         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38497         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38498         not use .hidden.
38499         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38500         Likewise.
38501         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38502         Likewise.
38503         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38504         Likewise.
38505         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38506         Likewise.
38507         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38508         Likewise.
38509         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38510         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38511         from GLIBC_2.3.2.
38513 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38517 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38519         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38520         trailing whitespace removed.
38521         * scripts/config.guess: Update to version 2013-11-29.
38522         * scripts/config.sub: Update to version 2013-10-01.
38524         * math/auto-libm-test-in: Add tests of sincos.
38525         * math/auto-libm-test-out: Regenerated.
38526         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38528         mpfr_f_11.
38529         (func_calc_desc): Add mpfr_f_11 union field.
38530         (test_functions): Add sincos.
38531         (calc_generic_results): Handle mpfr_f_11.
38532         * sysdeps/i386/fpu/libm-test-ulps: Update.
38533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38535 2013-12-19  Andreas Schwab  <schwab@suse.de>
38537         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38538         CALL_MCOUNT.
38539         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38540         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38541         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38545         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38546         * sysdeps/i386/fpu/libm-test-ulps: Update.
38547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38549         [BZ #16293]
38550         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38551         round-to-nearest mode when using frndint.
38552         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38553         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38555         Likewise.
38556         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38557         sinh test to fail.
38558         * math/auto-libm-test-out: Regenerated.
38559         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38560         (TEST_COND_x86): Likewise.
38561         (expm1_tonearest_test_data): New array.
38562         (expm1_test_tonearest): New function.
38563         (expm1_towardzero_test_data): New array.
38564         (expm1_test_towardzero): New function.
38565         (expm1_downward_test_data): New array.
38566         (expm1_test_downward): New function.
38567         (expm1_upward_test_data): New array.
38568         (expm1_test_upward): New function.
38569         (main): Run the new test functions.
38570         * sysdeps/i386/fpu/libm-test-ulps: Update.
38571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38573         * include/features.h: Update comment documenting feature test
38574         macros.  Mention _DEFAULT_SOURCE in comment.
38575         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38576         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38577         _BSD_SOURCE and _SVID_SOURCE.
38578         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38579         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38580         !_SVID_SOURCE]: Likewise.
38581         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38582         (__USE_POSIX_IMPLICITLY): Define.
38583         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38584         (_POSIX_SOURCE): Undefine and redefine.
38585         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38586         (_POSIX_C_SOURCE): Likewise.
38587         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38588         (Feature Test Macros): Update documentation of default features.
38590 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38592         * benchtests/Makefile: Add bench-strtok.
38593         * benchtests/bench-strtok.c: New file: strtok benchtest.
38595 2013-12-19  Allan McRae  <allan@archlinux.org>
38597         * manual/install.texi: Suppress menu for plain text output.
38598         * INSTALL: Regenerated.
38600 2013-12-18  Brooks Moses  <bmoses@google.com>
38602         [BZ #15846]
38603         * misc/getauxval.c: Include errno.h.
38604         (__getauxval): Set errno to ENOENT if the requested type is not
38605         found.
38606         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38607         don't declare with __attribute_const__.
38608         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38609         * manual/startup.texi: Document that getauxval sets errno.
38611 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38613         * math/auto-libm-test-in: Add tests of jn and yn.
38614         * math/auto-libm-test-out: Regenerated.
38615         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38616         (yn_test_data): Likewise.
38617         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38618         mpfr_if_f.
38619         (func_calc_desc): Add mpfr_if_f union field.
38620         (FUNC_mpfr_if_f): New macro.
38621         (test_functions): Add jn and yn.
38622         (calc_generic_results): Assert type of second input for
38623         mpfr_ff_f.  Handle mpfr_if_f.
38624         (output_for_one_input_case): Disable all checking for arguments
38625         fitting floating-point types in case of an integer argument.
38626         * sysdeps/i386/fpu/libm-test-ulps: Update.
38627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38630         Don't expect fegetround reference in libm.so.
38632 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38634         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38635         $(config-cflags-nofma).
38637 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38639         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38640         * math/auto-libm-test-out: Regenerated.
38642         [BZ #16338]
38643         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38644         to determine exponent and adjust argument to have exponent of -1.
38645         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38646         log2.
38647         * math/auto-libm-test-out: Regenerated.
38648         * sysdeps/i386/fpu/libm-test-ulps: Update.
38649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38651 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38653         * manual/probes.texi: Remove cases when per-thread arenas are
38654         disabled.
38656 2013-12-18  Andreas Schwab  <schwab@suse.de>
38658         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38659         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38660         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38661         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38662         * sysdeps/i386/i686/multiarch/Makefile: Update.
38663         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38665 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38667         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38668         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38670 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38672         [BZ #15968]
38673         Support TZ transition times < 00:00:00.
38674         This is needed for version-3 tz-format files; it supports time
38675         stamps past 2037 for America/Godthab (the only entry in the tz
38676         database for which this change is relevant).
38677         * manual/time.texi (TZ Variable): Document transition times
38678         from -167:59:59 through -00:00:01.
38679         * time/tzset.c (tz_rule): Time of day is now signed.
38680         (__tzset_parse_tz): Parse negative time of day.
38682         Document TZ transition times >= 25:00:00.
38683         * manual/time.texi (TZ Variable): Document transition times from
38684         25:00:00 through 167:59:59.  These are already supported, and this
38685         support will help with version-3 tz-format files.
38687         * manual/time.texi (TZ Variable): Modernize North America example
38688         to reflect current (i.e., 2007-and-later) daylight saving rules.
38690         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38692 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38694         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38695         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38698         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38699         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38700         * sysdeps/unix/bsd/clock.c: Likewise.
38701         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38702         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38703         * sysdeps/unix/bsd/init-posix.c: Likewise.
38704         * sysdeps/unix/bsd/poll.c: Likewise.
38705         * sysdeps/unix/bsd/ptsname.c: Likewise.
38706         * sysdeps/unix/bsd/seekdir.c: Likewise.
38707         * sysdeps/unix/bsd/setegid.c: Likewise.
38708         * sysdeps/unix/bsd/seteuid.c: Likewise.
38709         * sysdeps/unix/bsd/setgid.c: Likewise.
38710         * sysdeps/unix/bsd/setrgid.c: Likewise.
38711         * sysdeps/unix/bsd/setruid.c: Likewise.
38712         * sysdeps/unix/bsd/setsid.c: Likewise.
38713         * sysdeps/unix/bsd/setuid.c: Likewise.
38714         * sysdeps/unix/bsd/sigaction.c: Likewise.
38715         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38716         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38717         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38718         * sysdeps/unix/bsd/telldir.c: Likewise.
38719         * sysdeps/unix/bsd/times.c: Likewise.
38720         * sysdeps/unix/bsd/usleep.c: Likewise.
38722         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38723         ($(objpfx)libbsd-compat.a): Remove rule.
38725         * include/features.h (__FAVOR_BSD): Do not define.
38726         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38727         features conflicting with POSIX.
38728         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38729         (_BSD_SOURCE): Remove description of not being a subset of other
38730         feature test macros.
38731         * manual/job.texi (getpgrp): Do not document BSD version.
38732         (getpgid): Do not document by reference to BSD getpgrp.
38733         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38734         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38735         * signal/signal.h [__FAVOR_BSD]: Likewise.
38736         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38737         instead of making contents conditional on [__FAVOR_BSD].
38738         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38740 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38744 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38746         [BZ #16314]
38747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38748         values below 2**-450, not 2**-500.
38749         * math/auto-libm-test-in: Don't allow spurious underflow from
38750         hypot.
38751         * math/auto-libm-test-out: Regenerated.
38753         [BZ #16316]
38754         [BZ #16330]
38755         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38756         values of ha and hb and sort them after adjusting subnormal
38757         arguments.
38758         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38759         Likewise.
38760         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38761         values of ea and eb and sort them after adjusting subnormal
38762         arguments.
38763         * math/auto-libm-test-in: Do not expect some hypot tests of
38764         subnormals to fail.  Add more hypot tests.
38765         * math/auto-libm-test-out: Regenerated.
38767 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38769         [BZ #13304]
38770         * sysdeps/sh/s_fma.c: New file.
38771         * sysdeps/sh/s_fmaf.c: New file.
38772         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38773         version.
38774         * sysdeps/sh/Implies: Add sh/soft-fp.
38776 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38778         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38779         level of indirection to members `objname', `errstring', `malloced'.
38780         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38781         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38782         it as the __longjmp argument (just pass 1 instead).
38783         (_dl_catch_error): Initialize C with argument pointers and address of
38784         volatile local ERRCODE rather than copying values out of C at return.
38786 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38788         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38789         * math/auto-libm-test-out: Regenerated.
38790         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38791         (hypot_test_data): Likewise.
38792         (pow_test_data): Likewise.
38793         (pow_tonearest_test_data): Likewise.
38794         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38795         mpfr_ff_f.
38796         (func_calc_desc): Add mpfr_ff_f union field.
38797         (FUNC_mpfr_ff_f): New macro.
38798         (test_functions): Add atan2, hypot and pow.
38799         (special_fill_min): New function.
38800         (special_fill_minus_min): Likewise.
38801         (special_fill_min_subnorm): Likewise.
38802         (special_fill_minus_min_subnorm): Likewise.
38803         (special_real_inputs): Add min, -min, min_subnorm and
38804         -min_subnorm.
38805         (calc_generic_results): Handle mpfr_ff_f.
38806         * sysdeps/i386/fpu/libm-test-ulps: Update.
38807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38809 2013-12-16  Will Newton  <will.newton@linaro.org>
38811         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38812         (Aligned Memory Blocks): Add documentation for aligned_alloc
38813         and suggest it as an alternative to posix_memalign.
38814         (Hooks for Malloc): Document __memalign_hook is also called
38815         for aligned_alloc.  (Summary of Malloc): Add summary for
38816         aligned alloc.  Document __memalign_hook is also called
38817         for aligned_alloc.
38819 2013-12-16  Will Newton  <will.newton@linaro.org>
38821         * manual/memory.texi (Malloc Examples): Clarify default
38822         alignment documentation.  Suggest posix_memalign rather
38823         than memalign or valloc.
38824         (Aligned Memory Blocks): Remove suggestion to use memalign
38825         or valloc.  Remove obsolete comment about BSD.
38826         Document memalign errno values and mark the function obsolete.
38827         Document posix_memalign returned error codes.  Mark valloc
38828         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38829         called for posix_memalign and valloc.
38830         (Summary of Malloc): Add posix_memalign to function summary.
38831         __memalign_hook is also called for posix_memalign and valloc.
38833 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38835         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38836         TAYLOR_SIN.
38837         (__sin): Adjust.
38838         (__cos): Likewise.
38839         (sloww): Use mynumber union.  Expand ternary operator into
38840         if-else statements.
38841         (cslow): use mynumber union.
38843 2013-12-16  Allan McRae  <allan@archlinux.org>
38845         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38846         * configure: Regenerated.
38848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38850         [BZ #14120]
38851         * configure.ac: Added --enable-maintainer-mode. Check for
38852         autoconf when enabled.
38853         * configure: Regenerated.
38855         * nscd/nscd.service: New file.
38856         * nscd/nscd.tmpfiles: New file.
38858 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38860         [BZ #12100]
38861         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38862         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38863         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38864         (strstr): Add __strstr_sse2_unaligned ifunc.
38865         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38866         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38867         (strcasestr): Remove __strcasestr_sse42 ifunc.
38868         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38872 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38874         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38875         * sysdeps/sh/bits/fenv.h: ... here.
38876         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38878 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38883         hypotf multiarch implementations.
38884         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38887         multiarch hypot for PPC64.
38888         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38891         multiarch hypotf for PPC64.
38893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38894         modff multiarch implementations.
38895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38898         multiarch modf for PPC64.
38899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38902         multiarch modff for PPC64.
38904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38905         and logl multiarch implementations.
38906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38909         multiarch logb for PPC64.
38910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38913         multiarch logb for PPC64.
38914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38917         multiarch logb for PPC64.
38919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38920         isinff multiarch implementation.
38921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38922         file.
38923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38925         multiarch isinf for PPC64.
38926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38927         file.
38928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38929         multiarch isinff for PPC64.
38931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38932         finitef multiarch implementation.
38933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38934         file.
38935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38937         multiarch finite for PPC64.
38938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38939         file.
38940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38941         multiarch finitef for PPC64.
38943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38944         lrint multiarch implementation.
38945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38946         file.
38947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38949         multiarch llrint for PPC64.
38950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38951         multiarch lrint for PPC64.
38953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38954         copysignf multiarch implementation.
38955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38956         file.
38957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38958         file.
38959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38960         multiarch copysign for PPC64.
38961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38962         multiarch copysignf for PPC64.
38964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38965         multiarch implementation.
38966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38967         file.
38968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38969         file.
38970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38971         file.
38972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38973         file.
38974         multiarch llround for PPC64.
38975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38976         multiarch trunc for PPC64.
38977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38978         multiarch truncf for PPC64.
38980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38981         multiarch implementation.
38982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38983         file.
38984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38985         file.
38986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38987         file.
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38989         file.
38990         multiarch llround for PPC64.
38991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38992         multiarch round for PPC64.
38993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38994         multiarch roundf for PPC64.
38996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38997         multiarch implementation.
38998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38999         file.
39000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39001         file.
39002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39003         file.
39004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39005         file.
39006         multiarch llround for PPC64.
39007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39008         multiarch floor for PPC64.
39009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39010         multiarch floorf for PPC64.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39013         multiarch implementation.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39015         file.
39016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39017         file.
39018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39019         file.
39020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39021         file.
39022         multiarch llround for PPC64.
39023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39024         multiarch ceil for PPC64.
39025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39026         multiarch ceilf for PPC64.
39028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39029         multiarch implementation.
39030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39031         file.
39032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39033         file.
39034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39035         file.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39037         multiarch llround for PPC64.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39039         multiarch lround for PPC64.
39041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39042         multiarch implementation.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39046         file.
39047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39050         multiarch isnan for PPC64.
39051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39052         multiarch isnanf for PPC64.
39054         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39055         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39056         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39057         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39058         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39061         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39062         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39067         multiarch implementations.
39068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39069         (__libc_ifunc_impl_list): Likewise.
39070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39071         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39073         multiarch stpcpy for PPC64.
39075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39076         multiarch implementations.
39077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39078         (__libc_ifunc_impl_list): Likewise.
39079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39080         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39081         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39082         multiarch strcpy for PPC64.
39084         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39085         redefine function name.
39086         (_wordcopy_fwd_dest_aligned): Likewise.
39087         (_wordcopy_bwd_aligned): Likewise.
39088         (_wordcopy_bwd_dest_aligned): Likewise.
39089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39090         multiarch implementations.
39091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39092         (__libc_ifunc_impl_list): Likewise.
39093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39094         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39097         multiarch wcscpy for PPC64.
39099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39100         multiarch implementations.
39101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39102         (__libc_ifunc_impl_list): Likewise.
39103         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39105         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39107         multiarch wcscpy for PPC64.
39109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39110         multiarch implementations.
39111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39112         (__libc_ifunc_impl_list): Likewise.
39113         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39114         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39115         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39116         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39117         multiarch wcsrchr for PPC64.
39119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39120         multiarch implementations.
39121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39122         (__libc_ifunc_impl_list): Likewise.
39123         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39124         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39125         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39126         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39127         multiarch wcschr for PPC64.
39129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39130         multiarch implementations.
39131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39132         (__libc_ifunc_impl_list): Likewise.
39133         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39134         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39135         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39136         multiarch strchrnul for PPC64.
39138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39139         implementations.
39140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39141         (__libc_ifunc_impl_list): Likewise.
39142         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39143         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39144         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39145         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39146         strchr for PPC64.
39148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39149         implementations.
39150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39151         (__libc_ifunc_impl_list): Likewise.
39152         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39153         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39155         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39156         strncmp for PPC64.
39158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39159         multiarch implementations.
39160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39161         (__libc_ifunc_impl_list): Likewise.
39162         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39163         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39164         strncasecmp for PPC64.
39165         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39166         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39167         multiarch strncasecmp_l for PPC64.
39169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39170         multiarch implementations.
39171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39172         (__libc_ifunc_impl_list): Likewise.
39173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39175         multiarch strcasecmp for PPC64.
39176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39177         file.
39178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39179         multiarch strcasecmp_l for PPC64.
39181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39182         implementations.
39183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39184         (__libc_ifunc_impl_list): Likewise.
39185         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39186         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39187         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39188         strnlen for PPC64.
39190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39191         implementations.
39192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39193         (__libc_ifunc_impl_list): Likewise.
39194         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39195         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39196         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39197         strlen for PPC64.
39199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39200         implementations.
39201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39202         (__libc_ifunc_impl_list): Likewise.
39203         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39204         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39206         rawmemrchr for PPC64.
39208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39209         implementation.
39210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39211         (__libc_ifunc_impl_list): Likewise.
39212         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39213         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39214         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39215         memrchr for PPC64.
39217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39218         implementation.
39219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39220         (__libc_ifunc_impl_list): Likewise.
39221         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39222         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39223         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39224         memchr for PPC64.
39226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39227         implementation.
39228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39229         (__libc_ifunc_impl_list): Likewise.
39230         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39231         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39232         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39233         mempcpy for PPC64.
39235         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39236         avoid cretion of __bzero symbol.
39237         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39238         Likewise.
39239         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39240         Likewise.
39241         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39242         Likewise.
39243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39244         multiarch implementations.
39245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39246         (__libc_ifunc_impl_list): Likewise.
39247         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39250         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39251         bzero for PPC32.
39252         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39253         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39254         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39255         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39256         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39257         memset for PPC64.
39258         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39260         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39262         implementations.
39263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39264         (__libc_ifunc_impl_list): Likewise.
39265         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39266         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39267         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39268         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39269         memcmp for PPC64.
39271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39272         multiarch for POWER/PPC64.
39273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39274         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39275         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39281         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39282         memcpy for PPC64.
39284         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39285         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39286         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39287         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39288         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39289         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39290         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39291         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39292         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39293         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39294         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39295         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39296         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39297         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39298         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39307 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39309         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39311 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39313         * benchtests/Makefile (bench): Add exp2 and log2.
39314         (LDLIBS-bench-exp2): Add -lm.
39315         (LDLIBS-bench-log2): Likewise.
39316         * benchtests/exp2-inputs: New inputs file.
39317         * benchtests/log2-inputs: New inputs file.
39318         * benchtests/log-inputs: Add new inputs.
39319         * benchtests/tan-inputs: Likewise.
39321 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39323         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39324         definition...
39325         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39326         (csloww2): ... from here.
39328         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39329         instead of structures.
39330         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39331         (POLYNOMIAL): Likewise.
39332         (TAYLOR_SLOW): Likewise.
39333         (__sin): Likewise.
39334         (__cos): Likewise.
39335         (slow1): Likewise.
39336         (slow2): Likewise.
39337         (sloww): Likewise.
39338         (sloww1); Likewise.
39339         (sloww2): Likewise.
39340         (bsloww1): Likewise.
39341         (bsloww2): Likewise.
39342         (cslow2): Likewise.
39343         (csloww): Likewise.
39344         (csloww1): Likewise.
39345         (csloww2): Likewise.
39347 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39349         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39350         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39351         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39352         * malloc/hooks.c (realloc_check): Likewise.
39354         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39355         * malloc/arena.c: Remove PER_THREAD conditional.
39356         [!PER_THREAD]: Remove code.
39357         (ptmalloc_unlock_all2): Likewise.
39358         (ptmalloc_init): Likewise.
39359         (_int_new_arena): Likewise.
39360         (arena_get2): Likewise.
39361         * malloc/hooks.c (__malloc_get_state): Likewise.
39362         (__malloc_set_state): Likewise.
39363         * malloc/malloc.c: Likewise.
39364         (struct malloc_state): Likewise.
39365         (struct malloc_par): Likewise.
39366         (__libc_realloc): Likewise.
39367         (__libc_mallopt): Likewise.
39369 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39371         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39373 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39375         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39376         macro to a function.  Check for zero perturb_byte.
39377         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39379         * malloc/malloc.c: (force_reg): Remove.
39380         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39381         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39382         force_reg by atomic_forced_read.
39383         * malloc/arena.c (ptmalloc_init): Likewise.
39384         * malloc/hooks.c (top_check): Likewise.
39386 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39390 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39394 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39396         * math/auto-libm-test-in: Add tests of lgamma.
39397         * math/auto-libm-test-out: Regenerated.
39398         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39399         (M_LOG_2_SQRT_PIl): Likewise.
39400         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39402         mpfr_f_f1.
39403         (func_calc_desc): Add mpfr_f_f1 union field.
39404         (ARGS1): New macro.
39405         (ARGS2): Likewise.
39406         (ARGS3): Likewise.
39407         (ARGS4): Likewise.
39408         (RET1): Likewise.
39409         (RET2): Likewise.
39410         (CALC): Likewise.
39411         (FUNC): Likewise.
39412         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39413         (test_functions): Add lgamma.
39414         (calc_generic_results): Handle mpfr_f_f1.
39415         * sysdeps/i386/fpu/libm-test-ulps: Update.
39416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39418 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39420         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39421         __mpn_add_n for PowerPC64/POWER7.
39422         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39423         __mpn_sub_n for PowerPC64/POWER7.
39425         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39426         __mpn_addmul_1 for PowerPC64.
39427         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39428         __mpn_submul_1 for PowerPC64.
39429         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39430         for PowerPC64.
39431         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39432         for PowerPC64.
39434 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39436         [BZ #15089]
39437         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39441         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39443         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39444         add multiarch folders.
39445         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39446         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39447         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39448         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39449         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39450         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39451         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39452         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39453         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39454         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39455         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39464         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39466         New file.
39467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39468         New file.
39469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39470         multiarch __ieee754_hypot for PowerPC32.
39471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39472         New file.
39473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39474         New file.
39475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39476         multiarch __ieee754_hypotf for PowerPC32.
39478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39479         long_double_symbol only if __logbl is defined.
39480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39481         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39483         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39485         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39486         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39487         path for implementation.
39488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39491         logb, and logbl multiarch implementations for PowerPC32.
39492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39493         file.
39494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39495         file.
39496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39497         multiarch logb for PowerPC32.
39498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39499         file.
39500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39501         file.
39502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39503         multiarch logbf for PowerPC32.
39504         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39506         file.
39507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39508         multiarch logbl implementation for PowerPC32.
39510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39511         and modff multiarch implementations.
39512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39513         New file.
39514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39515         New file.
39516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39517         multiarch modf for PowerPC32.
39518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39519         New file.
39520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39521         New file.
39522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39523         multiarch modff for PowerPC32.
39525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39526         and lrintf multiarch implementations.
39527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39528         New file.
39529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39530         New file.
39531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39532         multiarch lrint for PowerPC32.
39533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39534         file: multiarch lrintf for PowerPC32.
39536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39537         and lroundf multiarch implementations.
39538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39539         New file.
39540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39541         New file.
39542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39543         New file.
39544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39545         multiarch lround for PowerPC32.
39546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39547         file: multiarch lroundf for PowerPC32.
39549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39550         copysign and copysignf multiarch implementations.
39551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39552         New file.
39553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39554         New file.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39556         file: multiarch copysign for PowerPC32.
39557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39558         file: multiarch copysignf for PowerPC32.
39560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39561         and truncf multiarch implementations.
39562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39563         New file.
39564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39565         file.
39566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39567         multiarch trunc for PowerPC32.
39568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39569         New file.
39570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39571         New file.
39572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39573         multiarch truncf for PowerPC32.
39575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39576         and roundf multiarch implementations.
39577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39578         New file.
39579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39580         file.
39581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39582         multiarch round for PowerPC32.
39583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39584         New file.
39585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39586         New file.
39587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39588         multiarch roundf for PowerPC32.
39590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39591         and floorf multiarch implementations.
39592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39593         New file.
39594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39595         file.
39596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39597         multiarch floor for PowerPC32.
39598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39599         New file.
39600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39601         New file.
39602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39603         multiarch floorf for PowerPC32.
39605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39606         and ceilf multiarch implementations.
39607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39608         New file.
39609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39610         file.
39611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39612         multiarch ceil for PowerPC32.
39613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39614         New file.
39615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39616         file.
39617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39618         multiarch ceilf for PowerPC32.
39620         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39621         is defined.
39622         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39623         FINITEF is defined.
39624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39625         and finitef multiarch implementations.
39626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39627         New file.
39628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39629         file.
39630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39631         multiarch finite for PowerPC32.
39632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39633         New file.
39634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39635         file: multiarch finitef for PowerPC32.
39637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39638         and isinff multiarch implementations.
39639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39640         file.
39641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39642         file.
39643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39644         multiarch isinf for PowerPC32.
39645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39646         New file.
39647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39648         multiarch isinff for PowerPC32.
39650         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39651         alias when __isnan is defined.
39652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39653         and isnanf multiarch implementations.
39654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39655         file.
39656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39657         file.
39658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39659         file.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39661         file.
39662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39663         multiarch isnan for PowerPC32.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39665         New file.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39667         New file.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39669         multiarch isnanf for PowerPC32.
39671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39672         and sqrtf multiarch implementations.
39673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39674         file.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39676         file.
39677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39678         multiarch sqrt for PowerPC32.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39680         file.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39682         file.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39684         multiarch sqrtf for PowerPC32.
39686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39687         and llroundf multiarch implementations.
39688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39689         New file.
39690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39691         New file.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39693         New file.
39694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39695         file: multiarch llround for PowerPC32.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39697         file: multiarch llroundf for PowerPC32.
39699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39700         multiarch PowerPC32 fpu implementations.
39701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39702         New file.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39704         New file.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39706         multiarch llrint for PowerPC32.
39707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39708         New file.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39710         New file.
39711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39712         file.
39714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39716         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39717         file.
39718         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39719         file.
39720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39721         file.
39722         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39723         multiarch wordcopy for PPC32.
39724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39725         wordcopy objects.
39726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39727         (__libc_ifunc_impl_list): Likewise.
39728         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39729         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39731         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39732         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39733         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39735         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39737         file.
39738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39739         file.
39740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39741         file.
39742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39743         multiarch wcscpy for PPC32.
39744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39745         multiarch objects.
39746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39747         (__libc_ifunc_impl_list): Likewise.
39748         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39749         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39750         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39751         sysdeps/powerpc/power6/wcscpy.c.
39753         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39755         file.
39756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39757         file.
39758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39759         file.
39760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39761         multiarch wcsrchr for PPC32.
39762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39763         multiarch objects.
39764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39765         (__libc_ifunc_impl_list): Likewise.
39766         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39767         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39768         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39769         sysdeps/powerpc/power6/wcsrchr.c.
39771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39772         file.
39773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39774         file.
39775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39777         multiarch wcschr for PPc32.
39778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39779         multiarch objects.
39780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39781         (__libc_ifunc_impl_list): Likewise.
39782         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39783         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39784         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39785         sysdeps/powerpc/power6/wcschr.c.
39787         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39789         file.
39790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39791         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39792         file: multiarch strchr for PPC32.
39793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39794         multiarch objects.
39795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39796         (__libc_ifunc_impl_list): Likewise.
39798         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39799         name.
39800         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39801         file.
39802         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39803         file.
39804         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39805         multiarch strchrnul for PPC32.
39806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39807         multiarch objects.
39808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39809         (__libc_ifunc_impl_list): Likewise.
39811         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39812         file.
39813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39814         multiarch strncasecmp for PPC32.
39815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39816         file.
39817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39818         multiarch strncasecmp_l for PPC32.
39819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39820         strncasecmp multiarch objects.
39821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39822         (__libc_ifunc_impl_list): Likewise.
39824         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39825         file.
39826         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39827         multiarch strncasecmp for PPC32.
39828         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39829         New file.
39830         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39831         multiarch strcasecmp_l for PPC32.
39832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39833         multiarch objects.
39834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39835         (__libc_ifunc_impl_list): Likewise.
39837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39838         file.
39839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39840         file.
39841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39842         multiarch strncmp for PPC32.
39843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39844         multiarch objects.
39845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39846         (__libc_ifunc_impl_list): Likewise.
39848         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39849         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39850         file.
39851         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39852         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39854         multiarch objects.
39855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39856         (__libc_ifunc_impl_list): Likewise.
39858         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39859         file.
39860         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39861         file.
39862         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39864         multiarch objects.
39865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39866         (__libc_ifunc_impl_list): Likewise.
39868         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39869         file.
39870         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39871         file.
39872         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39873         multiarch rawmemchr for PPC32.
39874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39875         multiarch objects.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39877         (__libc_ifunc_impl_list): Likewise.
39879         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39880         file.
39881         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39882         file.
39883         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39884         file: memrchr multiarch for PPC32.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39886         multiarch objects.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39888         (__libc_ifunc_impl_list): Likewise.
39890         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39891         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39892         file.
39893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39894         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39895         multiarch memchr for PPC32.
39896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39897         multiarch objects.
39898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39899         (__libc_ifunc_impl_list): Likewise.
39901         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39903         file.
39904         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39905         file.
39906         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39907         file: multiarch mempcpy for PPC32.
39908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39909         multiarch objects.
39910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39911         (__libc_ifunc_impl_list): Likewise.
39913         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39914         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39917         multiarch bzero for PPC32.
39918         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39919         file.
39920         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39921         file.
39922         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39923         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39924         file: multiarch memset for PPC32.
39925         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39927         memset multiarch objects.
39928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39929         (__libc_ifunc_impl_list): Likewise.
39931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39932         file.
39933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39935         memcmp for PPC32.
39936         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39938         multiarch objects.
39939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39940         (__libc_ifunc_impl_list): Likewise.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39945         file.
39946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39947         file.
39948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39949         file.
39950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39951         multiarch memcpy for PPC32.
39952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39953         multiarch objects.
39954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39955         (__libc_ifunc_impl_list): Likewise.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39958         support multiarch for POWER/PPC32.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39960         Likewise.
39961         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39963         Implies file to make multiarch folder appers before the fpu and
39964         default folder for power4 configuration.
39966 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39968         * scripts/bench.pl: Append volatile keyword to type.
39970 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39972         * sysdeps/sh/sotruss-lib.c: New file.
39973         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39975 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39979 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39981         [BZ #6810]
39982         * math/w_tgamma.c: Include <errno.h>.
39983         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39984         * math/w_tgammaf.c: Include <errno.h>.
39985         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39986         * math/w_tgammal.c: Include <errno.h>.
39987         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39988         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39989         underflow.  Add more tgamma tests.
39990         * math/auto-libm-test-out: Regenerated.
39991         * sysdeps/i386/fpu/libm-test-ulps: Update.
39992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39994         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39995         sin, sinh, tan, tanh, tgamma, y0 and y1.
39996         * math/auto-libm-test-out: Regenerated.
39997         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39998         (TEST_COND_x86): Likewise.
39999         (M_E2l): Remove macro.
40000         (M_E3l): Likewise.
40001         (M_2_SQRT_PIl): Likewise.
40002         (M_SQRT_PIl): Likewise.
40003         (M_1_DIV_El): Likewise.
40004         (log_test_data): Use AUTO_TESTS_f_f.
40005         (log10_test_data): Likewise.
40006         (log1p_test_data): Likewise.
40007         (log2_test_data): Likewise.
40008         (sin_test_data): Likewise.
40009         (sin_tonearest_test_data): Likewise.
40010         (sin_towardzero_test_data): Likewise.
40011         (sin_downward_test_data): Likewise.
40012         (sin_upward_test_data): Likewise.
40013         (sinh_test_data): Likewise.
40014         (sinh_tonearest_test_data): Likewise.
40015         (sinh_towardzero_test_data): Likewise.
40016         (sinh_downward_test_data): Likewise.
40017         (sinh_upward_test_data): Likewise.
40018         (tan_test_data): Likewise.
40019         (tan_tonearest_test_data): Likewise.
40020         (tan_towardzero_test_data): Likewise.
40021         (tan_downward_test_data): Likewise.
40022         (tan_upward_test_data): Likewise.
40023         (tanh_test_data): Likewise.
40024         (tgamma_test_data): Likewise.
40025         (y0_test_data): Likewise.
40026         (y1_test_data): Likewise.
40027         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40028         (special_real_inputs): Add pi/4.
40029         * sysdeps/i386/fpu/libm-test-ulps: Update.
40030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40032 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40034         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40035         "longjmp_target" static probes.
40036         (__longjmp): Rename to __longjmp_symbol.
40037         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40038         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40039         on which longjmp to generate.
40040         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40041         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40042         probe.
40043         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40044         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40045         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40047         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40048         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40050         __longjmp_symbol based on which __longjmp to generate.
40051         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40052         probe.
40053         (setjmp): Rename to setjmp_symbol.
40054         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40055         (_setjmp): Rename to _setjmp_symbol.
40056         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40057         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40058         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40059         which setjmp to generate.
40060         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40061         "longjmp_target" static probes.
40063 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40065         * benchtests/README: Add note about output arguments.
40066         * benchtests/bench-sincos.c: Remove file.
40067         * benchtests/sincos-inputs: New file.
40068         * scripts/bench.pl: Identify output arguments and define
40069         static variables for them.
40071         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40073         [BZ #15941]
40074         * Makefile (INSTALL): Add install-plain.texi as the primary
40075         dependency.
40076         * manual/install-plain.texi: New file.
40077         * manual/install.texi: Include node directive only for
40078         non-plaintext output.
40080 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40082         * stdlib/longlong.h: Update from GCC.
40084         [BZ #6807]
40085         [BZ #15901]
40086         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40087         * math/w_j0f.c (y0f): Likewise.
40088         * math/w_j0l.c (__y0l): Likewise.
40089         * math/w_j1.c (y1): Likewise.
40090         * math/w_j1f.c (y1f): Likewise.
40091         * math/w_j1l.c (__y1l): Likewise.
40092         * math/w_jn.c (yn): Likewise.
40093         * math/w_jnf.c (ynf): Likewise.
40094         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40095         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40096         value for Bessel function domain errors outside _SVID_ mode.
40097         Adjust sign of return value for yn (negative integer, 0).
40098         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40099         by zero in return for negative x and set sign appropriately for
40100         negative n.
40101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40102         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40103         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40104         expectations in error cases.
40105         (y1_test_data): Likewise.
40106         (yn_test_data): Likewise.
40107         * sysdeps/i386/fpu/libm-test-ulps: Update.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40110 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40112         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40113         "64" to "64-v1".  Add "64-v2".
40114         (abi-64-options): Rename to ...
40115         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40116         (abi-64-condition): Rename to ...
40117         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40118         (abi-64-ld-soname): Rename to ...
40119         (abi-64-v1-ld-soname): ... this.
40120         (abi-64-v2-options): Define.
40121         (abi-64-v2-condition): Likewise.
40122         (abi-64-v2-ld-soname): Likewise.
40123         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40124         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40129 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40130             Alan Modra  <amodra@gmail.com>
40132         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40133         New versions for use with the ELFv2 ABI.
40134         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40135         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40136         declaration.
40137         (struct La_ppc64v2_retval): Likewise.
40138         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40139         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40140         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40141         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40142         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40143         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40144         Do not save or restore CR.
40145         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40146         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40147         return values for ELFv2 ABI.  Fix location of FPR return registers.
40148         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40149         updated values for _CALL_ELF == 2.
40150         (La_regs, La_retval, int_retval): Likewise.
40152 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40154         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40155         (FRAME_MIN_SIZE_PARM): Likewise.
40156         (FRAME_BACKCHAIN): Likewise.
40157         (FRAME_CR_SAVE): Likewise.
40158         (FRAME_LR_SAVE): Likewise.
40159         (FRAME_TOC_SAVE): Likewise.
40160         (FRAME_PARM_SAVE): Likewise.
40161         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40162         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40163         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40164         (call_mcount_parm_offset): New macro.
40165         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40166         (PROF): Use symbolic stack frame offsets.
40167         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40169         Redefine in terms of FRAME_MIN_SIZE.
40170         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40171         (_dl_profile_resolve): Likewise.  Update comment.
40172         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40173         symbols stack frame offsets.
40174         (__sigsetjmp): Likewise.
40175         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40176         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40177         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40178         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40181         (FRAME_BACKCHAIN): Remove.
40182         (FRAME_CR_SAVE): Likewise.
40183         (FRAME_LR_SAVE): Likewise.
40184         (FRAME_COMPILER_DW): Likewise.
40185         (FRAME_LINKER_DW): Likewise.
40186         (FRAME_TOC_SAVE): Likewise.
40187         (FRAME_PARM_SAVE): Likewise.
40188         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40189         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40190         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40192         (CHECK_SP): Use symbolic stack frame offsets.
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40194         zone" instead of caller's parameter save area for temp storage.
40195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40196         Likewise.  Also, use symbolic stack frame offsets.
40197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40198         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40199         our own stack frame instead of the caller's.
40200         (__socket): Use symbolic stack frame offsets.
40202 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40203             Alan Modra  <amodra@gmail.com>
40205         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40206         Define.
40207         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40208         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40209         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40210         New function.
40211         (elf_machine_fixup_plt): Call it.
40212         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40213         reloc arguments.
40214         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40215         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40216         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40217         r2 before calling target.
40219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40220             Alan Modra  <amodra@gmail.com>
40222         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40223         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40224         versions of macros to support ELFv2 ABI.
40225         (LOCALENTRY): New macro.
40226         (ENTRY, EALIGN): Use it.
40227         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40228         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40229         fall through into ENTRY entry point.
40230         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40231         Only define if _CALL_ELF != 2.
40233         (elf_machine_matches_host): Verify ABI version matches.
40234         (RTLD_START): Use LOCALENTRY.
40235         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40236         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40237         (PLT_ENTRY_WORDS): New macro.
40238         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40239         (elf_machine_runtime_setup): Support ELFv2 ABI.
40240         (elf_machine_fixup_plt): Likewise.
40241         (elf_machine_plt_conflict): Likewise.
40242         (resolve_ifunc): Likewise.
40243         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40244         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40245         Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40247         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40249         (makecontext): Support ELFv2 ABI.
40250         * elf/elf.h (EF_PPC64_ABI): Define.
40252 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40254         * sysdeps/powerpc/powerpc64/sysdep.h
40255         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40256         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40257         (ENTRY) [ASSEMBLER]: ... but instead here ...
40258         (EALIGN) [ASSEMBLER]: ... and here.
40259         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40260         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40261         (ENTRY_2) [!ASSEMBLER]: Use it.
40262         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40263         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40265         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40266         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40268         Use PPC64_LOAD_FUNCPTR.
40270         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40272 2013-12-04  Alan Modra  <amodra@gmail.com>
40274         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40275         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40276         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40277         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40280         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40281         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40282         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40283         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40284         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40289         (__makecontext): Fix incorrect CFI when backtracing out of
40290         context created via makecontext.
40291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40292         (__setcontext): Fix incorrect CFI during switch to new context.
40293         (__novec_setcontext): Likewise.
40295 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40297         [BZ #4772]
40298         * time/strptime_l.c (__strptime_internal): Allow modifiers
40299         in strptime.
40300         * time/tst-strptime.c (day_tests): Add testcase.
40302 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40304         * scripts/bench.pl: Skip over blank lines.
40306 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40308         [BZ #926]
40309         * manual/time.texi (Calendar Time): Clarify what timezone functions
40310         use.
40312 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40316 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40318         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40319         implementation.
40320         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40321         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40322         * debug/memset_chk.c (__memset_chk): Likewise.
40323         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40324         * debug/strncpy_chk.c: Likewise.
40326 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40328         [BZ #15268]
40329         [BZ #15425]
40330         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40331         (__ieee754_exp): For possibly underflowing results, check size of
40332         result and force underflow exception if required.
40333         * math/auto-libm-test-in: Add more tests of exp.
40334         * math/auto-libm-test-out: Regenerated.
40335         * sysdeps/i386/fpu/libm-test-ulps: Update.
40336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40338         [BZ #16283]
40339         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40340         * math/w_exp2f.c (__exp2f): Likewise.
40341         * math/w_exp2l.c (__exp2l): Likewise.
40342         * math/auto-libm-test-in: Do not allow missing errno on exp2
40343         underflow.
40344         * math/auto-libm-test-out: Regenerated.
40346 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40348         [BZ #16274]
40349         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40350         handle filename validation.
40351         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40352         (do_open): Delete.
40354 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40356         [BZ #6786]
40357         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40358         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40359         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40360         <float.h>.
40361         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40362         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40363         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40365         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40366         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40367         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40368         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40369         Add more erfc tests.
40370         * math/auto-libm-test-out: Regenerated.
40371         * sysdeps/i386/fpu/libm-test-ulps: Update.
40372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40374         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40375         exp2, expm1, j0 and j1.
40376         * math/auto-libm-test-out: Regenerated.
40377         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40378         (erfc_test_data): Likewise.
40379         (exp_test_data): Likewise.
40380         (exp_tonearest_test_data): Likewise.
40381         (exp_towardzero_test_data): Likewise.
40382         (exp_downward_test_data): Likewise.
40383         (exp_upward_test_data): Likewise.
40384         (exp10_test_data): Likewise.
40385         (exp2_test_data): Likewise.
40386         (expm1_test_data): Likewise.
40387         (j0_test_data): Likewise.
40388         (j1_test_data): Likewise.
40389         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40390         (input_flag_type): Add flag_xfail_rounding.
40391         (input_flags): Add xfail-rounding.
40392         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40393         (output_for_one_input_case): Handle flag_xfail_rounding.
40394         * sysdeps/i386/fpu/libm-test-ulps: Update.
40395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40397 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40399         [BZ #16289]
40400         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40401         division by 0.
40403 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40405         [BZ #16195]
40406         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40407         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40408         (STAP_PROBE0): New macro.
40409         (STAP_PROBE1): Likewise.
40410         (STAP_PROBE2): Likewise.
40411         (STAP_PROBE3): Likewise.
40412         (STAP_PROBE4): Likewise.
40414 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40416         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40418 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40420         * benchtests/Makefile (bench): Add sqrt.
40421         (LDLIBS-bench-sqrt): New.
40422         * benchtests/sqrt-input: New.
40424 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40426         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40427         (GAIH_EAI): Likewise.
40428         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40429         (gaih_inet): Likewise.
40430         (getaddrinfo): Don't use GAIH_EAI.
40432         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40433         (struct gaih): Remove definition.
40435 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40437         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40438         Use HERRNOP directly.
40440 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40444 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40446         * math/gen-auto-libm-tests.c (test_functions): Add more
40447         single-argument functions.
40448         (special_fill_pi_2): New function.
40449         (special_fill_minus_pi_2): Likewise.
40450         (special_fill_pi_6): Likewise.
40451         (special_fill_minus_pi_6): Likewise.
40452         (special_fill_pi_3): Likewise.
40453         (special_fill_2pi_3): Likewise.
40454         (special_fill_e): Likewise.
40455         (special_fill_1_e): Likewise.
40456         (special_fill_e_minus_1): Likewise.
40457         (special_real_inputs): Add more special inputs.
40458         (output_for_one_input_case): Do not require ERANGE on underflow to
40459         zero if round-to-nearest result does not underflow to zero, unless
40460         exact results required.
40461         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40462         atan, atanh, cbrt, cos and cosh.
40463         * math/auto-libm-test-out: Regenerated.
40464         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40465         (acos_tonearest_test_data): Likewise.
40466         (acos_towardzero_test_data): Likewise.
40467         (acos_downward_test_data): Likewise.
40468         (acos_upward_test_data): Likewise.
40469         (acosh_test_data): Likewise.
40470         (asin_test_data): Likewise.
40471         (asin_tonearest_test_data): Likewise.
40472         (asin_towardzero_test_data): Likewise.
40473         (asin_upward_test_data): Likewise.
40474         (asinh_test_data): Likewise.
40475         (atan_test_data): Likewise.
40476         (atanh_test_data): Likewise.
40477         (cbrt_test_data): Likewise.
40478         (cos_test_data): Likewise.
40479         (cos_tonearest_test_data): Likewise.
40480         (cos_towardzero_test_data): Likewise.
40481         (cos_downward_test_data): Likewise.
40482         (cos_upward_test_data): Likewise.
40483         (cosh_test_data): Likewise.
40484         (cosh_tonearest_test_data): Likewise.
40485         (cosh_towardzero_test_data): Likewise.
40486         (cosh_downward_test_data): Likewise.
40487         (cosh_upward_test_data): Likewise.
40488         * sysdeps/i386/fpu/libm-test-ulps: Update.
40489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40491 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40493         [BZ #6787]
40494         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40495         * math/w_exp10f.c (__exp10f): Likewise.
40496         * math/w_exp10l.c (__exp10l): Likewise.
40497         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40498         errno settings in existing tests.
40500         [BZ #14032]
40501         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40502         precision control set to double precision.
40503         * sysdeps/i386/fpu/w_sqrt.c: New file.
40504         * math/auto-libm-test-in: Add more tests.
40505         * math/auto-libm-test-out: Update.
40507         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40508         (sqrt_test_tonearest): New function.
40509         (sqrt_towardzero_test_data): New variable.
40510         (sqrt_test_towardzero): New function.
40511         (sqrt_downward_test_data): New variable.
40512         (sqrt_test_downward): New function.
40513         (sqrt_upward_test_data): New variable.
40514         (sqrt_test_upward): New function.
40515         (main): Call the new functions.
40517         * math/gen-auto-libm-tests.c: New file.
40518         * math/auto-libm-test-in: Likewise.
40519         * math/auto-libm-test-out: New generated file.
40520         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40521         variables.
40522         (%beautify): Add generated representations of zero.
40523         (top level): Set $auto_input and call parse_auto_input.
40524         (beautify): Remove trailing "f" from hex float constants.
40525         (parse_args): Handle XFAIL_TEST.
40526         (convert_condition): New function.
40527         (or_value): Likewise.
40528         (or_cond_value): Likewise.
40529         (generate_testfile): Handle AUTO_TESTS_* lines.
40530         (parse_auto_input): New function.
40531         * math/libm-test.inc (XFAIL_TEST): New macro.
40532         (ERRNO_UNCHANGED): Update value.
40533         (ERRNO_EDOM): Likewise.
40534         (ERRNO_ERANGE): Likewise.
40535         (IGNORE_RESULT): Likewise.
40536         (TEST_COND_flt_32): New macro.
40537         (TEST_COND_dbl_64): Likewise.
40538         (TEST_COND_ldbl_96_intel): Likewise.
40539         (TEST_COND_ldbl_96_m68k): Likewise.
40540         (TEST_COND_ldbl_128): Likewise.
40541         (TEST_COND_ldbl_128ibm): Likewise.
40542         (TEST_COND_long32): Likewise.
40543         (TEST_COND_long64): Likewise.
40544         (TEST_COND_before_rounding): Likewise.
40545         (TEST_COND_after_rounding): Likewise.
40546         (enable_test): Handle XFAIL_TEST flag.
40547         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40548         with finite results.
40549         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40550         auto-libm-test-out.
40552 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40553             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40555         [BZ #16214]
40556         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40557         __tls_get_addr_internal instead of __tls_get_offset in order to
40558         avoid GOT pointer dependency.  Make rtld export
40559         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40560         __tls_get_addr since we are a __tls_get_offset platform.
40561         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40562         GOT pointer being set up before.
40563         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40565 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40567         * manual/math.texi (Errors in Math Functions): Document accuracy
40568         goals.
40570         [BZ #15004]
40571         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40572         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40575         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40577         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40578         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40588         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40589         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40590         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40591         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40592         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40593         Likewise.
40594         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40595         Likewise.
40596         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40597         Likewise.
40598         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40599         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40600         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40601         atomic-feupdateenv and flt-rounds.
40602         * sysdeps/powerpc/nofpu/Versions (libc): Add
40603         __atomic_feholdexcept, __atomic_feclearexcept,
40604         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40605         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40606         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40607         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40608         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40609         here.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40611         Update.
40613         * manual/arith.texi (FP Exceptions): Document that exceptions may
40614         not be raised when matherr is used.
40615         (Math Error Reporting): Document overflow in directed rounding
40616         modes.  Document that errno may not be set when finite values are
40617         returned on overflow.  Document intent to set errno on underflow
40618         only for underflow to zero.
40620         [BZ #16271]
40621         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40622         round-to-nearest then adjust result for other rounding modes.
40623         * include/fenv.h (fegetround): Use libm_hidden_proto.
40624         * math/fegetround.c (fegetround): Use libm_hidden_def.
40625         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40626         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40627         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40628         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40629         Likewise.
40630         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40631         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40632         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40633         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40635 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40637         [BZ #16077]
40638         * nss/Versions (libnss_files): Add
40639         _nss_files_gethostbyname3_r.
40640         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40641         New function.
40642         (HOST_DB_LOOKUP): Remove macro.
40643         (_nss_files_gethostbyname_r): Implement function without the
40644         HOST_DB_LOOKUP macro.
40645         (_nss_files_gethostbyname2_r): Likewise.
40647 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40649         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40651 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40653         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40654         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40655         warning.
40657 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40659         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40660         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40662         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40663         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40664         __fe_nomask_env_priv and attribute_hidden.
40665         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40666         (libc_feupdateenv_test_ppc): Likewise.
40667         (libc_feresetround_ppc): Likewise.
40668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40669         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40670         compat_symbol macro.
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40672         (__fe_nomask_env): Likewise.
40673         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40675 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40677         * string/Makefile: Remove ifunc tests.
40678         * string/test-string.h: Define TEST_IFUNC.
40679         * string/test-bcopy-ifunc.c: Remove.
40680         * string/test-bzero-ifunc.c: Likewise.
40681         * string/test-memccpy-ifunc.c: Likewise.
40682         * string/test-memchr-ifunc.c: Likewise.
40683         * string/test-memcmp-ifunc.c: Likewise.
40684         * string/test-memcpy-ifunc.c: Likewise.
40685         * string/test-memmem-ifunc.c: Likewise.
40686         * string/test-memmove-ifunc.c: Likewise.
40687         * string/test-mempcpy-ifunc.c: Likewise.
40688         * string/test-memrchr-ifunc.c: Likewise.
40689         * string/test-memset-ifunc.c: Likewise.
40690         * string/test-rawmemchr-ifunc.c: Likewise.
40691         * string/test-stpcpy-ifunc.c: Likewise.
40692         * string/test-stpncpy-ifunc.c: Likewise.
40693         * string/test-strcasecmp-ifunc.c: Likewise.
40694         * string/test-strcasestr-ifunc.c: Likewise.
40695         * string/test-strcat-ifunc.c: Likewise.
40696         * string/test-strchr-ifunc.c: Likewise.
40697         * string/test-strchrnul-ifunc.c: Likewise.
40698         * string/test-strcmp-ifunc.c: Likewise.
40699         * string/test-strcpy-ifunc.c: Likewise.
40700         * string/test-strcspn-ifunc.c: Likewise.
40701         * string/test-strlen-ifunc.c: Likewise.
40702         * string/test-strncasecmp-ifunc.c: Likewise.
40703         * string/test-strncat-ifunc.c: Likewise.
40704         * string/test-strncmp-ifunc.c: Likewise.
40705         * string/test-strncpy-ifunc.c: Likewise.
40706         * string/test-strnlen-ifunc.c: Likewise.
40707         * string/test-strpbrk-ifunc.c: Likewise.
40708         * string/test-strrchr-ifunc.c: Likewise.
40709         * string/test-strspn-ifunc.c: Likewise.
40710         * string/test-strstr-ifunc.c: Likewise.
40712 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40714         * benchtests/Makefile: Remove ifunc tests.
40715         * benchtests/bench-string.h: Define TEST_IFUNC.
40716         * benchtests/bench-bcopy-ifunc.c: Remove.
40717         * benchtests/bench-bzero-ifunc.c: Likewise.
40718         * benchtests/bench-memccpy-ifunc.c: Likewise.
40719         * benchtests/bench-memchr-ifunc.c: Likewise.
40720         * benchtests/bench-memcmp-ifunc.c: Likewise.
40721         * benchtests/bench-memcpy-ifunc.c: Likewise.
40722         * benchtests/bench-memmem-ifunc.c: Likewise.
40723         * benchtests/bench-memmove-ifunc.c: Likewise.
40724         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40725         * benchtests/bench-memrchr-ifunc.c: Likewise.
40726         * benchtests/bench-memset-ifunc.c: Likewise.
40727         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40728         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40729         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40730         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40731         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40732         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40733         * benchtests/bench-strcat-ifunc.c: Likewise.
40734         * benchtests/bench-strchr-ifunc.c: Likewise.
40735         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40736         * benchtests/bench-strcmp-ifunc.c: Likewise.
40737         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40738         * benchtests/bench-strcpy-ifunc.c: Likewise.
40739         * benchtests/bench-strcspn-ifunc.c: Likewise.
40740         * benchtests/bench-strlen-ifunc.c: Likewise.
40741         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40742         * benchtests/bench-strncat-ifunc.c: Likewise.
40743         * benchtests/bench-strncmp-ifunc.c: Likewise.
40744         * benchtests/bench-strncpy-ifunc.c: Likewise.
40745         * benchtests/bench-strnlen-ifunc.c: Likewise.
40746         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40747         * benchtests/bench-strrchr-ifunc.c: Likewise.
40748         * benchtests/bench-strsep-ifunc.c: Likewise.
40749         * benchtests/bench-strspn-ifunc.c: Likewise.
40750         * benchtests/bench-strstr-ifunc.c: Likewise.
40752 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40754         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40756 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40758         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40759         * rt/aio.h: Likewise.
40760         * sysdeps/gnu/bits/utmp.h: Likewise.
40761         * sysdeps/gnu/bits/utmpx.h: Likewise.
40762         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40763         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40764         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40765         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40766         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40767         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40768         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40769         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40770         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40771         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40772         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40773         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40774         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40776         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40777         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40778         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40779         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40780         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40781         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40782         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40783         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40784         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40785         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40786         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40788         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40789         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40790         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40791         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40792         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40793         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40794         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40795         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40796         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40797         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40798         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40799         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40800         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40801         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40802         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40803         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40805 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40807         [BZ #16245]
40808         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40809         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40811 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40813         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40814         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40815         Likewise.
40817 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40819         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40820         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40821         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40822         (__fesetround): Remove define.
40823         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40824         rounding and exceptions handling.
40825         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40826         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40827         (__fe_nomask_env): Likewise.
40828         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40829         __fegetround instead of fegetround.
40830         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40831         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40833 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40835         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40836         it's there.
40838         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40840 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40842         [BZ #11157]
40843         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40844         (encrypt_r): Likewise.
40845         * malloc/obstack.h (obstack_free): Likewise.
40846         * posix/unistd.h (encrypt): Likewise.
40848 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40850         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40851         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40852         DL_CALL_DT_FINI() that call the functions directly.
40853         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40854         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40855         * elf/dl-fini.c: Likewise.
40857 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40859         * malloc/hooks.c (memalign_check): Add alignment rounding.
40860         * malloc/malloc.c (_mid_memalign): New function.
40861         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40862         Implement by calling _mid_memalign.
40863         * manual/probes.texi (Memory Allocation Probes): Remove
40864         memory_valloc_retry and memory_pvalloc_retry.
40866 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40868         * locale/programs/locarchive.c (open_archive): Add const
40869         qualifier to ARCHIVEFNAME and copy default fname to
40870         DEFAULT_FNAME.
40872         [BZ #15601]
40873         * libio/tst-widetext.input: Rename Oriya to Odia.
40874         * locale/iso-639.def: Likewise.
40876         * manual/probes.texi (Mathematical Function Probes): Add
40877         documentation for sin, cos, asin and acos probes.
40878         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40879         (__sin32): Add slowasin probe.
40880         (__cos32): Add slowacos probe.
40881         (__mpsin): Add slowsin probe.
40882         (__mpcos): Add slowcos probe.
40884 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40886         [BZ #15483]
40887         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40888         thread-local __sim_exceptions_thread and global
40889         __sim_exceptions_global.
40890         (__sim_disabled_exceptions): Change to thread-local
40891         __sim_disabled_exceptions_thread and global
40892         __sim_disabled_exceptions_global.
40893         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40894         and global __sim_round_mode_global.
40895         (__simulate_exceptions): Use thread-local floating-point state and
40896         set global state from it as needed.
40897         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40898         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40899         __sim_round_mode_thread.
40900         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40901         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40902         and global __sim_exceptions_global.
40903         (__sim_disabled_exceptions): Change to thread-local
40904         __sim_disabled_exceptions_thread and global
40905         __sim_disabled_exceptions_global.
40906         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40907         and global __sim_round_mode_global.
40908         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40909         (SIM_SET_GLOBAL): Likewise.
40910         * sysdeps/powerpc/soft-fp/sfp-machine.h
40911         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40912         __sim_round_mode_thread.
40913         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40914         __sim_disabled_exceptions_thread.
40915         (__sim_exceptions): Change to __sim_exceptions_thread.
40916         (__sim_disabled_exceptions): Change to
40917         __sim_disabled_exceptions_thread.
40918         (__sim_round_mode): Change to __sim_round_mode_thread.
40919         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40920         thread-local floating-point state and set global state from it as
40921         needed.
40922         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40923         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40924         (__sim_disabled_exceptions): Remove extern declaration.
40925         (feenableexcept): Use thread-local floating-point state and set
40926         global state from it as needed.
40927         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40928         extern declaration.
40929         (__sim_disabled_exceptions): Likewise.
40930         (__sim_round_mode): Likewise.
40931         (__fegetenv): Use thread-local floating-point state.
40932         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40933         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40934         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40935         floating-point state and set global state from it as needed.
40936         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40937         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40938         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40939         Likewise.
40940         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40941         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40942         Likewise.
40943         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40944         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40945         Use __sim_round_mode_thread.
40946         * math/test-fenv-tls.c: New file.
40947         * math/Makefile (tests): Add test-fenv-tls.
40948         ($(objpfx)test-fenv-tls): Depend on
40949         $(common-objpfx)nptl/libpthread.so.
40951 2013-11-19  Andreas Schwab  <schwab@suse.de>
40953         * locale/programs/locale.c (show_info): Decode wordarray elements.
40954         * locale/categories.def (LC_MONETARY): Add element for
40955         _NL_MONETARY_CRNCYSTR.
40956         * locale/C-monetary.c (conversion_rate): New variable.
40957         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40958         element.
40960 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40962         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40963         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40965 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40967         * elf/Makefile (tst-auxv): New test.
40968         * elf/tst-auxv.c: New
40969         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40971 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40973         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40974         (hidden_proto): Caller changed.
40975         (hidden_tls_proto): New macro.
40976         (libc_hidden_tls_proto): Likewise.
40977         (rtld_hidden_tls_proto): Likewise.
40978         (libm_hidden_tls_proto): Likewise.
40979         (libresolv_hidden_tls_proto): Likewise.
40980         (librt_hidden_tls_proto): Likewise.
40981         (libdl_hidden_tls_proto): Likewise.
40982         (libnss_files_hidden_tls_proto): Likewise.
40983         (libnsl_hidden_tls_proto): Likewise.
40984         (libnss_nisplus_hidden_tls_proto): Likewise.
40985         (libutil_hidden_tls_proto): Likewise.
40987 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40989         [BZ #10253]
40990         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40991         (decompose_rpath): Defer expansion to fillin_rpath.
40992         (_dl_init_paths): Pass linkmap to fillin_rpath.
40994 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40996         * benchtests/Makefile: Add strsep.
40997         * benchtests/bench-strsep.c: New file: strsep benchtest.
40998         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41000 2013-11-18  Andreas Schwab  <schwab@suse.de>
41002         * locale/programs/locale.c (show_info) [case byte]: Check for
41003         '\377' instead of '\177'.
41004         * locale/C-monetary.c (not_available): Always use "\377".
41005         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41006         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41007         detect unavailable sign_posn locale elements.
41008         * locale/localeconv.c (__localeconv): For grouping and
41009         mon_grouping handle "\177" and "\377" like no grouping.
41010         (INT_ELEM): New macro.  Use it to set all numeric members.
41011         * locale/programs/ld-monetary.c (monetary_read)
41012         <tok_mon_grouping>: Normalize single -1 to the empty string.
41013         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41014         Likewise.
41016 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41018         [BZ #16055]
41019         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41020         when we match (nil).
41021         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41023 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41025         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41026         (NO_TEST_INLINE): Update value.
41027         (ERRNO_UNCHANGED): Likewise.
41028         (ERRNO_EDOM): Likewise.
41029         (ERRNO_ERANGE): Likewise.
41030         (IGNORE_RESULT): Likewise.
41031         (check_float_internal): Check signs of NaN results if
41032         TEST_NAN_SIGN used.
41033         (check_complex): Pass TEST_NAN_SIGN flag through to second
41034         check_float_internal call.
41035         (copysign_test_data): Add tests with quiet NaNs as second
41036         argument.  Use TEST_NAN_SIGN.
41037         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41038         TEST_NAN_SIGN.
41039         (signbit_test_data): Add tests of quiet NaN argument.
41040         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41042         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41043         $ignore_result.
41044         (parse_args): Handle function results specified as IGNORE.
41045         * math/libm-test.inc (IGNORE_RESULT): New macro.
41046         (check_float_internal): Do not check numerical result if flag
41047         IGNORE_RESULT set.
41048         (check_complex): Pass through IGNORE_RESULT to second
41049         check_float_internal call.
41050         (check_int): Do not check numerical result if flag IGNORE_RESULT
41051         set.
41052         (check_long): Likewise.
41053         (check_bool): Likewise.
41054         (check_longlong): Likewise.
41055         (lrint_test_data): Add tests of infinite and NaN arguments.
41056         (lrint_tonearest_test_data): Likewise.
41057         (lrint_towardzero_test_data): Likewise.
41058         (lrint_downward_test_data): Likewise.
41059         (lrint_upward_test_data): Likewise.
41060         (llrint_test_data): Likewise.
41061         (llrint_tonearest_test_data): Likewise.
41062         (llrint_towardzero_test_data): Likewise.
41063         (llrint_downward_test_data): Likewise.
41064         (llrint_upward_test_data): Likewise.
41065         (lround_test_data): Likewise.
41066         (llround_test_data): Likewise.
41068         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41069         (ERRNO_UNCHANGED): Update value.
41070         (ERRNO_EDOM): Likewise.
41071         (ERRNO_ERANGE): Likewise.
41072         (NO_TEST_INLINE_FLOAT): New macro.
41073         (NO_TEST_INLINE_DOUBLE): Likewise.
41074         (enable_test): New function.
41075         (RUN_TEST_f_f): Check enable_test before running test.
41076         (RUN_TEST_2_f): Likewise.
41077         (RUN_TEST_fff_f): Likewise.
41078         (RUN_TEST_c_f): Likewise.
41079         (RUN_TEST_f_f1): Likewise.
41080         (RUN_TEST_fF_f1): Likewise.
41081         (RUN_TEST_fI_f1): Likewise.
41082         (RUN_TEST_ffI_f1): Likewise.
41083         (RUN_TEST_c_c): Likewise.
41084         (RUN_TEST_cc_c): Likewise.
41085         (RUN_TEST_f_i): Likewise.
41086         (RUN_TEST_f_i_tg): Likewise.
41087         (RUN_TEST_ff_i_tg): Likewise.
41088         (RUN_TEST_f_b): Likewise.
41089         (RUN_TEST_f_b_tg): Likewise.
41090         (RUN_TEST_f_l): Likewise.
41091         (RUN_TEST_f_L): Likewise.
41092         (RUN_TEST_fFF_11): Likewise.
41093         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41094         conditionals.
41095         (cosh_test_data): Likewise.
41096         (exp_test_data): Likewise.
41097         (expm1_test_data): Likewise.
41098         (hypot_test_data): Likewise.
41099         (pow_test_data): Likewise.
41100         (sinh_test_data): Likewise.
41101         (tanh_test_data): Likewise.
41102         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41103         flags argument.
41105         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41106         tests with quiet NaN input and output.
41107         (acosh_test_data): Likewise.
41108         (asin_test_data): Likewise.
41109         (asinh_test_data): Likewise.
41110         (atan_test_data): Likewise.
41111         (atanh_test_data): Likewise.
41112         (atan2_test_data): Likewise.
41113         (cbrt_test_data): Likewise.
41114         (cos_test_data): Likewise.
41115         (cosh_test_data): Likewise.
41116         (erf_test_data): Likewise.
41117         (erfc_test_data): Likewise.
41118         (exp_test_data): Likewise.
41119         (exp10_test_data): Likewise.
41120         (exp2_test_data): Likewise.
41121         (expm1_test_data): Likewise.
41122         (hypot_test_data): Likewise.
41123         (j0_test_data): Likewise.
41124         (j1_test_data): Likewise.
41125         (jn_test_data): Likewise.
41126         (lgamma_test_data): Likewise.
41127         (log_test_data): Likewise.
41128         (log10_test_data): Likewise.
41129         (log1p_test_data): Likewise.
41130         (log2_test_data): Likewise.
41131         (pow_test_data): Likewise.
41132         (scalb_test_data): Likewise.
41133         (sin_test_data): Likewise.
41134         (sincos_test_data): Likewise.
41135         (sinh_test_data): Likewise.
41136         (tan_test_data): Likewise.
41137         (tanh_test_data): Likewise.
41138         (tgamma_test_data): Likewise.
41139         (y0_test_data): Likewise.
41140         (y1_test_data): Likewise.
41141         (yn_test_data): Likewise.
41143         [BZ #16167]
41144         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41145         argument being NaN and avoid computations with second argument in
41146         that case.
41147         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41148         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41149         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41151 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41153         * locale/iso-639.def: Add Chitwani Tharu (the).
41155 2013-11-14  Andreas Schwab  <schwab@suse.de>
41157         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41158         word instead of empty string.
41160 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41163         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41165         (__fe_nomask_env): Likewise.
41167 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41169         * benchtests/bench-timing.h: Include time.h.
41171 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41173         [BZ #15997]
41174         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41175         to 3.4.0 for x32.
41176         * sysdeps/unix/sysv/linux/configure: Regenerated.
41178 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41180         [BZ #16151]
41181         * stdlib/strtod_l.c (round_and_return): Do not consider
41182         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41183         exponent one less than half the least subnormal exponent.
41184         * stdlib/test-strtod-round-data: Add more tests.
41185         * stdlib/tst-strtod-round.c (tests): Regenerated.
41187 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41189         [BZ #14143]
41190         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41191         (__fe_mask_env): Likewise.
41192         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41193         libm_hidden_proto and add function prototype.
41194         (__fe_mask_env): Add function prototype.
41195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41196         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41198         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41200         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41202 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41204         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41205         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41207 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41209         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41210         of htab_find_slot().
41212 2013-11-11  David S. Miller  <davem@davemloft.net>
41214         [BZ #16150]
41215         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41216         symbol in the non-vis3 case in static builds.
41217         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41218         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41219         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41220         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41222 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41224         [BZ #387]
41225         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41226         it is empty.
41228 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41230         * benchtests/Makefile: Add bench-strtod.
41231         * benchtests/bench-strtod.c: New file: strtod benchtest
41233 2013-11-11  Andreas Schwab  <schwab@suse.de>
41235         [BZ #16153]
41236         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41237         terminating NUL in key length.
41239 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41242         Add artificial ODP entry for vDSO symbol for PPC64.
41243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41244         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41246 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41248         [BZ #15374]
41249         * nss/getent.c (services_keys): Recognize services starting with digit.
41251 2013-11-06  David S. Miller  <davem@davemloft.net>
41253         [BZ #15985]
41254         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41255         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41257 2013-11-06  Will Newton  <will.newton@linaro.org>
41259         * manual/memory.texi (Malloc Examples): Remove register
41260         keyword from examples.
41262 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41264         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41266 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41268         [BZ #6981]
41269         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41270         depending on [__GCC_IEC_559 > 0].
41271         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41272         depending on [__GCC_IEC_559_COMPLEX > 0].
41274 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41276         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41277         to iso-639.def.
41279 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41281         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41283 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41285         [BZ #16112]
41286         * malloc/malloc (malloc_info): Do not handle first bin as
41287         special case.
41289 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41291         * locale/iso-639.def: Add Central Nahuatl (nhn).
41293 2013-11-01  Bruno Haible  <bruno@clisp.org>
41295         [BZ #7003]
41296         * manual/math.texi (BSD Random): Specify range upper bound as
41297         in POSIX.
41299 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41301         * locale/iso-639.def: Add Meadow Mari (mhr).
41303 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41305         [BZ #14752], [BZ #15763]
41306         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41307         Validate name.
41308         * rt/tst_shm.c: Add test for escaping directory.
41310 2013-10-31  Andreas Schwab  <schwab@suse.de>
41312         [BZ #15917]
41313         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41314         followed by 'x' as part of digit sequence.
41315         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41317 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41319         [BZ #16037]
41320         * configure.ac: allow GNU Make 4.0 and greater.
41321         * configure: Regenerated.
41323 2013-10-30  Will Newton  <will.newton@linaro.org>
41325         [BZ #16038]
41326         * malloc/hooks.c (memalign_check): Limit alignment to the
41327         maximum representable power of two.
41328         * malloc/malloc.c (__libc_memalign): Likewise.
41329         * malloc/tst-memalign.c (do_test): Add test for very
41330         large alignment values.
41331         * malloc/tst-posix_memalign.c (do_test): Likewise.
41333 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41335         [BZ #11087]
41336         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41337         (munmap_chunk): Likewise.
41338         (mremap_chunk): Likewise.
41340 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41342         [BZ #15799]
41343         * stdlib/div.c (div): Remove obsolete code.
41344         * stdlib/ldiv.c (ldiv): Likewise.
41345         * stdlib/lldiv.c (lldiv): Likewise.
41347 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         [BZ #16071]
41350         * nss/nss_files/files-XXX.c (get_contents_ret): New
41351         enumerator.
41352         (get_contents): New function.
41353         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41355 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41357         * configure.in: Moved to ...
41358         * configure.ac: ... here. Change reference to configure.in
41359         to configure.ac.
41360         * sysdeps/arm/preconfigure.ac: ... here.
41361         configure.in to configure.ac.
41362         * sysdeps/gnu/configure.in: Moved to ...
41363         * sysdeps/gnu/configure.ac: ... here.
41364         * sysdeps/i386/configure.in: Moved to ...
41365         * sysdeps/i386/configure.ac: ... here.
41366         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41367         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41368         * sysdeps/mach/configure.in: Moved to ...
41369         * sysdeps/mach/configure.ac: ... here.
41370         * sysdeps/mach/hurd/configure.in: Moved to ...
41371         * sysdeps/mach/hurd/configure.ac: ... here.
41372         * sysdeps/powerpc/configure.in: Moved to ...
41373         * sysdeps/powerpc/configure.ac: ... here.
41374         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41375         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41376         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41377         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41378         * sysdeps/s390/s390-32/configure.in: Moved to ...
41379         * sysdeps/s390/s390-32/configure.ac: ... here.
41380         * sysdeps/s390/s390-64/configure.in: Moved to ...
41381         * sysdeps/s390/s390-64/configure.ac: ... here.
41382         * sysdeps/sh/configure.in: Moved to ...
41383         * sysdeps/sh/configure.ac: ... here.
41384         * sysdeps/sparc/configure.in: Moved to ...
41385         * sysdeps/sparc/configure.ac: ... here.
41386         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41387         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41388         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41389         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41390         * sysdeps/x86_64/configure.in: Moved to ...
41391         * sysdeps/x86_64/configure.ac: ... here.
41392         * sysdeps/x86_64/preconfigure.in: Moved to ...
41393         * sysdeps/x86_64/preconfigure.ac: ... here.
41394         * aclocal.m4: Change reference to configure.in to configure.ac.
41395         * config.h.in: Likewise.
41396         * manual/install.texi: Likewise.
41397         * manual/maint.texi: Likewise.
41398         * Makefile: Likewise.
41399         * malloc/Makefile: Likewise.
41400         * nscd/Makefile: Likewise.
41401         * Makeconfig: Change reference to configure.in and
41402         preconfigure.in to configure.ac and preconfigure.ac
41403         respectively.
41404         * INSTALL: Regenerated.
41405         * configure: Likewise.
41406         * sysdeps/gnu/configure: Likewise.
41407         * sysdeps/i386/configure: Likewise.
41408         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41409         * sysdeps/mach/configure: Likewise.
41410         * sysdeps/mach/hurd/configure: Likewise.
41411         * sysdeps/powerpc/configure: Likewise.
41412         * sysdeps/powerpc/powerpc32/configure: Likewise.
41413         * sysdeps/powerpc/powerpc64/configure: Likewise.
41414         * sysdeps/s390/s390-32/configure: Likewise.
41415         * sysdeps/s390/s390-64/configure: Likewise.
41416         * sysdeps/sh/configure: Likewise.
41417         * sysdeps/sparc/configure: Likewise.
41418         * sysdeps/unix/sysv/linux/configure: Likewise.
41419         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41420         * sysdeps/x86_64/configure: Likewise.
41421         * sysdeps/x86_64/preconfigure: Likewise.
41423 2013-10-29  Andreas Schwab  <schwab@suse.de>
41425         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41427 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41429         * benchtests/pow-inputs: Add new inputs.
41431         * benchtests/exp-inputs: Add new inputs.
41433         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41434         conditional check for return value.
41435         (__cos32): Likewise.
41437 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41439         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41440         to provide a boost for large inputs with word alignment.
41441         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41442         implementation based on optimized PPC64 strcpy.
41443         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41444         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41445         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41446         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41448 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41450         [BZ #2801]
41451         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41453 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41455         [BZ #14876]
41456         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41457         * time/tst-strptime.c (day_tests): Add testcase.
41459 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41461         [BZ #14029]
41462         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41464 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41466         [BZ #16074]
41467         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41468         MAP_FAILED on error.
41470 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41472         [BZ #16072]
41473         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41474         heap for large requests.
41476 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41478         [BZ #9954]
41479         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41480         result if the result has no associated interface.
41481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41482         interface for all 127.X.Y.Z addresses.
41484 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41486         * locale/iso-639.def: Add Ligurian (lij)
41488 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41490         [BZ #15825]
41491         * sunrpc/rpc_main.c: Document rpcgen -5.
41493 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41495         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41497 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41499         [BZ #10278]
41500         * posix/glob.c: Match only directories when trailing slash is present.
41501         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41502         (main): Add testcase.
41504 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41506         [BZ #15670]
41507         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41509 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41511         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41512         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41513         AUTH_DES and cindex for FIPS 140-2.
41514         (DES Encryption): Add cindex FIPS 46-3.
41516         * locale/locarchive.h (struct locarhandle): Add fname.
41517         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41518         if an optional argument was specified to --list-archive,
41519         otherwise NULL.
41520         * locale/programs/locarchive.c (show_archive_content): Take new
41521         argument fname and pass it via ah.fname to open_archive.
41522         * locale/programs/localedef.h: Update decl.
41523         (open_archive): If AH->fname is non-null, open that file
41524         rather than the default file name, and don't ignore ENOENT.
41525         (create_archive): Set AH.fname to NULL.
41526         (delete_locales_from_archive): Likewise.
41527         (add_locales_to_archive): Likewise.
41528         * locale/programs/locfile.c (write_all_categories): Likewise.
41530 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41531             Aldy Hernandez  <aldyh@redhat.com>
41533         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41534         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41535         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41536         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41537         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41538         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41539         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41541         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41542         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41543         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41544         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41545         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41546         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41547         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41548         Likewise.
41549         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41550         Likewise.
41551         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41552         Likewise.
41553         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41554         Likewise.
41555         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41556         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41557         Likewise.
41558         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41559         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41560         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41561         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41562         Likewise.
41563         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41564         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41565         * sysdeps/powerpc/preconfigure: Likewise.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41567         Likewise.
41568         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41569         Replace contents of file by #include of <fenv_libc.h>.
41570         * sysdeps/powerpc/soft-fp/sfp-machine.h
41571         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41572         and <sys/prctl.h>.
41573         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41584         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41586         Allow copysignl PLT reference to be missing.
41588 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41589             Joseph Myers  <joseph@codesourcery.com
41591         [BZ #15948]
41592         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41593         single character.
41594         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41596 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41598         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41599         * elf/tst-tls1.c: Likewise.
41600         * elf/tst-tls10.h: Likewise.
41601         * elf/tst-tls14.c: Likewise.
41602         * elf/tst-tls2.c: Likewise.
41603         * elf/tst-tls3.c: Likewise.
41604         * elf/tst-tls4.c: Likewise.
41605         * elf/tst-tls5.c: Likewise.
41606         * elf/tst-tls6.c: Likewise.
41607         * elf/tst-tls7.c: Likewise.
41608         * elf/tst-tls8.c: Likewise.
41609         * elf/tst-tls9.c: Likewise.
41610         * elf/tst-tlsmod1.c: Likewise.
41611         * elf/tst-tlsmod13.c: Likewise.
41612         * elf/tst-tlsmod13a.c: Likewise.
41613         * elf/tst-tlsmod14a.c: Likewise.
41614         * elf/tst-tlsmod16a.c: Likewise.
41615         * elf/tst-tlsmod16b.c: Likewise.
41616         * elf/tst-tlsmod2.c: Likewise.
41617         * elf/tst-tlsmod3.c: Likewise.
41618         * elf/tst-tlsmod4.c: Likewise.
41619         * elf/tst-tlsmod5.c: Likewise.
41620         * elf/tst-tlsmod6.c: Likewise.
41622 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41624         [BZ #12486]
41625         * malloc/malloc.c: remove checks for statistics.
41627 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41629         [BZ #15277]
41630         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41631         * inet/tst-network.c: Add testcase.
41633 2013-10-17  Andreas Schwab  <schwab@suse.de>
41635         [BZ #15218]
41636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41637         to determine canonical name.
41639 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41641         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41642         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41644         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41646         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41647         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41648         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41649         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41650         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41652         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41653         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41654         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41665         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41666         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41671         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41677         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41678         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41679         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41680         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41682         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41683         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41684         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41685         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41686         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41687         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41688         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41689         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41691         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41692         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41693         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41700 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41702         [BZ #16041]
41703         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41704         make result into a quiet NaN.
41706 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41708         * soft-fp/adddf3.c: Fix horizontal whitespace.
41709         * soft-fp/addsf3.c: Likewise.
41710         * soft-fp/addtf3.c: Likewise.
41711         * soft-fp/divdf3.c: Likewise.
41712         * soft-fp/divsf3.c: Likewise.
41713         * soft-fp/divtf3.c: Likewise.
41714         * soft-fp/double.h: Likewise.
41715         * soft-fp/eqdf2.c: Likewise.
41716         * soft-fp/eqsf2.c: Likewise.
41717         * soft-fp/eqtf2.c: Likewise.
41718         * soft-fp/extenddftf2.c: Likewise.
41719         * soft-fp/extended.h: Likewise.
41720         * soft-fp/extendsfdf2.c: Likewise.
41721         * soft-fp/extendsftf2.c: Likewise.
41722         * soft-fp/extendxftf2.c: Likewise.
41723         * soft-fp/fixdfdi.c: Likewise.
41724         * soft-fp/fixdfsi.c: Likewise.
41725         * soft-fp/fixdfti.c: Likewise.
41726         * soft-fp/fixsfdi.c: Likewise.
41727         * soft-fp/fixsfsi.c: Likewise.
41728         * soft-fp/fixsfti.c: Likewise.
41729         * soft-fp/fixtfdi.c: Likewise.
41730         * soft-fp/fixtfsi.c: Likewise.
41731         * soft-fp/fixtfti.c: Likewise.
41732         * soft-fp/fixunsdfdi.c: Likewise.
41733         * soft-fp/fixunsdfsi.c: Likewise.
41734         * soft-fp/fixunsdfti.c: Likewise.
41735         * soft-fp/fixunssfdi.c: Likewise.
41736         * soft-fp/fixunssfsi.c: Likewise.
41737         * soft-fp/fixunssfti.c: Likewise.
41738         * soft-fp/fixunstfdi.c: Likewise.
41739         * soft-fp/fixunstfsi.c: Likewise.
41740         * soft-fp/fixunstfti.c: Likewise.
41741         * soft-fp/floatdidf.c: Likewise.
41742         * soft-fp/floatdisf.c: Likewise.
41743         * soft-fp/floatditf.c: Likewise.
41744         * soft-fp/floatsidf.c: Likewise.
41745         * soft-fp/floatsisf.c: Likewise.
41746         * soft-fp/floatsitf.c: Likewise.
41747         * soft-fp/floattidf.c: Likewise.
41748         * soft-fp/floattisf.c: Likewise.
41749         * soft-fp/floattitf.c: Likewise.
41750         * soft-fp/floatundidf.c: Likewise.
41751         * soft-fp/floatundisf.c: Likewise.
41752         * soft-fp/floatunditf.c: Likewise.
41753         * soft-fp/floatunsidf.c: Likewise.
41754         * soft-fp/floatunsisf.c: Likewise.
41755         * soft-fp/floatunsitf.c: Likewise.
41756         * soft-fp/floatuntidf.c: Likewise.
41757         * soft-fp/floatuntisf.c: Likewise.
41758         * soft-fp/floatuntitf.c: Likewise.
41759         * soft-fp/fmadf4.c: Likewise.
41760         * soft-fp/fmasf4.c: Likewise.
41761         * soft-fp/fmatf4.c: Likewise.
41762         * soft-fp/gedf2.c: Likewise.
41763         * soft-fp/gesf2.c: Likewise.
41764         * soft-fp/getf2.c: Likewise.
41765         * soft-fp/ledf2.c: Likewise.
41766         * soft-fp/lesf2.c: Likewise.
41767         * soft-fp/letf2.c: Likewise.
41768         * soft-fp/muldf3.c: Likewise.
41769         * soft-fp/mulsf3.c: Likewise.
41770         * soft-fp/multf3.c: Likewise.
41771         * soft-fp/negdf2.c: Likewise.
41772         * soft-fp/negsf2.c: Likewise.
41773         * soft-fp/negtf2.c: Likewise.
41774         * soft-fp/op-1.h: Likewise.
41775         * soft-fp/op-2.h: Likewise.
41776         * soft-fp/op-4.h: Likewise.
41777         * soft-fp/op-8.h: Likewise.
41778         * soft-fp/op-common.h: Likewise.
41779         * soft-fp/quad.h: Likewise.
41780         * soft-fp/single.h: Likewise.
41781         * soft-fp/soft-fp.h: Likewise.
41782         * soft-fp/sqrtdf2.c: Likewise.
41783         * soft-fp/sqrtsf2.c: Likewise.
41784         * soft-fp/sqrttf2.c: Likewise.
41785         * soft-fp/subdf3.c: Likewise.
41786         * soft-fp/subsf3.c: Likewise.
41787         * soft-fp/subtf3.c: Likewise.
41788         * soft-fp/truncdfsf2.c: Likewise.
41789         * soft-fp/trunctfdf2.c: Likewise.
41790         * soft-fp/trunctfsf2.c: Likewise.
41791         * soft-fp/trunctfxf2.c: Likewise.
41792         * soft-fp/unorddf2.c: Likewise.
41793         * soft-fp/unordsf2.c: Likewise.
41794         * soft-fp/unordtf2.c: Likewise.
41796 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41798         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41799         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41801 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41803         * elf/dl-libc.c: Clear initfini list after freeing.
41805 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41807         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41808         * soft-fp/addsf3.c: Likewise.
41809         * soft-fp/addtf3.c: Likewise.
41810         * soft-fp/divdf3.c: Likewise.
41811         * soft-fp/divsf3.c: Likewise.
41812         * soft-fp/divtf3.c: Likewise.
41813         * soft-fp/double.h: Likewise.
41814         * soft-fp/eqdf2.c: Likewise.
41815         * soft-fp/eqsf2.c: Likewise.
41816         * soft-fp/eqtf2.c: Likewise.
41817         * soft-fp/extenddftf2.c: Likewise.
41818         * soft-fp/extended.h: Likewise.
41819         * soft-fp/extendsfdf2.c: Likewise.
41820         * soft-fp/extendsftf2.c: Likewise.
41821         * soft-fp/extendxftf2.c: Likewise.
41822         * soft-fp/fixdfdi.c: Likewise.
41823         * soft-fp/fixdfsi.c: Likewise.
41824         * soft-fp/fixdfti.c: Likewise.
41825         * soft-fp/fixsfdi.c: Likewise.
41826         * soft-fp/fixsfsi.c: Likewise.
41827         * soft-fp/fixsfti.c: Likewise.
41828         * soft-fp/fixtfdi.c: Likewise.
41829         * soft-fp/fixtfsi.c: Likewise.
41830         * soft-fp/fixtfti.c: Likewise.
41831         * soft-fp/fixunsdfdi.c: Likewise.
41832         * soft-fp/fixunsdfsi.c: Likewise.
41833         * soft-fp/fixunsdfti.c: Likewise.
41834         * soft-fp/fixunssfdi.c: Likewise.
41835         * soft-fp/fixunssfsi.c: Likewise.
41836         * soft-fp/fixunssfti.c: Likewise.
41837         * soft-fp/fixunstfdi.c: Likewise.
41838         * soft-fp/fixunstfsi.c: Likewise.
41839         * soft-fp/fixunstfti.c: Likewise.
41840         * soft-fp/floatdidf.c: Likewise.
41841         * soft-fp/floatdisf.c: Likewise.
41842         * soft-fp/floatditf.c: Likewise.
41843         * soft-fp/floatsidf.c: Likewise.
41844         * soft-fp/floatsisf.c: Likewise.
41845         * soft-fp/floatsitf.c: Likewise.
41846         * soft-fp/floattidf.c: Likewise.
41847         * soft-fp/floattisf.c: Likewise.
41848         * soft-fp/floattitf.c: Likewise.
41849         * soft-fp/floatundidf.c: Likewise.
41850         * soft-fp/floatundisf.c: Likewise.
41851         * soft-fp/floatunsidf.c: Likewise.
41852         * soft-fp/floatunsisf.c: Likewise.
41853         * soft-fp/floatuntidf.c: Likewise.
41854         * soft-fp/floatuntisf.c: Likewise.
41855         * soft-fp/floatuntitf.c: Likewise.
41856         * soft-fp/fmadf4.c: Likewise.
41857         * soft-fp/fmasf4.c: Likewise.
41858         * soft-fp/fmatf4.c: Likewise.
41859         * soft-fp/gedf2.c: Likewise.
41860         * soft-fp/gesf2.c: Likewise.
41861         * soft-fp/getf2.c: Likewise.
41862         * soft-fp/ledf2.c: Likewise.
41863         * soft-fp/lesf2.c: Likewise.
41864         * soft-fp/letf2.c: Likewise.
41865         * soft-fp/muldf3.c: Likewise.
41866         * soft-fp/mulsf3.c: Likewise.
41867         * soft-fp/multf3.c: Likewise.
41868         * soft-fp/negdf2.c: Likewise.
41869         * soft-fp/negsf2.c: Likewise.
41870         * soft-fp/negtf2.c: Likewise.
41871         * soft-fp/op-1.h: Likewise.
41872         * soft-fp/op-2.h: Likewise.
41873         * soft-fp/op-4.h: Likewise.
41874         * soft-fp/op-8.h: Likewise.
41875         * soft-fp/op-common.h: Likewise.
41876         * soft-fp/quad.h: Likewise.
41877         * soft-fp/single.h: Likewise.
41878         * soft-fp/soft-fp.h: Likewise.
41879         * soft-fp/sqrtdf2.c: Likewise.
41880         * soft-fp/sqrtsf2.c: Likewise.
41881         * soft-fp/sqrttf2.c: Likewise.
41882         * soft-fp/subdf3.c: Likewise.
41883         * soft-fp/subsf3.c: Likewise.
41884         * soft-fp/subtf3.c: Likewise.
41885         * soft-fp/truncdfsf2.c: Likewise.
41886         * soft-fp/trunctfdf2.c: Likewise.
41887         * soft-fp/trunctfsf2.c: Likewise.
41888         * soft-fp/trunctfxf2.c: Likewise.
41889         * soft-fp/unorddf2.c: Likewise.
41890         * soft-fp/unordsf2.c: Likewise.
41891         * soft-fp/unordtf2.c: Likewise.
41893 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41895         [BZ #15672]
41896         * misc/error.c (error_tail): Fix possible buffer overflow.
41898 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41900         [BZ #13028]
41901         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41902         address.
41904 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41906         [BZ #832]
41907         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41908         testing pipefail option.
41910 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41912         * soft-fp/double.h: Indent preprocessor directives inside #if.
41913         * soft-fp/extended.h: Likewise.
41914         * soft-fp/op-2.h: Likewise.
41915         * soft-fp/op-4.h: Likewise.
41916         * soft-fp/op-common.h: Likewise.
41917         * soft-fp/quad.h: Likewise.
41918         * soft-fp/single.h: Likewise.
41919         * soft-fp/soft-fp.h: Likewise.
41921 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41923         * iconv/iconv_prog.c: Fix typos.
41924         * stdio-common/psiginfo-data.h: Likewise.
41926 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41928         [BZ #15764]
41929         * locale/setlocale.c: Fix typo.
41931 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41933         [BZ #16036]
41934         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41935         signaling NaN arguments.
41936         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41937         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41939         [BZ #14910]
41940         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41941         unordered operands.
41942         * soft-fp/gesf2.c (__gesf2): Likewise.
41943         * soft-fp/getf2.c (__getf2): Likewise.
41944         * soft-fp/ledf2.c (__ledf2): Likewise.
41945         * soft-fp/lesf2.c (__lesf2): Likewise.
41946         * soft-fp/letf2.c (__letf2): Likewise.
41948         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41949         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41950         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41951         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41952         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41953         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41954         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41955         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41956         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41957         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41958         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41959         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41960         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41961         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41962         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41963         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41964         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41965         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41966         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41967         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41968         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41969         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41970         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41971         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41972         * soft-fp/floattidf.c (__floattidf): Likewise.
41973         * soft-fp/floattisf.c (__floattisf): Likewise.
41974         * soft-fp/floattitf.c (__floattitf): Likewise.
41975         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41976         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41977         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41978         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41979         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41980         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41981         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41982         * soft-fp/gesf2.c (__gesf2): Likewise.
41983         * soft-fp/getf2.c (__getf2): Likewise.
41984         * soft-fp/ledf2.c (__ledf2): Likewise.
41985         * soft-fp/lesf2.c (__lesf2): Likewise.
41986         * soft-fp/letf2.c (__letf2): Likewise.
41988         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41989         Undefine and redefine.
41990         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41991         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41992         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41993         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41994         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41995         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41996         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41997         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41998         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41999         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42000         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42001         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42002         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42003         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42004         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42006         [BZ #16032]
42007         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42008         without decrementing exponent if mantissa >= that for the
42009         denominator, not >.
42010         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42011         denominator, not >.  Decrement exponent in < case instead of
42012         incrementing in >= case.
42013         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42014         without decrementing exponent if mantissa >= that for the
42015         denominator, not >.
42017         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42018         computing saturated result for unsigned overflow.
42020 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42021             Jeff Law  <law@redhat.com>
42023         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42024         (atan2Mp): Add systemtap probe marker.
42025         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42026         (__ieee754_log): Add systemtap probe marker.
42027         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42028         (atanMp): Add systemtap probe marker.
42029         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42030         (tanMp): Add systemtap probe marker.
42031         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42032         (__slowexp): Add systemtap probe marker.
42033         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42034         (__slowpow): Add systemtap probe marker.
42035         * manual/probes.texi: Document probes.
42037 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42039         [BZ #15362]
42040         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42041         written.
42042         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42043         written.
42044         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42045         written to buffer but not flushed.
42046         * libio/iofwrite_u.c:  Likewise.
42047         * libio/iopadn.c:  Return bytes returned even if EOF was
42048         encountered.
42049         * libio/iowpadn.c:  Likewise.
42050         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42051         if _IO_padn does not write the whole buffer.
42052         [!COMPILE_WPRINTF] (PAD): Likewise.
42054 2013-10-10  David S. Miller  <davem@davemloft.net>
42056         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42057         directory block.
42059 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42061         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42062         instead of FSF address.
42063         * soft-fp/fixdfti.c: Likewise.
42064         * soft-fp/fixsfti.c: Likewise.
42065         * soft-fp/fixtfti.c: Likewise.
42066         * soft-fp/fixunsdfti.c: Likewise.
42067         * soft-fp/fixunssfti.c: Likewise.
42068         * soft-fp/fixunstfti.c: Likewise.
42069         * soft-fp/floattidf.c: Likewise.
42070         * soft-fp/floattisf.c: Likewise.
42071         * soft-fp/floattitf.c: Likewise.
42072         * soft-fp/floatuntidf.c: Likewise.
42073         * soft-fp/floatuntisf.c: Likewise.
42074         * soft-fp/floatuntitf.c: Likewise.
42075         * soft-fp/trunctfxf2.c: Likewise.
42077         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42078         * soft-fp/fixdfti.c: Likewise.
42079         * soft-fp/fixsfti.c: Likewise.
42080         * soft-fp/fixtfti.c: Likewise.
42081         * soft-fp/fixunsdfti.c: Likewise.
42082         * soft-fp/fixunssfti.c: Likewise.
42083         * soft-fp/fixunstfti.c: Likewise.
42084         * soft-fp/floattidf.c: Likewise.
42085         * soft-fp/floattisf.c: Likewise.
42086         * soft-fp/floattitf.c: Likewise.
42087         * soft-fp/floatuntidf.c: Likewise.
42088         * soft-fp/floatuntisf.c: Likewise.
42089         * soft-fp/floatuntitf.c: Likewise.
42090         * soft-fp/trunctfxf2.c: Likewise.
42092 2013-10-10  David S. Miller  <davem@davemloft.net>
42094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42096 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42098         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42099         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42100         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42101         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42102         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42103         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42104         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42106         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42107         for NaNs before doing comparisons on argument.
42108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42109         Likewise.
42111 2013-10-10  Will Newton  <will.newton@linaro.org>
42113         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42114         passed to _int_memalign does not overflow.
42116 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42118         * scripts/bench.pl: Add include-sources directive.
42119         * benchtests/README: Update documentation.
42121 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42123         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42124         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42125         instead of FP_INIT_ROUNDMODE.
42126         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42127         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42129         [BZ #16034]
42130         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42131         copy class of input value.
42132         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42133         not handle exceptions.
42134         * soft-fp/negsf2.c (__negsf2): Likewise.
42135         * soft-fp/negtf2.c (__negtf2): Likewise.
42136         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42138 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42140         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42141         semicolon.  From Linux kernel.
42143 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42145         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42147 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42149         [BZ #156]
42150         * manual/socket.texi: Added statement about buffer
42151         for gethostbyname2_r.
42153 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42155         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42156         Use .p2align directive instead, throughout.
42157         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42158         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42159         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42162         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42163         * sysdeps/x86_64/strchr.S: Likewise.
42164         * sysdeps/x86_64/strrchr.S: Likewise.
42166 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42168         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42170         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42172         * sysdeps/generic/math_private.h (__mpsin1): Remove
42173         declaration.
42174         (__mpcos1): Likewise.
42175         (__mpsin): New argument __range_reduce.
42176         (__mpcos): Likewise.
42177         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42178         (slow): Use __mpsin and __mpcos.
42179         (slow1): Likewise.
42180         (slow2): Likewise.
42181         (sloww): Likewise.
42182         (sloww1): Likewise.
42183         (sloww2): Likewise.
42184         (bsloww): Likewise.
42185         (bsloww1): Likewise.
42186         (bsloww2): Likewise.
42187         (cslow2): Likewise.
42188         (csloww): Likewise.
42189         (csloww1): Likewise.
42190         (csloww2): Likewise.
42191         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42192         range_reduce.  Merge in __mpsin1.
42193         (__mpcos): Likewise.
42194         (__mpsin1): Remove.
42195         (__mpcos1): Likewise.
42197 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42199         * locale/loadlocale.c (_nl_intern_locale_data): Use
42200         LOCFILE_ALIGNED_P.
42201         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42202         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42203         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42204         obstack data is appropriately aligned.
42205         (obstack_int32_grow_fast): Likewise.
42206         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42207         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42208         (add_locale_uint32_array): Likewise.
42210 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42212         * benchtests/Makefile: Remove ARGLIST and RET variables.
42213         ($(objpfx)bench-%.c): Pass only function name to the script.
42214         * benchtests/README: Update documentation.
42215         * benchtests/acos-inputs: Add new directives.
42216         * benchtests/acosh-inputs: Likewise.
42217         * benchtests/asin-inputs: Likewise.
42218         * benchtests/asinh-inputs: Likewise.
42219         * benchtests/atan-inputs: Likewise.
42220         * benchtests/atanh-inputs: Likewise.
42221         * benchtests/cos-inputs: Likewise.
42222         * benchtests/cosh-inputs: Likewise.
42223         * benchtests/exp-inputs: Likewise.
42224         * benchtests/log-inputs: Likewise.
42225         * benchtests/pow-inputs: Likewise.
42226         * benchtests/rint-inputs: Likewise.
42227         * benchtests/sin-inputs: Likewise.
42228         * benchtests/sinh-inputs: Likewise.
42229         * benchtests/tan-inputs: Likewise.
42230         * benchtests/tanh-inputs: Likewise.
42231         * scripts/bench.pl: Add support for new directives.
42233 2013-10-07  Alan Modra  <amodra@gmail.com>
42235         * README: Fix careless merge.
42237 2013-10-05  Alan Modra  <amodra@gmail.com>
42239         * NEWS: Mention powerpc64le support and bugs fixed.
42240         * README: Both big-endian and little-endian powerpc64 supported.
42242 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42244         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42245         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42246         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42247         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42249 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42251         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42252         match prototype.
42254 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42256         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42257         Move -mhard-float appending from
42258         ports/sysdeps/powerpc/powerpc32/Makefile.
42259         [$(with-fp) = yes] (ASFLAGS): Likewise.
42260         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42261         * sysdeps/powerpc/nofpu: Move directory from
42262         ports/sysdeps/powerpc/nofpu.
42263         * sysdeps/powerpc/soft-fp: Move directory from
42264         ports/sysdeps/powerpc/soft-fp.
42265         * sysdeps/powerpc/powerpc32/405: Move directory from
42266         ports/sysdeps/powerpc/powerpc32/405.
42267         * sysdeps/powerpc/powerpc32/440: Move directory from
42268         ports/sysdeps/powerpc/powerpc32/440.
42269         * sysdeps/powerpc/powerpc32/464: Move directory from
42270         ports/sysdeps/powerpc/powerpc32/464.
42271         * sysdeps/powerpc/powerpc32/476: Move directory from
42272         ports/sysdeps/powerpc/powerpc32/476.
42273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42274         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42276         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42278         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42280         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42282         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42283         * README: Update for powerpc-*-linux-gnu software floating point
42284         support in libc.
42286         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42287         case to powerpc/powerpc32*.
42288         * sysdeps/unix/sysv/linux/configure: Regenerated.
42290         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42291         (_FPU_MASK_OM): Define as 0x04.
42292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42294         0x00c10080.
42295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42296         0x0000003c.
42297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42300         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42301         getcontext_e500.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42303         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42304         setcontext_e500.
42305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42306         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42307         and setcontext_e500.
42309 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42311         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42313 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42315         * manual/threads.texi (Default Thread Attributes): Fix typo.
42317 2013-10-04  Will Newton  <will.newton@linaro.org>
42319         * malloc/Makefile: Add tst-memalign.
42320         * malloc/tst-memalign.c: New file.
42322         * malloc/tst-posix_memalign.c: Add comments.
42323         (do_test): Add comments and call free on all potentially
42324         allocated pointers. Add space after cast.
42326         * malloc/tst-pvalloc.c: Add comments.
42327         (do_test): Add comments and call free on all potentially
42328         allocated pointers. Remove duplicate check for NULL pointer.
42329         Add space after cast.
42331         * malloc/tst-valloc.c: Add comments.
42332         (do_test): Add comments and call free on all potentially
42333         allocated pointers. Remove duplicate check for NULL pointer.
42334         Add space after cast.
42336 2013-10-04  Alan Modra  <amodra@gmail.com>
42338         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42339         Use stdint types in rather than __attribute__((mode())).
42340         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42342 2013-10-04  Alan Modra  <amodra@gmail.com>
42344         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42345         Correct handling of unaligned relocs for little-endian.
42346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42348 2013-10-04  Alan Modra  <amodra@gmail.com>
42350         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42351         * configure: Regenerate.
42352         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42353         * shlib-versions: Likewise.
42355 2013-10-04  Alan Modra  <amodra@gmail.com>
42357         * string/tester.c (test_memrchr): Increment reported test cycle.
42359 2013-10-04  Alan Modra  <amodra@gmail.com>
42361         * string/test-memcpy.c (do_one_test): When reporting errors, print
42362         string address and don't overrun end of string.
42364 2013-10-04  Alan Modra  <amodra@gmail.com>
42366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42367         insrdi.  Make better use of reg selection to speed exit slightly.
42368         Schedule entry path a little better.  Remove useless "are we done"
42369         checks on entry to main loop.  Handle wrapping around zero address.
42370         Correct main loop count.  Handle single left-over word from main
42371         loop inline rather than by using loop_small.  Remove extra word
42372         case in loop_small caused by wrong loop count.  Add little-endian
42373         support.
42374         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42376         cache hint.
42377         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42378         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42379         support.  Avoid rlwimi.
42380         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42382 2013-10-04  Alan Modra  <amodra@gmail.com>
42384         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42385         insrdi.  Formatting.
42386         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42387         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42388         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42389         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42390         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42391         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42393 2013-10-04  Alan Modra  <amodra@gmail.com>
42395         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42396         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42398         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42399         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42400         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42403         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42404         use of regs.  Use power7 mtocrf.  Tidy function tails.
42406 2013-10-04  Alan Modra  <amodra@gmail.com>
42408         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42409         Formatting.  Consistently use rXXX register defines or rN defines.
42410         Use early exit labels that avoid restoring unused non-volatile regs.
42411         Make cr field use more consistent with rWORDn compares.  Rename
42412         regs used as shift registers for unaligned loop, using rN defines
42413         for short lifetime/multiple use regs.
42414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42415         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42416         addi 1,1,64 to pop stack frame.  Simplify return value code.
42417         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42419 2013-10-04  Alan Modra  <amodra@gmail.com>
42421         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42422         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42423         rather than rlwimi.
42424         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42425         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42426         little-endian support.  Correct typos.
42427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42428         rather than rlwimi.
42429         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42430         in loop and entry code to keep "and." results.
42431         (strchr): Add little-endian support.  Comment.  Move cntlzd
42432         earlier in tail.
42433         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42435 2013-10-04  Alan Modra  <amodra@gmail.com>
42437         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42438         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42439         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42440         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42442 2013-10-04  Alan Modra  <amodra@gmail.com>
42444         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42445         (rTMP): Define as r11.
42446         (strcmp): Add little-endian support.  Optimise tail.
42447         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42448         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42449         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42450         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42451         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42455 2013-10-04  Alan Modra  <amodra@gmail.com>
42457         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42458         little-endian support.  Remove unnecessary "are we done" tests.
42459         Handle "s" wrapping around zero and extremely large "size".
42460         Correct main loop count.  Handle single left-over word from main
42461         loop inline rather than by using small_loop.  Correct comments.
42462         Delete "zero" tail, use "end_max" instead.
42463         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42465 2013-10-04  Alan Modra  <amodra@gmail.com>
42467         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42468         support.  Don't branch over align.
42469         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42470         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42471         support.  Rearrange tmp reg use to suit.  Comment.
42472         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42474 2013-10-04  Alan Modra  <amodra@gmail.com>
42476         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42478 2013-10-04  Alan Modra  <amodra@gmail.com>
42480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42481         conditional form of branch and link when obtaining pc.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42484 2013-10-04  Alan Modra  <amodra@gmail.com>
42486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42487         HIWORD/LOWORD.
42488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42491 2013-10-04  Alan Modra  <amodra@gmail.com>
42493         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42494         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42495         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42496         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42497         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42498         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42499         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42500         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42501         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42502         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42504 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42505             Alistair Popple <alistair@ozlabs.au.ibm.com>
42506             Alan Modra <amodra@gmail.com>
42508         [BZ #15723]
42509         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42511         _dl_hwcap access for little-endian.
42512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42513         destroy vmx regs when saving unaligned.
42514         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42515         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42516         destroy vmx regs when saving unaligned.
42518 2013-10-04  Alan Modra  <amodra@gmail.com>
42520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42521         Don't use a union to pack hi/low value.
42523 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42525         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42526         for little-endian.
42527         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42528         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42529         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42530         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42531         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42533 2013-10-04  Alan Modra  <amodra@gmail.com>
42535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42536         constants to usual value for .cst8 section, and remove redundant
42537         high address load.
42538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42539         constant for 0x1p52.  Load little-endian words of double from
42540         correct stack offsets.
42542 2013-10-04  Alan Modra  <amodra@gmail.com>
42544         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42545         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42546         words of double from correct stack offsets.
42547         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42548         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42549         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42550         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42551         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42552         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42553         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42554         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42555         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42556         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42557         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42559         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42560         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42562         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42563         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42565 2013-10-04  Alan Modra  <amodra@gmail.com>
42567         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42568         64-bit int/double union.
42569         (_FPU_SETCW): Likewise.
42570         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42571         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42573 2013-10-04  Alan Modra  <amodra@gmail.com>
42575         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42576         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42578 2013-10-04  Alan Modra  <amodra@gmail.com>
42580         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42581         use vector int constants.
42582         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42586         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42587         array with long long.
42588         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42589         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42590         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42591         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42592         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42593         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42594         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42595         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42596         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42597         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42598         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42599         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42600         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42602 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42604         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42605         (__signbit): Likewise.  Correct for little-endian.
42606         (__signbitl): Call __signbit.
42607         (lrint): Correct for little-endian.
42608         (lrintf): Call lrint.
42610 2013-10-04  Alan Modra  <amodra@gmail.com>
42612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42613         union 32-bit int array member with 64-bit int array.
42614         (t515, tm256): Double rather than long double.
42615         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42617 2013-10-04  Alan Modra  <amodra@gmail.com>
42619         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42620         Delete.
42621         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42623         version of math_ldbl.h.
42625 2013-10-04  Alan Modra  <amodra@gmail.com>
42627         [BZ #15734], [BZ #15735]
42628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42629         all uses of ieee875 long double macros and unions.  Simplify test
42630         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42631         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42632         normalize after ldbl_extract_mantissa, and don't add hidden bit
42633         already handled.  Don't treat low word of ieee854 mantissa like
42634         low word of IBM long double and mask off bit when testing for
42635         zero.
42636         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42637         all uses of ieee875 long double macros and unions.  Simplify tests
42638         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42639         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42640         two1022, instead use their values.  Recognise that tests for large
42641         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42642         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42643         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42644         test for 0.0L and nan.  Correct negation.
42645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42646         ieee875 long double macros and unions.  Correct output for large
42647         magnitude x.  Correct absolute value calculation.
42648         (__erfcl): Likewise.
42649         * math/libm-test.inc: Add tests for errors discovered in IBM long
42650         double versions of fmodl, remainderl, erfl and erfcl.
42652 2013-10-04  Alan Modra  <amodra@gmail.com>
42654         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42655         all uses of ieee854 long double macros and unions.  Simplify tests
42656         for long doubles that are fully specified by the high double.
42657         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42658         Likewise.
42659         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42660         Remove dead code too.
42661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42662         (__ieee754_ynl): Likewise.
42663         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42664         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42665         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42666         Remove dead code too.
42667         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42670         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42671         Simplify.
42672         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42673         Simplify.
42674         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42676         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42677         Comment on variable precision.
42678         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42679         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42680         Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42685         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42687 2013-10-04  Alan Modra  <amodra@gmail.com>
42689         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42690         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42691         all uses of ieee854 long double macros and unions.
42692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42694         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42695         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42696         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42697         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42698         Likewise.
42699         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42700         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42701         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42703         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42704         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42705         Simplify sign and nan test too.
42706         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42707         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42708         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42709         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42710         Likewise.
42711         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42712         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42713         Likewise.
42714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42715         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42716         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42717         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42718         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42719         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42721 2013-10-04  Alan Modra  <amodra@gmail.com>
42723         * stdio-common/printf_size.c (__printf_size): Don't use
42724         union ieee854_long_double in fpnum union.
42725         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42726         signbit macro to retrieve sign from long double.
42727         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42728         retrieve sign from long double.
42729         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42730         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42731         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42732         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42733         * math/test-misc.c (main): Don't use union ieee854_long_double.
42735 2013-10-04  Alan Modra  <amodra@gmail.com>
42737         [BZ #15680]
42738         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42739         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42740         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42741         calculation.  Remove unnecessary test for denormal exponent.
42742         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42743         Correct handling of denormals.  Avoid undefined shift behaviour.
42744         Correct normalisation of low mantissa when low double is denormal.
42745         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42746         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42747         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42748         Correct normalisation of low mantissa.  Test for overflow of high
42749         mantissa and normalise.
42750         (ldbl_nearbyint): Use more readable constant for two52.
42751         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42752         (__mpn_construct_long_double): Fix test for overflow of high
42753         mantissa and correct normalisation.  Avoid undefined shift.
42755 2013-10-04  Alan Modra  <amodra@gmail.com>
42757         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42758         (union ibm_extended_long_double): Define as an array of ieee754_double.
42759         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42760         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42761         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42762         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42771 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42773         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42774         page size instead of calling getpagesize.
42776         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42777         (LOCFILE_ALIGN_MASK): Likewise.
42778         (LOCFILE_ALIGN_UP): Likewise.
42779         (LOCFILE_ALIGNED_P): Likewise.
42780         * locale/programs/ld-collate.c (collate_output): Use the new
42781         macros instead of __alignof__ (int32_t).
42782         * locale/weight.h (findidx): Likewise.
42784 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42786         [BZ #431]
42787         * manual/string.texi: Fix strncat and wcsncat.
42789 2013-10-03  Brooks Moses  <bmoses@google.com>
42791         [BZ #15915]
42792         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42793         * Makerules: ...here, and adjust associated comments.
42795 2013-10-02  Will Newton  <will.newton@linaro.org>
42797         * malloc/Makefile: Add tst-pvalloc.
42798         * malloc/tst-pvalloc.c: New file.
42800 2013-10-02  Will Newton  <will.newton@linaro.org>
42802         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42803         improve test coverage.
42805 2013-10-02  Will Newton  <will.newton@linaro.org>
42807         * malloc/Makefile: Add tst-posix_memalign.
42808         * malloc/tst-posix_memalign.c: New file.
42810 2013-10-01  Eric Blake  <eblake@redhat.com>
42812         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42813         Use __THROWNL rather than __THROW on static functions.
42815 2013-09-30  Petr Machata  <pmachata@redhat.com>
42817         * elf/elf.h (R_AARCH64_ABS16): New macro.
42818         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42819         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42820         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42821         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42822         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42823         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42824         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42825         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42826         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42827         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42828         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42829         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42830         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42831         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42832         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42833         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42834         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42835         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42836         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42837         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42838         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42839         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42840         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42841         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42842         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42843         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42844         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42845         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42846         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42847         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42848         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42849         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42850         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42851         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42852         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42853         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42854         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42855         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42856         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42857         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42858         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42859         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42860         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42861         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42862         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42863         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42864         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42865         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42866         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42867         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42868         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42869         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42870         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42871         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42872         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42873         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42874         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42875         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42876         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42877         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42878         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42879         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42880         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42881         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42882         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42883         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42884         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42885         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42886         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42887         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42888         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42889         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42890         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42891         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42892         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42893         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42894         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42895         (R_AARCH64_TLSDESC_LDR): Likewise.
42896         (R_AARCH64_TLSDESC_ADD): Likewise.
42897         (R_AARCH64_TLSDESC_CALL): Likewise.
42899 2013-09-30  Andreas Schwab  <schwab@suse.de>
42901         [BZ #15048]
42902         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42903         the nss database lookup.
42904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42907 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42909         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42911 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42913         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42914         ${Bash-specific parameter/pattern/string} parameter expansion.
42915         * sysdeps/unix/make-syscalls.sh: Likewise.
42917 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42919         * sysdeps/sh/stackguard-macros.h: New file.
42921 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42925         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42926         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42927         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42928         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42930 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42932         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42933         Fix thread ID register.
42935 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42937         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42938         [POSIX || UNIX98]: Require rather than permitting all symbols from
42939         <time.h>.
42940         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42941         element of struct sched_param.
42942         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42943         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42944         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42945         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42946         constant.
42948 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42950         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42951         argument calculation.
42953 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42955         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42956         Expect macro.
42957         [POSIX] (pthread_attr_t): Do not require type.
42958         [POSIX] (pthread_cond_t): Likewise.
42959         [POSIX] (pthread_condattr_t): Likewise.
42960         [POSIX] (pthread_key_t): Likewise.
42961         [POSIX] (pthread_mutex_t): Likewise.
42962         [POSIX] (pthread_mutexattr_t): Likewise.
42963         [POSIX] (pthread_once_t): Likewise.
42964         [POSIX] (pthread_t): Likewise.
42965         [POSIX-based standards] (pthread_atfork): Expect function.
42967 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42968             Richard Sandiford  <richard@codesourcery.com>
42970         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42971         (swap_endianness_p): New extern variable.
42972         (set_big_endian): New inline function.
42973         (maybe_swap_uint32): Likewise.
42974         (maybe_swap_uint32_array): Likewise.
42975         (maybe_swap_uint32_obstack): Likewise.
42976         * locale/programs/locfile.c: Include <stdbool.h>.
42977         (swap_endianness_p): New variable.
42978         (add_locale_uint32): Call maybe_swap_uint32.
42979         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42980         (write_locale_data): Call maybe_swap_uint32_array.
42981         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42982         maybe_swap_uint32.
42983         (obstack_int32_grow_fast): Likewise.
42984         (output_weightwc): Call maybe_swap_uint32_obstack.
42985         (collate_output): Likewise.
42986         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42987         (OPT_LITTLE_ENDIAN): Likewise.
42988         (options): Add --little-endian and --big-endian options.
42989         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42990         * locale/programs/locarchive.c: Include "locfile.h".
42991         (GET): New macro.
42992         (SET): Likewise.
42993         (INC): Likewise.
42994         (create_archive): Use the new macros to access fields of
42995         structures directly mapped from or written to locale archives.
42996         (oldlocrecentcmp): Likewise.
42997         (enlarge_archive): Likewise.
42998         (insert_name): Likewise.
42999         (add_alias): Likewise.
43000         (add_locale): Likewise.
43001         (delete_locales_from_archive): Likewise.
43002         (show_archive_content): Likewise.
43003         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43004         locale data.
43006 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43008         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43009         http://www.gnu.org/doc/freemanuals.texi.
43010         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43012 2013-09-24  Will Newton  <will.newton@linaro.org>
43014         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43015         macro.
43017 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43019         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43020         unsigned char.
43022 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43024         * manual/threads.texi (POSIX Threads): Fix a typo.
43026 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43028         [BZ #14547]
43029         * string/tst-strcoll-overflow.c: New test case.
43030         * string/Makefile (xtests): Add tst-strcoll-overflow.
43031         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43032         cache if string sizes may cause integer overflow.
43034         [BZ #14547]
43035         * string/strcoll_l.c (coll_seq): New members rule, idx,
43036         save_idx and back_us.
43037         (get_next_seq_nocache): New function.
43038         (do_compare_nocache): New function.
43039         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43040         when malloc fails.
43042 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43044         [BZ #15754]
43045         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43046         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43047         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43049         [BZ #15754]
43050         * elf/Makefile (tests): Add tst-ptrguard1.
43051         (tests-static): Add tst-ptrguard1-static.
43052         (tst-ptrguard1-ARGS): Define.
43053         (tst-ptrguard1-static-ARGS): Define.
43054         * elf/tst-ptrguard1.c: New file.
43055         * elf/tst-ptrguard1-static.c: New file.
43056         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43057         * sysdeps/i386/stackguard-macros.h: Likewise.
43058         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43059         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43060         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43061         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43062         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43063         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43065 2013-09-23  Hector Marco  <hecmargi@upv.es>
43066             Ismael Ripoll  <iripoll@disca.upv.es>
43067             Carlos O'Donell  <carlos@redhat.com>
43069         [BZ #15754]
43070         * sysdeps/generic/stackguard-macros.h: Define
43071         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43072         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43073         Define __pointer_chk_guard_local.
43074         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43075         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43077 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43079         [BZ #15859]
43080         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43082 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43084         * include/string.h (__ffs): Declare as hidden.
43085         * string/ffs.c (__ffs): Define as hidden.
43086         * sysdeps/i386/ffs.c (__ffs): Likewise.
43087         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43088         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43089         * sysdeps/s390/ffs.c (__ffs): Likewise.
43090         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43092 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43094         * NEWS: Mention malloc probes.
43096         * malloc/arena.c (new_heap): New memory_heap_new probe.
43097         (grow_heap): New memory_heap_more probe.
43098         (shrink_heap): New memory_heap_less probe.
43099         (heap_trim): New memory_heap_free probe.
43100         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43101         (systrim): New memory_sbrk_less probe.
43102         * manual/probes.texi: Document them.
43104         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43105         * manual/probes.texi: Document it.
43107         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43108         (__libc_realloc): Add memory_realloc_retry probe.
43109         (__libc_memalign): Add memory_memalign_retry probe.
43110         (__libc_valloc): Add memory_valloc_retry probe.
43111         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43112         (__libc_calloc): Add memory_calloc_retry probe.
43113         * manual/probes.texi: Document them.
43115         * malloc/arena.c (get_free_list): Add probe
43116         memory_arena_reuse_free_list.
43117         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43118         and memory_arena_reuse.
43119         (arena_get2) [!PER_THREAD]: Likewise.
43120         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43121         memory_arena_reuse_realloc.
43122         * manual/probes.texi: Document them.
43124         * malloc/malloc.c (__libc_free): Add
43125         memory_mallopt_free_dyn_thresholds probe.
43126         (__libc_mallopt): Add multiple memory_mallopt probes.
43127         * manual/probes.texi: Document them.
43129         * malloc/malloc.c: Include stap-probe.h.
43130         (__libc_mallopt): Add memory_mallopt probe.
43131         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43132         * manual/probes.texi: New.
43133         * manual/Makefile (chapters): Add probes.
43134         * manual/threads.texi: Set next node.
43136 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43138         [BZ #15963, #13985]
43139         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43140         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43141         Add `Chinese' to `nan' entry name.
43143 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43145         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43146         (POLYNOMIAL): Likewise.
43147         (TAYLOR_SINCOS): Likewise.
43148         (TAYLOR_SLOW): Likewise.
43149         (__sin): Use TAYLOR_SINCOS.
43150         (__cos): Likewise.
43151         (slow): Use TAYLOR_SLOW.
43152         (sloww): Likewise.
43153         (bsloww): Likewise.
43154         (csloww): Likewise.
43156 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43158         * stdlib/strtod_l.c: Fix buffer overrun.
43160 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43162         * benchtests/Makefile (bench): Add sincos.
43163         * benchtests/bench-sincos.c: New file.
43165         * math/libm-test.inc (cos_test_data): New test inputs.
43166         (sin_test_data): Likewise.
43168         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43169         macro.
43170         (__sin): Use it.
43171         (__cos): Likewise.
43172         (slow1): Likewise.
43173         (slow2): Likewise.
43174         (sloww1): Likewise.
43175         (sloww2): Likewise.
43176         (bsloww1): Likewise.
43177         (bsloww2): Likewise.
43178         (cslow2): Likewise.
43179         (csloww1): Likewise.
43180         (csloww2): Likewise.
43182         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43183         function.
43184         (__sin): Use it.
43185         (__cos): Likewise.
43187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43188         gotos.
43189         (__cos): Likewise.
43191 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43193         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43194         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43195         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43196         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43197         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43198         * elf/cache.c (print_entry): Handle the new cache flags.
43200 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43201             Aldy Hernandez  <aldyh@redhat.com>
43203         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43204         Change condition to [_SOFT_FLOAT].
43205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43217         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43220         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43221         declaration.
43223 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43225         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43226         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43227         (__longjmp): Use LOAD_GP to load saved GPRs.
43228         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43229         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43230         (__sigsetjmp): Use SAVE_GP to save GPRs.
43232         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43233         Do not append -msoft-float.
43234         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43236 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43238         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43240 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43242         [BZ #15966]
43243         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43244         (_FPU_GETCW): Use initial "__" on variable and field names but not
43245         on macro parameter name.
43246         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43247         parentheses around reference to macro parameter.
43249 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43251         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43252         prototype.
43253         (ctype_startup): Use uint32_t in cast and sizeof for
43254         ctype->charnames.
43256 2013-09-11  Jia Liu  <proljc@gmail.com>
43258         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43259         __daddr_t_defined.
43260         [__FreeBSD__]: Likewise.
43262 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43265         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43266         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43267         (strchr): Remove __strchr_sse42 ifunc selection.
43268         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43269         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43271 2013-09-11  Will Newton  <will.newton@linaro.org>
43273         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43274         parameter to RES. Remove hardcoded 1000 value.
43275         * benchtests/bench-skeleton.c (main): Pass RES parameter
43276         to TIMING_INIT and multiply result by 1000.
43278 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43282 2013-09-11  Andreas Schwab  <schwab@suse.de>
43284         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43285         if not defined.
43286         (O_TMPFILE) [__USE_GNU]: Define.
43287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43288         Define.
43290 2013-09-11  Will Newton  <will.newton@linaro.org>
43292         [BZ #15857]
43293         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43294         does not overflow.
43296 2013-09-11  Will Newton  <will.newton@linaro.org>
43298         [BZ #15856]
43299         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43300         does not overflow.
43302 2013-09-11  Will Newton  <will.newton@linaro.org>
43304         [BZ #15855]
43305         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43306         does not overflow.
43308 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43310         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43311         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43312         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43313         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43314         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43316 2013-09-10  Allan McRae  <allan@archlinux.org>
43318         [BZ #15748]
43319         * manual/arith.texi (Parsing of Floats): Clarify
43320         cross-reference.
43322         [BZ #15849]
43323         * manual/install.texi (Running make install): Mention
43324         --enable-pt-chown.
43325         * INSTALL: Regenerated.
43327 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43329         * csu/init-first.c (_init): Remove the !SHARED condition around
43330         FPU control word initialization.
43331         * elf/dl-support.c (_dl_fpu_control): New variable.
43332         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43333         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43334         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43335         * math/test-fpucw-static.c: New file.
43336         * math/test-fpucw-ieee.c: New file.
43337         * math/test-fpucw-ieee-static.c: New file.
43338         * math/Makefile (tests): Add `test-fpucw-ieee' and
43339         `$(tests-static)'.
43340         (tests-static): New variable.
43341         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43342         dependency to...
43343         [($(build-shared),yes)]
43344         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43345         ... this.
43346         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43347         New dependency.
43349 2013-09-09  Allan McRae  <allan@archlinux.org>
43351         [BZ #15939]
43352         * manual/string.texi (Collation Functions): Fix typo in
43353         strcoll example.
43354         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43356         [BZ #15893]
43357         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43359         [BZ #15892]
43360         * libio/memstream.c (open_memstream): Fix memory leak.
43361         * libio/wmemstream.c (open_wmemstream): Likewise.
43363         [BZ #15895]
43364         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43366 2013-09-09  Will Newton  <will.newton@linaro.org>
43368         * malloc/Makefile: Add tst-realloc to tests.
43369         * malloc/tst-realloc.c: New file.
43371 2013-09-09  Allan McRae  <allan@archlinux.org>
43373         [BZ #15844]
43374         * COPYING: Update from GNU website to fix FSF address.
43375         * COPYING.LIB: Likewise.
43377 2013-09-06  David S. Miller  <davem@davemloft.net>
43379         * po/zh_TW.po: Update Chinese (traditional) translation from
43380         translation project.
43382 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43383             Joseph Myers  <joseph@codesourcery.com>
43385         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43386         "localeinfo.h".
43387         (obstack_chunk_alloc): New macro.
43388         (obstack_chunk_free): Likewise.
43389         (record_offset): New function.
43390         (init_locale_data): Likewise.
43391         (align_locale_data): Likewise.
43392         (add_locale_empty): Likewise.
43393         (add_locale_raw_data): Likewise.
43394         (add_locale_raw_obstack): Likewise.
43395         (add_locale_string): Likewise.
43396         (add_locale_wstring): Likewise.
43397         (add_locale_uint32): Likewise.
43398         (add_locale_uint32_array): Likewise.
43399         (add_locale_char): Likewise.
43400         (start_locale_structure): Likewise.
43401         (end_locale_structure): Likewise.
43402         (start_locale_prelude): Likewise.
43403         (end_locale_prelude): Likewise.
43404         (write_locale_data): Take locale_file structure rather than an
43405         iovec.
43406         * locale/programs/locfile.h: Include "obstack.h".
43407         (struct locale_file): Change to store locale file contents instead
43408         of header.
43409         (init_locale_data): New prototype.
43410         (align_locale_data): Likewise.
43411         (add_locale_empty): Likewise.
43412         (add_locale_raw_data): Likewise.
43413         (add_locale_raw_obstack): Likewise.
43414         (add_locale_string): Likewise.
43415         (add_locale_wstring): Likewise.
43416         (add_locale_uint32): Likewise.
43417         (add_locale_uint32_array): Likewise.
43418         (add_locale_char): Likewise.
43419         (start_locale_structure): Likewise.
43420         (end_locale_structure): Likewise.
43421         (start_locale_prelude): Likewise.
43422         (end_locale_prelude): Likewise.
43423         (write_locale_data): Update prototype.
43424         * locale/programs/3level.h (struct TABLE): Remove result field.
43425         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43426         Use new locale_file interface.
43427         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43428         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43429         * locale/programs/ld-address.c (address_output): Use new
43430         locale_file interface.
43431         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43432         NO_ADD_LOCALE.
43433         (collate_finish): Don't call collseq_table_finalize.
43434         (collate_output): Use new locale_file interface.
43435         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43436         in file.
43437         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43438         (TABLE): Move defines earlier in file.
43439         (ELEMENT): Likewise.
43440         (DEFAULT): Likewise.
43441         (wctrans_table_add): Move macro and inline function earlier in
43442         file.
43443         (struct wctype_table): Move type earlier in file.
43444         (add_locale_wctype_table): New static prototype.
43445         (struct locale_ctype_t): Use logical types instead of struct iovec
43446         pointers for members.
43447         (ctype_output): Use new locale_file interface.
43448         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43449         new locale_file interface.
43450         (allocate_arrays): Update for use of new locale_file interface.
43451         * locale/programs/ld-identification.c (identification_output): Use
43452         new locale_file interface.
43453         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43454         * locale/programs/ld-messages.c (messages_output): Likewise.
43455         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43456         * locale/programs/ld-name.c (name_output): Likewise.
43457         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43458         * locale/programs/ld-paper.c (paper_output): Likewise.
43459         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43460         * locale/programs/ld-time.c (time_output): Likewise.
43462 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43464         * benchtests/Makefile: Add memrchr benchmark.
43465         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43466         benchmark as memrchr.
43467         * benchtests/bench-memrchr-ifunc.c: New file.
43468         * benchtests/bench-memrchr.c: New file.
43470 2013-09-06   Will Newton  <will.newton@linaro.org>
43472         * benchtests/Makefile (string-bench): Add memcpy.
43474 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43475             Cong Wang  <amwang@redhat.com>
43477         [BZ #15850]
43478         * sysdeps/unix/sysv/linux/bits/in.h
43479         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43480         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43481         before __USE_KERNEL_IPV6_DEFS uses.
43482         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43483         IPPROTO_BEETPH.
43484         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43485         sockaddr_in6, or ipv6_mreq.
43487 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43489         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43490         memory access for final bytes in some large inputs.
43491         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43493 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43495         * string/test-memrchr.c: New file.
43496         * string/test-memrchr-ifunc.c: New file.
43497         * string/Makefile: Add new memrchr testcase.
43499 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43501         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43502         fanotify_init returns EPERM.
43504 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43506         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43507         errors.
43508         (top level): Treat second token from macro or constant entries for
43509         allowed headers as allowed.
43510         * include/complex.h: Condition internal declarations on
43511         [!_ISOMAC].
43512         * include/fenv.h: Condition include of <stdbool.h> and internal
43513         declarations on [!_ISOMAC].
43515 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43517         [BZ #15923]
43518         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43520 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43522         * configure.in (--enable-versioning): Remove configure option.
43523         (libc_cv_asm_symver_directive): Remove configure test.
43524         (libc_cv_ld_version_script_option): Likewise.
43525         (VERSIONING): Remove variable and AC_SUBST.
43526         (DO_VERSIONING): Remove AC_DEFINE.
43527         * configure: Regenerated.
43528         * config.h.in (DO_VERSIONING): Remove macro.
43529         * Makerules [$(versioning) = yes]: Change conditionals to
43530         [$(build-shared) = yes].
43531         * config.make.in (versioning): Remove variable.
43532         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43533         [$(build-shared) = yes].
43534         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43535         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43536         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43537         [$(build-shared) = yes].
43538         * extra-lib.mk [$(versioning) = yes]: Likewise.
43539         * hurd/Makefile [$(versioning) = yes]: Likewise.
43540         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43541         [SHARED].
43542         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43543         [SHARED].
43544         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43545         [SHARED && !NO_HIDDEN].
43546         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43547         [SHARED].
43548         [SHARED && DO_VERSIONING]: Likewise..
43549         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43550         [$(build-shared) = yes].
43551         * manual/install.texi (--disable-versioning): Remove
43552         documentation.
43553         * INSTALL: Regenerated.
43554         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43555         to [SHARED].
43556         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43557         [$(build-shared) = yes].
43558         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43559         * sysdeps/i386/i686/multiarch/strstr-c.c
43560         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43561         [SHARED && !NO_HIDDEN].
43562         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43563         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43564         * sysdeps/powerpc/powerpc32/dl-machine.c
43565         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43566         * sysdeps/powerpc/powerpc32/sysdep.h
43567         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43568         to [SHARED && PIC && !NO_HIDDEN].
43569         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43570         conditional to [SHARED].
43572 2013-09-04   Will Newton  <will.newton@linaro.org>
43574         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43575         * benchtests/bench-string.h: Include bench-timing.h instead
43576         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43577         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43578         call to HP_TIMING_DIFF_INIT.
43579         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43580         instead of hp-timing.h macros.
43581         * benchtests/bench-memchr.c: Likewise.
43582         * benchtests/bench-memcmp.c: Likewise.
43583         * benchtests/bench-memcpy.c: Likewise.
43584         * benchtests/bench-memmem.c: Likewise.
43585         * benchtests/bench-memmove.c: Likewise.
43586         * benchtests/bench-memset.c: Likewise.
43587         * benchtests/bench-rawmemchr.c: Likewise.
43588         * benchtests/bench-strcasecmp.c: Likewise.
43589         * benchtests/bench-strcasestr.c: Likewise.
43590         * benchtests/bench-strcat.c: Likewise.
43591         * benchtests/bench-strchr.c: Likewise.
43592         * benchtests/bench-strcmp.c: Likewise.
43593         * benchtests/bench-strcpy.c: Likewise.
43594         * benchtests/bench-strcpy_chk.c: Likewise.
43595         * benchtests/bench-strlen.c: Likewise.
43596         * benchtests/bench-strncasecmp.c: Likewise.
43597         * benchtests/bench-strncat.c: Likewise.
43598         * benchtests/bench-strncmp.c: Likewise.
43599         * benchtests/bench-strncpy.c: Likewise.
43600         * benchtests/bench-strnlen.c: Likewise.
43601         * benchtests/bench-strpbrk.c: Likewise.
43602         * benchtests/bench-strrchr.c: Likewise.
43603         * benchtests/bench-strspn.c: Likewise.
43604         * benchtests/bench-strstr.c: Likewise.
43606 2013-09-04  Will Newton  <will.newton@linaro.org>
43608         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43610 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43612         [BZ #15427]
43613         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43614         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43615         * math/libm-test.inc (lgamma_test_data): Add more tests.
43616         * sysdeps/i386/fpu/libm-test-ulps: Update.
43617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43619 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43621         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43623         Add ifunc.
43624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43625         Add strcmp-sse2-unaligned
43626         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43628 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43630         * Versions.def (libc): Add GLIBC_2.19.
43632 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43634         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43635         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43637 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43639         [BZ #14155]
43640         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43641         intermediate calculations in recurrence.
43642         (__ieee754_ynf): Likewise.
43643         * math/libm-test.inc (jn_test_data): Do not allow spurious
43644         underflow exception.  Add more tests.
43645         (yn_test_data): Add more tests.
43646         * sysdeps/i386/fpu/libm-test-ulps: Update.
43647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43649 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43653 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43655         * csu/init-first.c: Fix then/than typos.
43656         * locale/programs/ld-collate.c: Likewise.
43657         * locale/programs/linereader.h: Likewise.
43658         * manual/charset.texi: Likewise.
43659         * manual/filesys.texi: Likewise.
43660         * manual/stdio.texi: Likewise.
43661         * manual/string.texi: Likewise.
43662         * stdlib/fmtmsg.c: Likewise.
43663         * sysdeps/i386/stpncpy.S: Likewise.
43664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43665         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43666         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43667         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43669 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43671         * elf/dl-open.c: Fix typos.
43672         * iconvdata/gbbig5.c: Likewise.
43673         * iconvdata/iso-2022-jp.c: Likewise.
43674         * iconv/gconv_int.h: Likewise.
43675         * iconv/loop.c: Likewise.
43676         * nis/rpcsvc/nis.h: Likewise.
43677         * resolv/ns_name.c: Likewise.
43678         * stdio-common/vfscanf.c: Likewise.
43679         * streams/stropts.h: Likewise.
43680         * sunrpc/rpc_thread.c: Likewise.
43681         * sysdeps/i386/strpbrk.S: Likewise.
43682         * sysdeps/ieee754/k_standard.c: Likewise.
43683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43685         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43686         * sysdeps/mach/hurd/profil.c: Likewise.
43687         * sysdeps/s390/dl-procinfo.h: Likewise.
43688         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43690         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43691         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43692         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43694 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43696         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43699 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43702         aix specific files.
43703         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43704         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43706         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43707         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43708         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43709         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43710         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43712 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43713             Roland McGrath  <roland@hack.frob.com>
43715         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43716         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43718 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43720         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43721         __executable_start symbol instead of _start.
43723 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43725         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43726         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43727         Move macros to...
43728         * sysdeps/gnu/ldsodefs.h: ... this new file.
43730         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43731         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43732         instead of ELFOSABI_LINUX.
43734         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43735         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43736         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43737         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43738         Likewise.
43739         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43740         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43741         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43742         Likewise.
43743         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43744         (ibm_extended_long_double): Add ieee_nan member.
43745         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43746         (do_test): New function.
43748         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43749         TEST_TRUNC.
43750         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43751         functions, renamed from truncdfsf_test, trunctfsf_test,
43752         trunctfdf_test.
43753         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43754         functions.
43755         (do_test): Run all these.
43757 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43759         * argp/argp-help.c: Fix typos.
43760         * argp/argp-parse.c: Likewise.
43761         * debug/backtracesyms.c: Likewise.
43762         * elf/elf.h: Likewise.
43763         * malloc/malloc.c: Likewise.
43764         * nis/nis_print.c: Likewise.
43765         * resolv/res_comp.c: Likewise.
43766         * stdlib/stdlib.h: Likewise.
43767         * sunrpc/clnt_tcp.c: Likewise.
43768         * sunrpc/clnt_udp.c: Likewise.
43769         * sunrpc/clnt_unix.c: Likewise.
43770         * sysdeps/unix/bsd/ptsname.c: Likewise.
43771         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43772         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43774         Likewise.
43775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43776         Likewise.
43777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43778         Likewise.
43779         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43781 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43783         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43786 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43788         [BZ #15897]
43789         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43790         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43791         ($(objpfx)bug-dl-leaf): New rule.
43792         ($(objpfx)bug-dl-leaf.so): Likewise.
43793         ($(objpfx)bug-dl-leaf.out): Likewise.
43794         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43795         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43796         * dlfcn/bug-dl-leaf.c: New test.
43797         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43798         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43799         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43800         (dlclose): Likewise.
43801         (dlmopen): Likewise.
43803 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43805         * include/netdb.h [!_ISOMAC]:
43806         Don't include <tls.h>.
43807         (h_errno, __libc_h_errno): Move declaration and macros out of
43808         [_LIBC_REENTRANT].
43810         * include/resolv.h [_RESOLV_H_]:
43811         Don't include <tls.h>.
43812         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43813         * resolv/res_libc.c: Don't include <tls.h>.
43814         (_res): Use __attribute__ ((nocommon)) in place of
43815         __attribute__ ((section (".bss"))).
43817         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43818         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43820         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43822         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43823         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43825         * resolv/res_mkquery.c: Include <sys/time.h>.
43827         * inet/ifreq.c: Moved to ...
43828         * sysdeps/unix/ifreq.c: ... here.
43829         * inet/ifreq.c: New file, true stub version.
43831         * socket/sa_len.c: New file.
43832         * socket/Makefile (aux): Add it.
43833         * sysdeps/unix/sysv/linux/Makefile
43834         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43835         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43836         and #include <socket/sa_len.c>.
43837         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43838         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43840         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43841         * bits/socket.h: ... here.
43843         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43844         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43845         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43847 2013-08-27  Andreas Schwab  <schwab@suse.de>
43849         [BZ #15736]
43850         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43851         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43852         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43853         * string/test-strcasecmp.c (test_main): Run tests in several
43854         locales.
43855         * string/test-strncasecmp.c (test_main): Likewise.
43857         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43858         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43859         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43861         (__strncasecmp_ssse3) [PIC]: Likewise.
43863 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43865         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43867         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43868         instead of explicitly declaring xdecrypt.
43869         * nis/nss_nis/nis-publickey.c: Likewise.
43871 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43873         [BZ #15890]
43874         * nscd/aicache.c: Include res_hconf.h.
43875         (addhstaiX): Initialize res_hconf.
43877 2013-08-26  Andreas Schwab  <schwab@suse.de>
43879         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43880         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43882 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43884         * nscd/aicache.c (addhstaiX): Fix indentation.
43886 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43888         * configure.ac: Quote $build_pt_chown test.
43889         * configure: Regenerated.
43891 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43893         [BZ #15532]
43894         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43895         * math/s_cexpf.c (__cexpf): Likewise.
43896         * math/s_cexpl.c (__cexpl): Likewise.
43897         * math/libm-test.inc (cexp_test_data): Correct expected return
43898         value for NaN + i0.  Add another test.
43900 2013-08-22  David S. Miller  <davem@davemloft.net>
43902         * po/ca.po: Update Catalan translation from translation project.
43903         * po/uk.po: Add Ukrainian translations from translation project.
43905 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43907         [BZ #15797]
43908         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43909         is infinite, not alongside NaN test.
43910         * math/s_fdimf.c (__fdimf): Likewise.
43911         * math/s_fdiml.c (__fdiml): Likewise.
43912         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43913         errno is unchanged.
43915 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43917         * argp/argp-help.c: Fix typos.
43918         * crypt/speeds.c: Likewise.
43919         * csu/check_fds.c: Likewise.
43920         * elf/dl-load.c: Likewise.
43921         * elf/dl-open.c: Likewise.
43922         * elf/reldep3.c: Likewise.
43923         * elf/reldep.c: Likewise.
43924         * elf/sprof.c: Likewise.
43925         * iconv/iconv_charmap.c: Likewise.
43926         * iconv/skeleton.c: Likewise.
43927         * iconv/strtab.c: Likewise.
43928         * io/lockf64.c: Likewise.
43929         * libio/libioP.h: Likewise.
43930         * resolv/gai_notify.c: Likewise.
43931         * resolv/ns_name.c: Likewise.
43932         * resolv/ns_samedomain.c: Likewise.
43933         * resolv/res_send.c: Likewise.
43934         * stdlib/random.c: Likewise.
43935         * sunrpc/rpc/xdr.h: Likewise.
43936         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43938         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43939         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43941         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43943         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43944         * sysdeps/mach/hurd/check_fds.c: Likewise.
43945         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43946         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43947         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43948         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43949         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43951         * sysdeps/pthread/aio_notify.c: Likewise.
43952         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43953         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43954         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43955         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43956         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43958 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43960         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43961         version if bit_Slow_SSE4_2 is set.
43962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43965 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43967         [BZ #15867]
43968         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43969         trampoline stack frame information.
43970         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43971         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43972         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43973         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43974         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43975         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43976         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43977         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43978         sa_flags value.
43979         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43980         interrupting a syscall and set with option SA_SIGINFO.
43982 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43984         [BZ #15531]
43985         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43986         argument is infinite.
43987         * math/s_cprojf.c (__cprojf): Likewise.
43988         * math/s_cprojl.c (__cprojl): Likewise.
43989         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43990         * math/libm-test.inc (cproj_test_data): Add more tests.
43992         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43994         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43995         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43996         size.  Use __ffs to determine corresponding shift.
43998 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43999             Roland McGrath  <roland@hack.frob.com>
44001         * Makefile (INSTALL): Remove trailing blank lines from output of
44002         makeinfo.
44004 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44006         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44007         Align 32 bit compat elf_greg to 8 bytes.
44009 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44011         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44013 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44015         * string/strcoll_l.c (coll_seq): New structure.
44016         (get_next_seq_cached): New function.
44017         (get_next_seq): New function.
44018         (do_compare): New function.
44019         (STRCOLL): Use GNU style definition.  Simplify implementation
44020         by using get_next_seq, get_next_seq_cached and do_compare.
44022 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44024         [BZ #14699]
44025         CVE-2013-4237
44026         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44027         member.
44028         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44029         member.
44030         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44031         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44032         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44033         conditional.
44034         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44035         GETDENTS_64BIT_ALIGNED.
44036         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44037         * manual/filesys.texi (Reading/Closing Directory): Document
44038         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44039         strongly.
44040         * manual/conf.texi (Limits for Files): Add portability note to
44041         NAME_MAX, PATH_MAX.
44042         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44044 2013-08-13  Andreas Schwab  <schwab@suse.de>
44046         [BZ #15749]
44047         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44048         of fabs.
44049         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44050         LDBL_MAX_EXP >= 16384]: Add tests for it.
44052 2013-08-12  David S. Miller  <davem@davemloft.net>
44054         * version.h (RELEASE): Set to "development".
44055         (VERSION): Set to "2.18.90".
44056         * NEWS: Add 2.19 section.
44058 2013-08-03  David S. Miller  <davem@davemloft.net>
44060         * po/ko.po: Update Korean translation from translation project.
44062 2013-08-01  David S. Miller  <davem@davemloft.net>
44064         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44065         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44066         Bilka.
44068 2013-07-30  David S. Miller  <davem@davemloft.net>
44070         * po/fr.po: Update French translation from translation project.
44072 2013-07-28  David S. Miller  <davem@davemloft.net>
44074         * po/cs.po: Update Czech translation from translation project.
44076         * po/sv.po: Update Swedish translation from translation project.
44078 2013-07-27  David S. Miller  <davem@davemloft.net>
44080         * po/eo.po: Update Esperanto translation from translation project.
44082         * po/vi.po: Update Vietnamese translation from translation project.
44084         * po/de.po: Update German translation from translation project.
44086 2013-07-26  David S. Miller  <davem@davemloft.net>
44088         * po/bg.po: Update Bulgarian translation from translation project.
44090         * po/nl.po: Update Dutch translation from translation project.
44091         * po/pl.po: Update Polish translation from translation project.
44092         * po/ru.po: Update Russian translation from translation project.
44094 2013-07-24  David S. Miller  <davem@davemloft.net>
44096         * po/libc.pot: Update.
44098 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44100         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44101         variable page size.
44102         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44103         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44104         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44106 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44108         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44110 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44111             Andreas Schwab  <schwab@suse.de>
44112             Roland McGrath  <roland@hack.frob.com>
44113             Joseph Myers  <joseph@codesourcery.com>
44114             Carlos O'Donell  <carlos@redhat.com>
44116         [BZ #15755]
44117         * config.h.in: Define HAVE_PT_CHOWN.
44118         * config.make.in (build-pt-chown): New variable.
44119         * configure.in (--enable-pt_chown): New configure option.
44120         * configure: Regenerate.
44121         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44122         build-pt-chown is enabled.
44123         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44124         pt_chown to fix pty ownership.
44125         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44126         CLOSE_ALL_FDS.
44127         * manual/install.texi (Configuring and compiling): Mention
44128         --enable-pt_chown. Add @findex for grantpt.
44129         * INSTALL: Regenerate.
44131 2013-07-20  David S. Miller  <davem@davemloft.net>
44133         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44134         difference between 32-bit and 64-bit.
44136 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44138         [BZ #15711]
44139         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44140         Avoid system header dependency with -ffreestanding.
44141         ($(objpfx)bits/syscall%d): Likewise.
44143 2013-07-13  David S. Miller  <davem@davemloft.net>
44145         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44146         underflows from atanl/atan2l due to bug 15319.
44147         (casinh_test_data): Likewise.
44149 2013-07-07  David S. Miller  <davem@davemloft.net>
44151         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44153 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44155         * sysdeps/i386/fpu/libm-test-ulps: Update.
44156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44158 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44160         * configure.in (--enable-lock-elision): Fix message text.
44161         * INSTALL: Regenerate.
44162         * configure: Regenerate.
44164 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44168 2013-07-03  Andreas Jaeger  <aj@suse.de>
44170         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44171         define.
44172         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44173         (ptrace_peeksiginfo_args): Add.
44174         (__ptrace_peeksiginfo_flags): Add.
44175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44176         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44179 2013-07-03  Allan McRae  <allan@archlinux.org>
44181         * sysdeps/i386/fpu/libm-test-ulps: Update.
44183 2013-07-02  David S. Miller  <davem@davemloft.net>
44185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44187 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44191 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44193         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44196 2013-07-02  Andi Kleen <ak@linux.intel.com>
44198         * config.h.in (ENABLE_LOCK_ELISION): Add.
44199         * configure.in (--enable-lock-elision): Add option.
44200         * manual/install.texi: Document --enable lock elision.
44201         * configure: Regenerate
44202         * INSTALL: Regenerate.
44204 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44206         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44207         SSE4.2 strcasecmp for libc.a.
44208         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44210 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44212         [BZ #13304]
44213         * soft-fp/op-common.h (_FP_FMA): New macro.
44214         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44215         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44216         (_FP_MUL_MEAT_1_imm): ... here.
44217         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44218         (_FP_MUL_MEAT_1_wide): ... here.
44219         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44220         (_FP_MUL_MEAT_1_hard): ... here.
44221         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44222         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44223         (_FP_MUL_MEAT_2_wide): ... here.
44224         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44225         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44226         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44227         (_FP_MUL_MEAT_2_gmp): ... here.
44228         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44229         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44230         (_FP_MUL_MEAT_4_wide): ... here.
44231         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44232         (_FP_MUL_MEAT_4_gmp): ... here.
44233         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44234         (_FP_WFRACBITS_DW_S): Likewise.
44235         (_FP_WFRACXBITS_DW_S): Likewise.
44236         (_FP_HIGHBIT_DW_S): Likewise.
44237         (FP_FMA_S): Likewise.
44238         (_FP_FRAC_HIGH_DW_S): Likewise.
44239         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44240         (_FP_WFRACBITS_DW_D): Likewise.
44241         (_FP_WFRACXBITS_DW_D): Likewise.
44242         (_FP_HIGHBIT_DW_D): Likewise.
44243         (FP_FMA_D): Likewise.
44244         (_FP_FRAC_HIGH_DW_D): Likewise.
44245         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44246         (_FP_WFRACBITS_DW_E): Likewise.
44247         (_FP_WFRACXBITS_DW_E): Likewise.
44248         (_FP_HIGHBIT_DW_E): Likewise.
44249         (FP_FMA_E): Likewise.
44250         (_FP_FRAC_HIGH_DW_E): Likewise.
44251         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44252         (_FP_WFRACBITS_DW_Q): Likewise.
44253         (_FP_WFRACXBITS_DW_Q): Likewise.
44254         (_FP_HIGHBIT_DW_Q): Likewise.
44255         (FP_FMA_Q): Likewise.
44256         (_FP_FRAC_HIGH_DW_Q): Likewise.
44257         * soft-fp/fmasf4.c: New file.
44258         * soft-fp/fmadf4.c: Likewise.
44259         * soft-fp/fmatf4.c: Likewise.
44261 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44264         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44265         Silvermont.
44266         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44267         macro.
44268         (index_Slow_SSE4_2): Likewise.
44269         (index_Prefer_PMINUB_for_stringop): Likewise.
44270         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44271         bit_Slow_SSE4_2 is set.
44272         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44275 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44277         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44278         rtld_global._dl_hwcap2.
44279         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44280         POWER8.
44281         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44282         POWER8 feature descriptions defined in _dl_hwcap2.
44283         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44284         string handling for POWER8 feature bits.
44285         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44286         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44287         _dl_powerpc_cap_flags.
44288         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44289         * sysdeps/powerpc/rtld-global-offsets.sym
44290         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44291         _dl_hwcap2 in the rtld_global_ro structure.
44293 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44295         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44296         hardware capabilities in support of AT_HWCAP2.
44297         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44298         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44299         GLRO(dl_hwcap2).
44300         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44301         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44302         explicitly the unknown a_type display mechanism is used.
44303         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44304         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44305         struct member.
44306         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44307         to macro prototype for AT_HWCAP2 support.
44308         * sysdeps/i386/dl-procinfo.h: Likewise.
44309         * sysdeps/s390/dl-procinfo.h: Likewise.
44310         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44311         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44312         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44313         return -1 for unknown a_type display fallback.
44314         * sysdeps/sparc/dl-procinfo.h: Likewise.
44315         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44316         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44318 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44320         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44321         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44323 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44325         [BZ #12492]
44326         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44327         mprotect making __stack_prot writable.
44329 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44330             Joseph Myers  <joseph@codesourcery.com>
44332         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44333         as being properly aligned.
44335 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44337         * dlfcn/modstatic5.c: New file.
44338         * dlfcn/tststatic5.c: New file.
44339         * dlfcn/Makefile (tests): Add tststatic5.
44340         (tests-static): Likewise.
44341         (modules-names): Add modstatic5.
44342         (tststatic5-ENV): New variable.
44343         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44345         [BZ #15022]
44346         * elf/dl-support.c (_dl_main_map): New variable.
44347         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44348         (_dl_nns, _dl_load_adds): Set to 1.
44349         (_dl_initial_searchlist): Refer to _dl_main_map.
44350         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44351         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44352         call to _dl_get_origin.
44353         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44354         around call_map.
44355         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44356         * dlfcn/modstatic3.c: New file.
44357         * dlfcn/tststatic3.c: New file.
44358         * dlfcn/tststatic4.c: New file.
44359         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44360         (tests-static): Likewise.
44361         (modules-names): Add modstatic3.
44362         (tststatic3-ENV, tststatic4-ENV): New variables.
44363         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44364         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44366 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44368         * configure.in (CC): Require GCC version 4.4 or later.
44369         * configure: Regenerated.
44370         * manual/install.texi (Tools for Compilation): Update GCC version
44371         requirement.
44372         * INSTALL: Regenerated.
44374 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44376         [BZ #15674]
44377         * string/test-memcmp.c (check2): New.
44378         (main): Call check2.
44380         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44382 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44384         [BZ #15022]
44385         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44386         over to...
44387         (dl_open_worker) [!SHARED]: ... here.
44389 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44391         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44393 2013-06-25  Richard Henderson  <rth@redhat.com>
44395         * locale/programs/locarchive.c: Include <libc-internal.h>
44397 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44399         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44400         trailing whitespace removed.
44402 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44404         [BZ #10283]
44405         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44406         * locale/programs/locarchive.c: Include libc-mmap.h.
44407         (prepare_address_space): Take two new outputs (the mmap base and len).
44408         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44409         values.
44410         (create_archive): Declare new mmap base and len values for
44411         prepare_address_space, and store the result in ah.
44412         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44413         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44414         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44415         Declare new mmap base and len values for
44416         prepare_address_space, and store the result in new_ah.
44417         (open_archive): Declare new mmap base and len values for
44418         prepare_address_space, and store the result in ah.
44419         (close_archive): If ah->mmap_base is not NULL, use that and
44420         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44421         * sysdeps/generic/libc-mmap.h: New file.
44423 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44425         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44426         (ALIGN_UP): Likewise.
44427         (PTR_ALIGN_DOWN): Likewise.
44428         (PTR_ALIGN_UP): Likewise.
44430 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44432         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44433         entry mapped to PPC_PLATFORM_POWER8.
44434         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44435         POWER8.
44436         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44437         (_dl_string_platform): Add case for exporting platform position for
44438         POWER8.
44439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44440         search path to sysdeps/powerpc/powerpc32/power8 directory.
44441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44442         search path to sysdeps/powerpc/powerpc64/power8 directory.
44443         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44444         power7 directories.
44445         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44446         power7 directories.
44448 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44450         * INSTALL: Regenerate.
44452         * nscd/connections.c (nscd_init): Fix comment.
44454 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44456         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44458         [BZ #15667]
44459         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44460         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44462 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44464         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44465         DL_DST_REQ_STATIC.
44466         (DL_DST_REQ_STATIC): Remove macro.
44468 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44470         [BZ #7006]
44471         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44472         with a shift of 0 bits.
44474 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44476         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44477         $(tststatic-ENV).
44479 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44481         [BZ #15655]
44482         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44484 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44486         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44487         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44488         accepts -fno-tree-loop-distribute-patterns.
44489         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44490         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44491         recursive call.
44492         * string/memset.c (memset): Likewise.
44493         * string/test-memmove.c (simple_memmove): Disable loop transformation
44494         to library calls.
44495         * string/test-memset.c (simple_memset): Likewise.
44496         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44497         * benchtests/bench-memset.c (simple_memset): Likewise.
44498         * configure: Regenerated.
44500 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44502         * math/test-misc.c (main): Ignore fesetround failure when failures
44503         of subsequent rounding tests would be ignored.
44505         [BZ #15654]
44506         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44507         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44508         * math/fegetenv.c (__fegetenv): Return 0.
44509         * math/fegetexcept.c (fegetexcept): Return 0.
44510         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44511         FE_TONEAREST.
44512         * math/feholdexcpt.c (feholdexcept): Return 0.
44513         * math/fesetenv.c (__fesetenv): Return 0.
44514         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44515         argument FE_TONEAREST.
44516         * math/feupdateenv.c (__feupdateenv): Return 0.
44517         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44519 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44521         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44522         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44523         ($(objpfx)rtld-%.os rules): Use them.
44525 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44527         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44528         fields.
44530 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44532         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44533         length of target pattern, then descending length of dependency pattern.
44534         * configure.in (AWK): Require gawk 3.1.2 or newer.
44535         * manual/install.texi (Tools for Compilation): Say that we do.
44536         * configure: Regenerated.
44538         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44539         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44540         * scripts/sysd-rules.awk: ... this new script.
44541         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44542         than a glob-style pattern.
44544 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44546         * math/test-misc.c (main): Do not treat incorrectly rounded
44547         conversions as failure unless ROUNDING_TESTS passes.
44549 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44551         [BZ #15631]
44552         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44553         restore exception state around main square root computation, then
44554         check for inexactness explicitly.
44556         * math/libm-test.inc (fma_test_data): Add another test.
44558 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44560         * manual/threads.texi (Non-POSIX Extensions): New document
44561         node.  Document pthread_getattr_default_np and
44562         pthread_setattr_default_np.
44564         * Versions.def (libpthread): Add GLIBC_2.18.
44565         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44567         Likewise.
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44569         Likewise.
44570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44571         Likewise.
44572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44573         Likewise.
44574         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44575         Likewise.
44576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44577         Likewise.
44578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44579         Likewise.
44580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44581         Likewise.
44582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44583         Likewise.
44585 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44588         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44590 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44591             H.J. Lu  <hjl.tools@gmail.com>
44593         [BZ #15627]
44594         * sysdeps/x86_64/rtld-memset.c: Remove file.
44595         * sysdeps/x86_64/rtld-memset.S: New file.
44597 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44599         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44600         (test_in_one_mode): Take arguments for whether the rounding mode
44601         is supported for each floating-point type.
44602         (do_test): Pass new arguments to test_in_one_mode using
44603         ROUNDING_TESTS.
44605 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44607         * posix/tst-waitid.c (do_test): Distinguish different instances of
44608         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44609         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44610         before entering the kernel for waitpid.
44612 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44614         * NEWS: Fix note on clock function precision.  Text by Roland
44615         McGrath.
44617 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44619         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44620         it into place only when and if the sanity check passes.
44622 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44624         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44625         output for whether conversion result is exact.  Take argument
44626         indicating whether type is IBM long double.
44627         (round_for_all): Change need_exact field to ibm_ld.
44628         * stdlib/tst-strtod-round.c (struct exactness): New type.
44629         (struct test): Change bool ld_ok field to struct exactness exact.
44630         (TEST): Update all definitions for change to field.
44631         (tests): Regenerate array contents.
44632         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44633         field value.  Check for IBM long double here.
44634         (do_test): Update calls to test_in_one_mode.
44636 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44638         [BZ #12515]
44639         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44640         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44642 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44644         [BZ #15605]
44645         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44646         generated by the compiler on loop optimizations.
44647         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44648         general definitions.
44650 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44652         * math/bug-nextafter.c: Include <math-tests.h>.
44653         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44654         the relevant type.
44655         * math/bug-nexttoward.c: Include <math-tests.h>.
44656         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44657         the relevant type.
44658         * math/test-misc.c: Include <math-tests.h>.
44659         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44660         the relevant type.
44662 2013-06-12  Andreas Jaeger  <aj@suse.de>
44664         * po/ia.po: Update Interlingua translation from translation
44665         project.
44667 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44669         * include/fenv.h: Include stdbool.h.
44670         (struct rm_ctx): New structure.
44671         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44672         Define macro.
44673         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44674         (SET_RESTORE_ROUNDF): Likewise.
44675         (SET_RESTORE_ROUNDL): Likewise.
44676         (SET_RESTORE_ROUND_NOEX): Likewise.
44677         (SET_RESTORE_ROUND_NOEXF): Likewise.
44678         (SET_RESTORE_ROUND_NOEXL): Likewise.
44679         (SET_RESTORE_ROUND_53BIT): Likewise.
44680         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44681         (libc_feresetround_noexf_ctx): Likewise.
44682         (libc_feresetround_noexl_ctx): Likewise.
44683         (libc_feholdsetround_53bit_ctx): Likewise.
44684         (libc_feresetround_53bit_ctx): Likewise.
44685         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44686         (libc_feholdexcept_setround_sse_ctx): New function.
44687         (libc_fesetenv_sse_ctx): Likewise.
44688         (libc_feupdateenv_sse_ctx): Likewise.
44689         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44690         (libc_feholdexcept_setround_387_ctx): Likewise.
44691         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44692         (libc_feholdsetround_387_prec_ctx): Likewise.
44693         (libc_feholdsetround_387_ctx): Likewise.
44694         (libc_feholdsetround_387_53bit_ctx): Likewise.
44695         (libc_feholdsetround_sse_ctx): Likewise.
44696         (libc_feresetround_sse_ctx): Likewise.
44697         (libc_feresetround_387_ctx): Likewise.
44698         (libc_feupdateenv_387_ctx): Likewise.
44699         (libc_feholdexcept_setroundf_ctx): Define macro.
44700         (libc_fesetenvf_ctx): Likewise.
44701         (libc_feupdateenvf_ctx): Likewise.
44702         (libc_feholdsetroundf_ctx): Likewise.
44703         (libc_feresetroundf_ctx): Likewise.
44704         (libc_feholdexcept_setround_ctx): Likewise.
44705         (libc_fesetenv_ctx): Likewise.
44706         (libc_feupdateenv_ctx): Likewise.
44707         (libc_feholdsetround_ctx): Likewise.
44708         (libc_feresetround_ctx): Likewise.
44709         (libc_feholdexcept_setroundl_ctx): Likewise.
44710         (libc_feupdateenvl_ctx): Likewise.
44711         (libc_feholdsetroundl_ctx): Likewise.
44712         (libc_feresetroundl_ctx): Likewise.
44713         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44714         (libc_feresetround_53bit_ctx): Likewise.
44716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44718         * locale/iso-639.def: Convert to UTF-8.
44720 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44722         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44723         (EXCEPTION_TESTS_double): Likewise.
44724         (EXCEPTION_TESTS_long_double): Likewise.
44725         (EXCEPTION_TESTS): Likewise.
44726         * math/libm-test.inc (test_exceptions): Only test exceptions if
44727         EXCEPTION_TESTS (FLOAT).
44729 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44731         * benchtests/Makefile (string-bench): Add strcpy_chk and
44732         stpcpy_chk.
44733         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44734         * benchtests/bench-stpcpy_chk.c: New file.
44735         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44736         * benchtests/bench-strcpy_chk.c: New file.
44737         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44738         code.
44739         (do_test): Likewise.
44741 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44743         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44744         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44745         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44746         with tabs where appropriate.
44747         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44748         dl-procinfo.h.
44749         [PPC_PLATFORM_PPC440]: Likewise.
44750         [PPC_PLATFORM_PPC464]: Likewise.
44751         [PPC_PLATFORM_PPC476]: Likewise.
44752         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44753         ppc464, and ppc476 platform strings merging from ports/
44754         dl-procinfo.h.
44756 2013-06-11  Andreas Schwab  <schwab@suse.de>
44758         [BZ #14991]
44759         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44760         (from_ucs4_idx): Regenerate.
44761         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44762         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44763         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44764         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44765         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44766         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44767         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44768         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44769         from FROM_LOOP and TO_LOOP specific macros.
44770         (BODY): Handle combining characters.
44771         * iconvdata/BIG5HKSCS.irreversible: Update.
44772         * iconvdata/BIG5HKSCS.precomposed: New file.
44773         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44774         characters.
44775         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44777 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44779         * include/sys/time.h: Fix indentation and add copyright header.
44781         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44782         (do_test): Likewise.
44783         * string/test-memchr.c (do_one_test): Likewise.
44784         (do_test): Likewise.
44785         * string/test-memcmp.c (do_one_test): Likewise.
44786         (do_test): Likewise.
44787         * string/test-memcpy.c (do_one_test): Likewise.
44788         (do_test): Likewise.
44789         * string/test-memmem.c (do_one_test): Likewise.
44790         (do_test): Likewise.
44791         (do_random_tests): Likewise.
44792         * string/test-memmove.c (do_one_test): Likewise.
44793         (do_test): Likewise.
44794         * string/test-memset.c (do_one_test): Likewise.
44795         (do_test): Likewise.
44796         * string/test-rawmemchr.c (do_one_test): Likewise.
44797         (do_test): Likewise.
44798         * string/test-strcasecmp.c (do_one_test): Likewise.
44799         (do_test): Likewise.
44800         * string/test-strcasestr.c (do_one_test): Likewise.
44801         (do_test): Likewise.
44802         * string/test-strcat.c (do_one_test): Likewise.
44803         (do_test): Likewise.
44804         * string/test-strchr.c (do_one_test): Likewise.
44805         (do_test): Likewise.
44806         * string/test-strcmp.c (do_one_test): Likewise.
44807         (do_test): Likewise.
44808         * string/test-strcpy.c (do_one_test): Likewise.
44809         (do_test): Likewise.
44810         * string/test-string.h: Likewise.
44811         (test_init): Likewise.
44812         * string/test-strlen.c (do_one_test): Likewise.
44813         (do_test): Likewise.
44814         * string/test-strncasecmp.c (do_one_test): Likewise.
44815         (do_test): Likewise.
44816         * string/test-strncat.c (do_one_test): Likewise.
44817         (do_test): Likewise.
44818         * string/test-strncmp.c (do_one_test): Likewise.
44819         (do_test_limit): Likewise.
44820         (do_test): Likewise.
44821         * string/test-strncpy.c (do_one_test): Likewise.
44822         (do_test): Likewise.
44823         * string/test-strnlen.c (do_one_test): Likewise.
44824         (do_test): Likewise.
44825         * string/test-strpbrk.c (do_one_test): Likewise.
44826         (do_test): Likewise.
44827         * string/test-strrchr.c (do_one_test): Likewise.
44828         (do_test): Likewise.
44829         * string/test-strspn.c (do_one_test): Likewise.
44830         (do_test): Likewise.
44831         * string/test-strstr.c (do_one_test): Likewise.
44832         (do_test): Likewise.
44834         * benchtests/Makefile (string-bench): Add string benchmarks.
44835         * benchtests/bench-bcopy-ifunc.c: New file.
44836         * benchtests/bench-bcopy.c: New file.
44837         * benchtests/bench-bzero-ifunc.c: New file.
44838         * benchtests/bench-bzero.c: New file.
44839         * benchtests/bench-memccpy-ifunc.c: New file.
44840         * benchtests/bench-memccpy.c: New file.
44841         * benchtests/bench-memchr-ifunc.c: New file.
44842         * benchtests/bench-memchr.c: New file.
44843         * benchtests/bench-memcmp-ifunc.c: New file.
44844         * benchtests/bench-memcmp.c: New file.
44845         * benchtests/bench-memmem-ifunc.c: New file.
44846         * benchtests/bench-memmem.c: New file.
44847         * benchtests/bench-memmove-ifunc.c: New file.
44848         * benchtests/bench-memmove.c: New file.
44849         * benchtests/bench-mempcpy-ifunc.c: New file.
44850         * benchtests/bench-mempcpy.c: New file.
44851         * benchtests/bench-memset-ifunc.c: New file.
44852         * benchtests/bench-memset.c: New file.
44853         * benchtests/bench-rawmemchr-ifunc.c: New file.
44854         * benchtests/bench-rawmemchr.c: New file.
44855         * benchtests/bench-stpcpy-ifunc.c: New file.
44856         * benchtests/bench-stpcpy.c: New file.
44857         * benchtests/bench-stpncpy-ifunc.c: New file.
44858         * benchtests/bench-stpncpy.c: New file.
44859         * benchtests/bench-strcasecmp-ifunc.c: New file.
44860         * benchtests/bench-strcasecmp.c: New file.
44861         * benchtests/bench-strcasestr-ifunc.c: New file.
44862         * benchtests/bench-strcasestr.c: New file.
44863         * benchtests/bench-strcat-ifunc.c: New file.
44864         * benchtests/bench-strcat.c: New file.
44865         * benchtests/bench-strchr-ifunc.c: New file.
44866         * benchtests/bench-strchr.c: New file.
44867         * benchtests/bench-strchrnul-ifunc.c: New file.
44868         * benchtests/bench-strchrnul.c: New file.
44869         * benchtests/bench-strcmp-ifunc.c: New file.
44870         * benchtests/bench-strcmp.c: New file.
44871         * benchtests/bench-strcpy-ifunc.c: New file.
44872         * benchtests/bench-strcpy.c: New file.
44873         * benchtests/bench-strcspn-ifunc.c: New file.
44874         * benchtests/bench-strcspn.c: New file.
44875         * benchtests/bench-strlen-ifunc.c: New file.
44876         * benchtests/bench-strlen.c: New file.
44877         * benchtests/bench-strncasecmp-ifunc.c: New file.
44878         * benchtests/bench-strncasecmp.c: New file.
44879         * benchtests/bench-strncat-ifunc.c: New file.
44880         * benchtests/bench-strncat.c: New file.
44881         * benchtests/bench-strncmp-ifunc.c: New file.
44882         * benchtests/bench-strncmp.c: New file.
44883         * benchtests/bench-strncpy-ifunc.c: New file.
44884         * benchtests/bench-strncpy.c: New file.
44885         * benchtests/bench-strnlen-ifunc.c: New file.
44886         * benchtests/bench-strnlen.c: New file.
44887         * benchtests/bench-strpbrk-ifunc.c: New file.
44888         * benchtests/bench-strpbrk.c: New file.
44889         * benchtests/bench-strrchr-ifunc.c: New file.
44890         * benchtests/bench-strrchr.c: New file.
44891         * benchtests/bench-strspn-ifunc.c: New file.
44892         * benchtests/bench-strspn.c: New file.
44893         * benchtests/bench-strstr-ifunc.c: New file.
44894         * benchtests/bench-strstr.c: New file.
44896         * benchtests/Makefile: Disable parallel execution of targets.
44897         (string-bench): Add memcpy.
44898         (benchset): New variable to store a list of benchmark sets.
44899         (bench-func): Renamed from bench.
44900         (bench-set): New target.
44901         (bench): Depend on bench-func and bench-set.
44902         * benchtests/README: Add section on benchmark sets.
44903         * benchtests/bench-memcpy-ifunc.c: New file.
44904         * benchtests/bench-memcpy.c: New file.
44905         * benchtests/bench-string.h: New file.
44907 2013-06-11  Andreas Schwab  <schwab@suse.de>
44909         [BZ #15577]
44910         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44911         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44912         values in the triple.
44913         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44914         terminator in the group key.
44916 2013-06-11  Andreas Jaeger  <aj@suse.de>
44918         * po/zh_TW.po: Update Chinese (traditional) translation from
44919         translation project.
44921 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44923         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44924         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44925         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44926         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44927         (clock_getcpuclockid): Likewise.
44928         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44929         Add weak_alias and libc_hidden_def.
44930         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44931         * rt/clock_gettime.c (clock_gettime): Rename to
44932         __clock_gettime.  Add weak_alias and libc_hidden_def.
44933         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44934         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44935         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44936         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44937         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44938         Likewise.
44939         * rt/clock_settime.c (clock_settime): Rename to
44940         __clock_settime.  Add weak_alias and libc_hidden_def.
44941         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44943 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44945         * mach/err_boot.sub: Remove trailing whitespace.
44946         * mach/err_ipc.sub: Likewise.
44947         * mach/err_mach.sub: Likewise.
44949         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44950         (ROUNDING_TESTS_double): Likewise.
44951         (ROUNDING_TESTS_long_double): Likewise.
44952         (ROUNDING_TESTS): Likewise.
44953         * math/libm-test.inc: Include <math-tests.h>.
44954         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44955         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44956         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44957         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44959 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44961         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44962         of assigning.
44964 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44966         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44967         otherwise empty TRANS lines.
44968         * sysdeps/gnu/errlist.c: Regenerated.
44970         * catgets/gencat.c (error_print): Use (void) in function
44971         definition.
44972         * crypt/crypt_util.c (__init_des): Likewise.
44973         * crypt/speeds.c (Stop): Likewise.
44974         (main): Likewise.
44975         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44976         * inet/ruserpass.c (token): Likewise.
44977         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44978         * intl/localealias.c (extend_alias_table): Likewise.
44979         * intl/plural-exp.c (init_germanic_plural): Likewise.
44980         * libio/fcloseall.c (__fcloseall): Likewise.
44981         * libio/genops.c (_IO_flush_all): Likewise.
44982         (_IO_flush_all_linebuffered): Likewise.
44983         (_IO_cleanup): Likewise.
44984         (_IO_iter_begin): Likewise.
44985         (_IO_iter_end): Likewise.
44986         (_IO_list_lock): Likewise.
44987         (_IO_list_unlock): Likewise.
44988         (_IO_list_resetlock): Likewise.
44989         * libio/getchar.c (getchar): Likewise.
44990         * libio/getchar_u.c (getchar_unlocked): Likewise.
44991         * libio/getwchar.c (getwchar): Likewise.
44992         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44993         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44994         * login/getpt.c (__getpt): Likewise.
44995         * login/tst-utmp.c (main): Likewise.
44996         * malloc/hooks.c (__malloc_check_init): Likewise.
44997         * malloc/malloc.c (__malloc_stats): Likewise.
44998         * malloc/mtrace.c (tr_break): Likewise.
44999         (mtrace): Likewise.
45000         (muntrace): Likewise.
45001         * misc/fstab.c (endfsent): Likewise.
45002         * misc/getclktck.c (__getclktck): Likewise.
45003         * misc/getdtsz.c (__getdtablesize): Likewise.
45004         * misc/gethostid.c (gethostid): Likewise.
45005         * misc/getpagesize.c (__getpagesize): Likewise.
45006         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45007         (__get_nprocs): Likewise.
45008         (__get_phys_pages): Likewise.
45009         (__get_avphys_pages): Likewise.
45010         * misc/getttyent.c (getttyent): Likewise.
45011         (setttyent): Likewise.
45012         (endttyent): Likewise.
45013         * misc/getusershell.c (getusershell): Likewise.
45014         (endusershell): Likewise.
45015         (setusershell): Likewise.
45016         (initshells): Likewise.
45017         * misc/hsearch.c (__hdestroy): Likewise.
45018         * misc/sync.c (sync): Likewise.
45019         * misc/syslog.c (closelog_internal): Likewise.
45020         (closelog): Likewise.
45021         * misc/ttyslot.c (ttyslot): Likewise.
45022         * misc/vhangup.c (vhangup): Likewise.
45023         * posix/fork.c (__fork): Likewise.
45024         * posix/getegid.c (__getegid): Likewise.
45025         * posix/geteuid.c (__geteuid): Likewise.
45026         * posix/getgid.c (__getgid): Likewise.
45027         * posix/getpid.c (__getpid): Likewise.
45028         * posix/getppid.c (__getppid): Likewise.
45029         * posix/getuid.c (__getuid): Likewise.
45030         * posix/pause.c (pause): Likewise.
45031         * posix/setpgrp.c (setpgrp): Likewise.
45032         * posix/setsid.c (__setsid): Likewise.
45033         * posix/test-vfork.c (noop): Likewise.
45034         * resolv/gethnamaddr.c (_endhtent): Likewise.
45035         (_gethtent): Likewise.
45036         (ht_endhostent): Likewise.
45037         (gethostent): Likewise.
45038         (dns_service): Likewise.
45039         * stdlib/drand48.c (drand48): Likewise.
45040         * stdlib/lrand48.c (lrand48): Likewise.
45041         * stdlib/mrand48.c (mrand48): Likewise.
45042         * stdlib/rand.c (rand): Likewise.
45043         * stdlib/random.c (__random): Likewise.
45044         * stdlib/setenv.c (clearenv): Likewise.
45045         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45046         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45047         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45048         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45049         (__get_nprocs): Likewise.
45050         (__get_phys_pages): Likewise.
45051         (__get_avphys_pages): Likewise.
45052         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45053         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45054         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45055         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45056         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45057         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45058         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45059         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45060         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45061         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45062         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45063         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45064         * sysdeps/posix/clock.c (clock): Likewise.
45065         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45066         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45067         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45068         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45069         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45071         (__get_nprocs_conf): Likewise.
45072         (__get_phys_pages): Likewise.
45073         (__get_avphys_pages): Likewise.
45074         * time/clock.c (clock): Likewise.
45075         * time/tzset.c (__tzname_max): Likewise.
45077 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45079         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45080         (__bswap_32): Do not use "register".
45081         * crypt/crypt.c (_ufc_doit_r): Likewise.
45082         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45083         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45084         * gmon/gmon.c (__monstartup): Likewise.
45085         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45086         * hurd/hurdmalloc.c (more_memory): Likewise.
45087         (malloc): Likewise.
45088         (free): Likewise.
45089         (realloc): Likewise.
45090         (malloc_fork_prepare): Likewise.
45091         (malloc_fork_parent): Likewise.
45092         (malloc_fork_child): Likewise.
45093         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45094         (_svcauth_des): Likewise.
45095         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45096         * inet/inet_net.c (inet_network): Likewise.
45097         * inet/inet_netof.c (inet_netof): Likewise.
45098         * inet/rcmd.c (__validuser2_sa): Likewise.
45099         * io/fts.c (fts_open): Likewise.
45100         (fts_load): Likewise.
45101         (fts_close): Likewise.
45102         (fts_read): Likewise.
45103         (fts_children): Likewise.
45104         (fts_build): Likewise.
45105         (fts_stat): Likewise.
45106         (fts_sort): Likewise.
45107         (fts_alloc): Likewise.
45108         (fts_lfree): Likewise.
45109         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45110         (_IO_file_xsgetn): Likewise.
45111         (_IO_file_xsgetn_mmap): Likewise.
45112         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45113         (_IO_cookie_write): Likewise.
45114         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45115         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45116         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45117         * malloc/obstack.c (_obstack_begin): Likewise.
45118         (_obstack_begin_1): Likewise.
45119         (_obstack_newchunk): Likewise.
45120         (_obstack_allocated_p): Likewise.
45121         (obstack_free): Likewise.
45122         (_obstack_memory_used): Likewise.
45123         * misc/getttyent.c (getttynam): Likewise.
45124         (getttyent): Likewise.
45125         (skip): Likewise.
45126         (value): Likewise.
45127         * misc/getusershell.c (initshells): Likewise.
45128         * misc/syslog.c (__vsyslog_chk): Likewise.
45129         * misc/ttyslot.c (ttyslot): Likewise.
45130         * nis/nis_hash.c (__nis_hash): Likewise.
45131         * posix/fnmatch_loop.c (FCT): Likewise.
45132         * posix/getconf.c (print_all): Likewise.
45133         (main): Likewise.
45134         * posix/getopt.c (exchange): Likewise.
45135         * posix/glob.c (globfree): Likewise.
45136         (prefix_array): Likewise.
45137         (__glob_pattern_type): Likewise.
45138         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45139         (NS_GET32): Likewise.
45140         (NS_PUT16): Likewise.
45141         (NS_PUT32): Likewise.
45142         * resolv/gethnamaddr.c (getanswer): Likewise.
45143         (gethostbyname2): Likewise.
45144         (gethostbyaddr): Likewise.
45145         (_gethtent): Likewise.
45146         (_gethtbyname2): Likewise.
45147         (_gethtbyaddr): Likewise.
45148         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45149         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45150         * resolv/res_init.c (__res_vinit): Likewise.
45151         (net_mask): Likewise.
45152         * resolv/res_mkquery.c (outchar): Likewise.
45153         (PRINT): Likewise.
45154         * stdio-common/printf_fp.c (outchar): Likewise.
45155         (PRINT): Likewise.
45156         * stdio-common/printf_fphex.c (outchar): Likewise.
45157         (PRINT): Likewise.
45158         * stdio-common/printf_size.c (outchar): Likewise.
45159         (PRINT): Likewise.
45160         * stdio-common/test_rdwr.c (main): Likewise.
45161         * stdio-common/tfformat.c (matches): Likewise.
45162         * stdio-common/vfprintf.c (outchar): Likewise.
45163         (printf_unknown): Likewise.
45164         (buffered_vfprintf): Likewise.
45165         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45166         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45167         (ReadFile): Likewise.
45168         * stdlib/qsort.c (SWAP): Likewise.
45169         (_quicksort): Likewise.
45170         * stdlib/setenv.c (__add_to_environ): Likewise.
45171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45172         * stdlib/strtol_l.c (__strtol_l): Likewise.
45173         * stdlib/tst-strtod.c (main): Likewise.
45174         * stdlib/tst-strtol.c (main): Likewise.
45175         * stdlib/tst-strtoll.c (main): Likewise.
45176         * string/bits/string2.h (__strcmp_cc): Likewise.
45177         (__strcmp_cg): Likewise.
45178         (__strcspn_c1): Likewise.
45179         (__strcspn_c2): Likewise.
45180         (__strcspn_c3): Likewise.
45181         (__strspn_c1): Likewise.
45182         (__strspn_c2): Likewise.
45183         (__strspn_c3): Likewise.
45184         (__strsep_1c): Likewise.
45185         (__strsep_2c): Likewise.
45186         (__strsep_3c): Likewise.
45187         * string/memccpy.c (__memccpy): Likewise.
45188         * string/stpcpy.c (__stpcpy): Likewise.
45189         * string/strcmp.c (strcmp): Likewise.
45190         * string/strrchr.c (strrchr): Likewise.
45191         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45192         Likewise.
45193         * sysdeps/mach/hurd/getcwd.c
45194         (_hurd_canonicalize_directory_name_internal): Likewise.
45195         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45196         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45197         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45198         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45199         Likewise, in both definitions.
45200         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45201         definitions.
45202         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45203         64] (__bswap_64): Likewise.
45204         * time/test_time.c (main): Likewise.
45205         * time/tzfile.c (__tzfile_read): Likewise.
45206         (__tzfile_compute): Likewise.
45207         * time/tzset.c (__tzset_parse_tz): Likewise.
45208         (tzset_internal): Likewise.
45209         (compute_change): Likewise.
45210         * wcsmbs/wcscat.c (__wcscat): Likewise.
45211         * wcsmbs/wcschr.c (wcschr): Likewise.
45212         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45213         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45214         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45215         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45216         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45217         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45218         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45219         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45220         * wcsmbs/wmemset.c (wmemset): Likewise.
45222 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45224         * scripts/config.guess: Update to version 2013-05-16.
45225         * scripts/config.sub: Update to version 2013-04-24.
45226         * scripts/install-sh: Update to version 2011-11-20.07.
45227         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45228         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45230 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45232         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45233         * elf/sln.c: Likewise.
45234         * hurd/hurd/ioctl.h: Likewise.
45235         * hurd/hurdmalloc.c: Likewise.
45236         * hurd/xattr.c: Likewise.
45237         * include/shlib-compat.h: Likewise.
45238         * inet/ruserpass.c: Likewise.
45239         * libio/iofgets_u.c: Likewise.
45240         * libio/iofgetws_u.c: Likewise.
45241         * locale/programs/ld-identification.c: Likewise.
45242         * locale/programs/ld-time.c: Likewise.
45243         * mach/msg-destroy.c: Likewise.
45244         * nss/nss_files/files-netgrp.c: Likewise.
45245         * resolv/res_data.c: Likewise.
45246         * soft-fp/op-1.h: Likewise.
45247         * soft-fp/op-2.h: Likewise.
45248         * soft-fp/op-4.h: Likewise.
45249         * soft-fp/op-common.h: Likewise.
45250         * stdio-common/printf_fphex.c: Likewise.
45251         * stdlib/strtod_l.c: Likewise.
45252         * sunrpc/rpc/clnt.h: Likewise.
45253         * sysdeps/generic/framestate.c: Likewise.
45254         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45255         * sysdeps/i386/bsd-setjmp.S: Likewise.
45256         * sysdeps/i386/__longjmp.S: Likewise.
45257         * sysdeps/i386/setjmp.S: Likewise.
45258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45259         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45260         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45261         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45263         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45265         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45266         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45267         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45268         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45269         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45270         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45271         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45272         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45273         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45274         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45275         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45276         * sysdeps/ieee754/support.c: Likewise.
45277         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45278         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45279         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45280         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45281         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45282         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45283         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45284         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45285         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45286         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45287         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45288         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45289         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45290         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45291         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45292         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45293         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45296 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45298         * posix/transbug.c: Remove executable mode.
45300 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45302         * crypt/speeds.c: Remove trailing whitespace.
45303         * dlfcn/default.c: Likewise.
45304         * elf/ifuncdep2.c: Likewise.
45305         * elf/ifuncmain1.c: Likewise.
45306         * elf/ifuncmain1vis.c: Likewise.
45307         * elf/testobj.h: Likewise.
45308         * elf/tst-stackguard1.c: Likewise.
45309         * gmon/sys/gmon.h: Likewise.
45310         * hurd/hurdmsg.c: Likewise.
45311         * hurd/new-fd.c: Likewise.
45312         * hurd/ports-get.c: Likewise.
45313         * iconvdata/ibm1008_420.c: Likewise.
45314         * inet/tst-getni1.c: Likewise.
45315         * inet/tst-getni2.c: Likewise.
45316         * libio/ioungetc.c: Likewise.
45317         * libio/wfiledoalloc.c: Likewise.
45318         * manual/libm-err-tab.pl: Likewise.
45319         * math/w_dremf.c: Likewise.
45320         * misc/ftruncate.c: Likewise.
45321         * posix/bug-glob2.c: Likewise.
45322         * posix/tst-pcre.c: Likewise.
45323         * posix/wait4.c: Likewise.
45324         * resolv/README: Likewise.
45325         * resolv/res_debug.h: Likewise.
45326         * resolv/tst-inet_ntop.c: Likewise.
45327         * setjmp/bug269-setjmp.c: Likewise.
45328         * soft-fp/extended.h: Likewise.
45329         * soft-fp/op-1.h: Likewise.
45330         * soft-fp/op-2.h: Likewise.
45331         * soft-fp/op-4.h: Likewise.
45332         * soft-fp/op-8.h: Likewise.
45333         * soft-fp/testit.c: Likewise.
45334         * stdio-common/bug16.c: Likewise.
45335         * stdlib/random.c: Likewise.
45336         * sunrpc/rpcsvc/rquota.x: Likewise.
45337         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45338         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45339         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45340         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45341         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45342         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45343         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45344         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45345         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45346         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45347         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45348         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45349         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45350         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45351         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45352         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45353         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45354         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45355         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45357         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45358         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45359         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45360         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45361         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45365         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45366         * sysdeps/ieee754/s_lib_version.c: Likewise.
45367         * sysdeps/mach/hurd/check_fds.c: Likewise.
45368         * sysdeps/mach/hurd/getsockname.c: Likewise.
45369         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45370         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45371         * sysdeps/powerpc/bits/link.h: Likewise.
45372         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45373         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45374         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45375         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45376         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45377         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45378         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45379         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45380         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45381         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45382         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45383         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45384         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45385         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45386         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45387         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45388         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45389         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45390         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45391         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45393         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45394         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45395         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45397         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45400         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45401         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45404         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45406         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45407         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45408         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45409         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45410         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45411         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45412         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45413         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45414         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45415         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45416         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45417         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45418         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45419         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45420         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45424         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45425         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45426         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45427         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45428         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45429         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45430         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45431         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45432         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45434         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45435         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45436         * sysdeps/powerpc/sysdep.h: Likewise.
45437         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45438         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45439         * sysdeps/sh/dl-trampoline.S: Likewise.
45440         * sysdeps/sh/memset.S: Likewise.
45441         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45442         * sysdeps/sh/strlen.S: Likewise.
45443         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45444         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45445         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45446         * sysdeps/sparc/sparc32/rem.S: Likewise.
45447         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45448         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45449         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45450         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45451         * sysdeps/sparc/sparc32/urem.S: Likewise.
45452         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45453         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45454         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45455         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45456         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45457         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45458         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45459         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45460         * sysdeps/unix/bsd/times.c: Likewise.
45461         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45462         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45466         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45467         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45468         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45469         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45470         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45471         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45472         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45473         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45474         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45475         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45476         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45477         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45478         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45479         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45480         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45481         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45482         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45483         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45484         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45485         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45486         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45487         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45488         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45489         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45490         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45491         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45492         * sysdeps/x86_64/strcspn.S: Likewise.
45494 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45496         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45497         generated file.  Regenerate properly from gen-translit.pl.
45498         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45499         locale/C-translit.h.
45501 2013-06-05  Andreas Schwab  <schwab@suse.de>
45503         [BZ #15100]
45504         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45505         week as 6 instead of -1.
45506         * time/tst-strptime.c (day_tests): Add test case.
45508 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45510         * sysdeps/generic/math_private.h
45511         (libc_feholdexcept_setround_53bit): Replace with
45512         libc_feholdsetround_53bit.
45513         (libc_feupdateenv_53bit): Replace with
45514         libc_feresetround_53bit.
45515         (SET_RESTORE_ROUND_53BIT): Adjust.
45517 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45519         * string/test-strchrnul.c: Add copyright header.
45521         * posix/tst-getaddrinfo4.c: Increase test timeout.
45523 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45525         [BZ #15536]
45526         * math/libm-test.inc (MAX_EXP): Remove
45527         (MIN_EXP): Define.
45528         (ulp): Use MIN_EXP - MANT_DIG.
45529         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45531 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45533         * po/be.po: Revert last change.
45534         * po/zh_CN.po: Likewise.
45535         * po/header.pot: Likewise.
45537 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45539         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45540         link-libc-deps to empty as target-specific variable.
45541         * Makerules (link-libc-args): New variable.
45542         (libc-for-link): Likewise.
45543         (link-libc-deps): Likewise.
45544         (lib%.so): Depend on $(link-libc-deps).  Link with
45545         $(link-libc-args).
45546         (build-module): Link with $(link-libc-args).
45547         (build-module-asneeded): Likewise.
45548         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45549         list of objects.
45550         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45551         target-specific variable.
45552         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45553         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45554         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45555         libc.
45556         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45557         libc and ld.so.
45558         ($(objpfx)libpcprofile.so): Likewise.
45559         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45560         libc_nonshared.a.
45561         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45562         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45563         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45564         $(link-libc-deps).
45565         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45566         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45567         * login/Makefile ($(objpfx)libutil.so): Likewise.
45568         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45569         * math/Makefile ($(objpfx)libm.so): Likewise.
45570         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45571         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45572         variable instead of depending directly on libc.
45573         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45574         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45575         $(link-libc-deps).
45576         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45577         libc.
45578         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45579         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45580         ($(objpfx)libanl.so): Likewise.
45581         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45582         ld.so.
45583         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45584         $(link-libc-deps).
45585         * sysdeps/i386/fpu/Makefile: Remove file.
45586         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45587         ($(objpfx)libm.so): Remove dependency on ld.so.
45589 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45591         [BZ # 15553]
45592         * nis/yp_xdr.c (XDRMAXNAME): Define.
45593         (XDRMAXRECORD): Define.
45594         (xdr_domainname): Use XDRMAXNAME.
45595         (xdr_mapname): Likewise.
45596         (xdr_peername): Likewise.
45597         (xdr_keydat): Use XDRMAXRECORD.
45598         (xdr_valdat): Likewise.
45600 2013-05-30  Jeff Law  <law@redhat.com>
45602         [BZ #14256]
45603         * manual/errno.texi (ESTALE): Update to account for more than
45604         just NFS file systems.
45605         * sysdeps/gnu/errlist.c: Regenerated.
45607 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45609         [BZ #15465]
45610         * elf/Makefile (tests): Add tst-null-argv.
45611         (modules-names):  Add tst-null-argv-lib.
45612         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45613         (tst-null-argv-ENV): Set environment for tst-null-argv.
45614         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45615         (RTLD_PROGNAME): New macro.
45616         * elf/tst-null-argv.c: New test case.
45617         * elf/tst-null-argv-lib.c: Library for test case.
45618         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45619         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45620         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45621         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45622         * elf/dl-init.c (call_init): Likewise.
45623         (_dl_init): Likewise.
45624         * elf/dl-load.c (print_search_path): Likewise.
45625         (_dl_map_object): Likewise.
45626         * elf/dl-lookup.c (do_lookup_x): Likewise.
45627         (add_dependency): Likewise.
45628         (_dl_lookup_symbol_x): Likewise.
45629         (_dl_debug_bindings): Likewise.
45630         * elf/dl-open.c (_dl_show_scope): Likewise.
45631         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45632         * elf/dl-version.c (match_symbol): Likewise.
45633         (_dl_check_map_versions): Likewise.
45634         * elf/rtld.c (dl_main): Likewise.
45635         (print_unresolved): Use RTLD_PROGNAME.
45636         (print_missing_version): Likewise.
45637         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45638         (elf_machine_rela): Likewise.
45639         * sysdeps/powerpc/powerpc32/dl-machine.c
45640         (__process_machine_rela): Likewise.
45641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45642         Likewise.
45643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45644         Likewise.
45645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45646         Likewise.
45647         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45648         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45649         Likewise.
45650         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45651         Likewise.
45652         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45654 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45656         * po/be.po: Add descriptive title.
45657         * po/zh_CN.po: Likewise.
45658         * po/header.pot: Likewise.
45660 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45662         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45663         error message.
45664         (enlarge_archive): Likewise.
45666 2013-05-28  Ben North  <ben@redfrontdoor.org>
45668         * manual/arith.texi (frexp): It is the magnitude of the return
45669         value which lies in [0.5, 1), not the return value itself.
45671 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45675 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45677         * stdio-common/bug26.c (main): Correct fscanf template.
45679         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45680         declare _dl_skip_args.
45682         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45683         Don't declare.
45685         * manual/platform.texi: Add missing @end deftypefun.
45687 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45689         [BZ #15529]
45690         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45691         bit of mantissa of 2^16382.
45692         * math/libm-test.inc (hypot_test_data): Add more tests.
45694         * math/libm-test.inc: Add drem and pow10 to list of tested
45695         functions.
45696         (pow10_test): New function.
45697         (drem_test): Likewise.
45698         (drem_test_tonearest): Likewise.
45699         (drem_test_towardzero): Likewise.
45700         (drem_test_downward): Likewise.
45701         (drem_test_upward): Likewise.
45702         (main): Call the new functions.
45704         * math/libm-test.inc (finite_test_data): Remove.
45705         (finite_test): Run tests from isfinite_test_data.
45706         (gamma_test_data): Remove.
45707         (gamma_test): Run tests from lgamma_test_data.
45708         * sysdeps/i386/fpu/libm-test-ulps: Update.
45709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45711 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45713         * manual/platform.texi: Add PowerPC PPR function set documentation.
45714         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45715         implementation.
45717 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45719         * math/libm-test.inc (MAX_EXP): Define.
45720         (ULPDIFF): Define.
45721         (ulp): New function.
45722         (check_float_internal): Use ULPDIFF.
45723         (cpow_test): Disable failing test.
45724         (check_ulp): Test ulp() implemetnation.
45725         (main): Call check_ulp before starting tests.
45727 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45729         * math/gen-libm-test.pl (generate_testfile): Do not handle
45730         START_DATA and END_DATA.
45731         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45732         END_DATA.
45733         (acos_tonearest_test_data): Likewise.
45734         (acos_towardzero_test_data): Likewise.
45735         (acos_downward_test_data): Likewise.
45736         (acos_upward_test_data): Likewise.
45737         (acosh_test_data): Likewise.
45738         (asin_test_data): Likewise.
45739         (asin_tonearest_test_data): Likewise.
45740         (asin_towardzero_test_data): Likewise.
45741         (asin_downward_test_data): Likewise.
45742         (asin_upward_test_data): Likewise.
45743         (asinh_test_data): Likewise.
45744         (atan_test_data): Likewise.
45745         (atanh_test_data): Likewise.
45746         (atan2_test_data): Likewise.
45747         (cabs_test_data): Likewise.
45748         (cacos_test_data): Likewise.
45749         (cacosh_test_data): Likewise.
45750         (carg_test_data): Likewise.
45751         (casin_test_data): Likewise.
45752         (casinh_test_data): Likewise.
45753         (catan_test_data): Likewise.
45754         (catanh_test_data): Likewise.
45755         (cbrt_test_data): Likewise.
45756         (ccos_test_data): Likewise.
45757         (ccosh_test_data): Likewise.
45758         (ceil_test_data): Likewise.
45759         (cexp_test_data): Likewise.
45760         (cimag_test_data): Likewise.
45761         (clog_test_data): Likewise.
45762         (clog10_test_data): Likewise.
45763         (conj_test_data): Likewise.
45764         (copysign_test_data): Likewise.
45765         (cos_test_data): Likewise.
45766         (cos_tonearest_test_data): Likewise.
45767         (cos_towardzero_test_data): Likewise.
45768         (cos_downward_test_data): Likewise.
45769         (cos_upward_test_data): Likewise.
45770         (cosh_test_data): Likewise.
45771         (cosh_tonearest_test_data): Likewise.
45772         (cosh_towardzero_test_data): Likewise.
45773         (cosh_downward_test_data): Likewise.
45774         (cosh_upward_test_data): Likewise.
45775         (cpow_test_data): Likewise.
45776         (cproj_test_data): Likewise.
45777         (creal_test_data): Likewise.
45778         (csin_test_data): Likewise.
45779         (csinh_test_data): Likewise.
45780         (csqrt_test_data): Likewise.
45781         (ctan_test_data): Likewise.
45782         (ctan_tonearest_test_data): Likewise.
45783         (ctan_towardzero_test_data): Likewise.
45784         (ctan_downward_test_data): Likewise.
45785         (ctan_upward_test_data): Likewise.
45786         (ctanh_test_data): Likewise.
45787         (ctanh_tonearest_test_data): Likewise.
45788         (ctanh_towardzero_test_data): Likewise.
45789         (ctanh_downward_test_data): Likewise.
45790         (ctanh_upward_test_data): Likewise.
45791         (erf_test_data): Likewise.
45792         (erfc_test_data): Likewise.
45793         (exp_test_data): Likewise.
45794         (exp_tonearest_test_data): Likewise.
45795         (exp_towardzero_test_data): Likewise.
45796         (exp_downward_test_data): Likewise.
45797         (exp_upward_test_data): Likewise.
45798         (exp10_test_data): Likewise.
45799         (exp2_test_data): Likewise.
45800         (expm1_test_data): Likewise.
45801         (fabs_test_data): Likewise.
45802         (fdim_test_data): Likewise.
45803         (finite_test_data): Likewise.
45804         (floor_test_data): Likewise.
45805         (fma_test_data): Likewise.
45806         (fma_towardzero_test_data): Likewise.
45807         (fma_downward_test_data): Likewise.
45808         (fma_upward_test_data): Likewise.
45809         (fmax_test_data): Likewise.
45810         (fmin_test_data): Likewise.
45811         (fmod_test_data): Likewise.
45812         (fpclassify_test_data): Likewise.
45813         (frexp_test_data): Likewise.
45814         (gamma_test_data): Likewise.
45815         (hypot_test_data): Likewise.
45816         (ilogb_test_data): Likewise.
45817         (isfinite_test_data): Likewise.
45818         (isgreater_test_data): Likewise.
45819         (isgreaterequal_test_data): Likewise.
45820         (isinf_test_data): Likewise.
45821         (isless_test_data): Likewise.
45822         (islessequal_test_data): Likewise.
45823         (islessgreater_test_data): Likewise.
45824         (isnan_test_data): Likewise.
45825         (isnormal_test_data): Likewise.
45826         (issignaling_test_data): Likewise.
45827         (isunordered_test_data): Likewise.
45828         (j0_test_data): Likewise.
45829         (j1_test_data): Likewise.
45830         (jn_test_data): Likewise.
45831         (ldexp_test_data): Likewise.
45832         (lgamma_test_data): Likewise.
45833         (lrint_test_data): Likewise.
45834         (lrint_tonearest_test_data): Likewise.
45835         (lrint_towardzero_test_data): Likewise.
45836         (lrint_downward_test_data): Likewise.
45837         (lrint_upward_test_data): Likewise.
45838         (llrint_test_data): Likewise.
45839         (llrint_tonearest_test_data): Likewise.
45840         (llrint_towardzero_test_data): Likewise.
45841         (llrint_downward_test_data): Likewise.
45842         (llrint_upward_test_data): Likewise.
45843         (log_test_data): Likewise.
45844         (log10_test_data): Likewise.
45845         (log1p_test_data): Likewise.
45846         (log2_test_data): Likewise.
45847         (logb_test_data): Likewise.
45848         (logb_downward_test_data): Likewise.
45849         (lround_test_data): Likewise.
45850         (llround_test_data): Likewise.
45851         (modf_test_data): Likewise.
45852         (nearbyint_test_data): Likewise.
45853         (nextafter_test_data): Likewise.
45854         (nexttoward_test_data): Likewise.
45855         (pow_test_data): Likewise.
45856         (pow_tonearest_test_data): Likewise.
45857         (pow_towardzero_test_data): Likewise.
45858         (pow_downward_test_data): Likewise.
45859         (pow_upward_test_data): Likewise.
45860         (remainder_test_data): Likewise.
45861         (remainder_tonearest_test_data): Likewise.
45862         (remainder_towardzero_test_data): Likewise.
45863         (remainder_downward_test_data): Likewise.
45864         (remainder_upward_test_data): Likewise.
45865         (remquo_test_data): Likewise.
45866         (rint_test_data): Likewise.
45867         (rint_tonearest_test_data): Likewise.
45868         (rint_towardzero_test_data): Likewise.
45869         (rint_downward_test_data): Likewise.
45870         (rint_upward_test_data): Likewise.
45871         (round_test_data): Likewise.
45872         (scalb_test_data): Likewise.
45873         (scalbn_test_data): Likewise.
45874         (scalbln_test_data): Likewise.
45875         (signbit_test_data): Likewise.
45876         (sin_test_data): Likewise.
45877         (sin_tonearest_test_data): Likewise.
45878         (sin_towardzero_test_data): Likewise.
45879         (sin_downward_test_data): Likewise.
45880         (sin_upward_test_data): Likewise.
45881         (sincos_test_data): Likewise.
45882         (sinh_test_data): Likewise.
45883         (sinh_tonearest_test_data): Likewise.
45884         (sinh_towardzero_test_data): Likewise.
45885         (sinh_downward_test_data): Likewise.
45886         (sinh_upward_test_data): Likewise.
45887         (sqrt_test_data): Likewise.
45888         (tan_test_data): Likewise.
45889         (tan_tonearest_test_data): Likewise.
45890         (tan_towardzero_test_data): Likewise.
45891         (tan_downward_test_data): Likewise.
45892         (tan_upward_test_data): Likewise.
45893         (tanh_test_data): Likewise.
45894         (tgamma_test_data): Likewise.
45895         (trunc_test_data): Likewise.
45896         (y0_test_data): Likewise.
45897         (y1_test_data): Likewise.
45898         (yn_test_data): Likewise.
45899         (significand_test_data): Likewise.
45901         * math/gen-libm-test.pl (@functions): Remove variable.
45902         (generate_testfile): Don't handle START and END lines.
45903         * math/libm-test.inc (START): New macro.
45904         (END): Likewise.
45905         (END_COMPLEX): Likewise.
45906         (acos_test): Use END macro without arguments.
45907         (acos_test_tonearest): Likewise.
45908         (acos_test_towardzero): Likewise.
45909         (acos_test_downward): Likewise.
45910         (acos_test_upward): Likewise.
45911         (acosh_test): Likewise.
45912         (asin_test): Likewise.
45913         (asin_test_tonearest): Likewise.
45914         (asin_test_towardzero): Likewise.
45915         (asin_test_downward): Likewise.
45916         (asin_test_upward): Likewise.
45917         (asinh_test): Likewise.
45918         (atan_test): Likewise.
45919         (atanh_test): Likewise.
45920         (atan2_test): Likewise.
45921         (cabs_test): Likewise.
45922         (cacos_test): Use END_COMPLEX macro without arguments.
45923         (cacosh_test): Likewise.
45924         (carg_test): Use END macro without arguments.
45925         (casin_test): Use END_COMPLEX macro without arguments.
45926         (casinh_test): Likewise.
45927         (catan_test): Likewise.
45928         (catanh_test): Likewise.
45929         (cbrt_test): Use END macro without arguments.
45930         (ccos_test): Use END_COMPLEX macro without arguments.
45931         (ccosh_test): Likewise.
45932         (ceil_test): Use END macro without arguments.
45933         (cexp_test): Use END_COMPLEX macro without arguments.
45934         (cimag_test): Use END macro without arguments.
45935         (clog_test): Use END_COMPLEX macro without arguments.
45936         (clog10_test): Likewise.
45937         (conj_test): Likewise.
45938         (copysign_test): Use END macro without arguments.
45939         (cos_test): Likewise.
45940         (cos_test_tonearest): Likewise.
45941         (cos_test_towardzero): Likewise.
45942         (cos_test_downward): Likewise.
45943         (cos_test_upward): Likewise.
45944         (cosh_test): Likewise.
45945         (cosh_test_tonearest): Likewise.
45946         (cosh_test_towardzero): Likewise.
45947         (cosh_test_downward): Likewise.
45948         (cosh_test_upward): Likewise.
45949         (cpow_test): Use END_COMPLEX macro without arguments.
45950         (cproj_test): Likewise.
45951         (creal_test): Use END macro without arguments.
45952         (csin_test): Use END_COMPLEX macro without arguments.
45953         (csinh_test): Likewise.
45954         (csqrt_test): Likewise.
45955         (ctan_test): Likewise.
45956         (ctan_test_tonearest): Likewise.
45957         (ctan_test_towardzero): Likewise.
45958         (ctan_test_downward): Likewise.
45959         (ctan_test_upward): Likewise.
45960         (ctanh_test): Likewise.
45961         (ctanh_test_tonearest): Likewise.
45962         (ctanh_test_towardzero): Likewise.
45963         (ctanh_test_downward): Likewise.
45964         (ctanh_test_upward): Likewise.
45965         (erf_test): Use END macro without arguments.
45966         (erfc_test): Likewise.
45967         (exp_test): Likewise.
45968         (exp_test_tonearest): Likewise.
45969         (exp_test_towardzero): Likewise.
45970         (exp_test_downward): Likewise.
45971         (exp_test_upward): Likewise.
45972         (exp10_test): Likewise.
45973         (exp2_test): Likewise.
45974         (expm1_test): Likewise.
45975         (fabs_test): Likewise.
45976         (fdim_test): Likewise.
45977         (finite_test): Likewise.
45978         (floor_test): Likewise.
45979         (fma_test): Likewise.
45980         (fma_test_towardzero): Likewise.
45981         (fma_test_downward): Likewise.
45982         (fma_test_upward): Likewise.
45983         (fmax_test): Likewise.
45984         (fmin_test): Likewise.
45985         (fmod_test): Likewise.
45986         (fpclassify_test): Likewise.
45987         (frexp_test): Likewise.
45988         (gamma_test): Likewise.
45989         (hypot_test): Likewise.
45990         (ilogb_test): Likewise.
45991         (isfinite_test): Likewise.
45992         (isgreater_test): Likewise.
45993         (isgreaterequal_test): Likewise.
45994         (isinf_test): Likewise.
45995         (isless_test): Likewise.
45996         (islessequal_test): Likewise.
45997         (islessgreater_test): Likewise.
45998         (isnan_test): Likewise.
45999         (isnormal_test): Likewise.
46000         (issignaling_test): Likewise.
46001         (isunordered_test): Likewise.
46002         (j0_test): Likewise.
46003         (j1_test): Likewise.
46004         (jn_test): Likewise.
46005         (ldexp_test): Likewise.
46006         (lgamma_test): Likewise.
46007         (lrint_test): Likewise.
46008         (lrint_test_tonearest): Likewise.
46009         (lrint_test_towardzero): Likewise.
46010         (lrint_test_downward): Likewise.
46011         (lrint_test_upward): Likewise.
46012         (llrint_test): Likewise.
46013         (llrint_test_tonearest): Likewise.
46014         (llrint_test_towardzero): Likewise.
46015         (llrint_test_downward): Likewise.
46016         (llrint_test_upward): Likewise.
46017         (log_test): Likewise.
46018         (log10_test): Likewise.
46019         (log1p_test): Likewise.
46020         (log2_test): Likewise.
46021         (logb_test): Likewise.
46022         (logb_test_downward): Likewise.
46023         (lround_test): Likewise.
46024         (llround_test): Likewise.
46025         (modf_test): Likewise.
46026         (nearbyint_test): Likewise.
46027         (nextafter_test): Likewise.
46028         (nexttoward_test): Likewise.
46029         (pow_test): Likewise.
46030         (pow_test_tonearest): Likewise.
46031         (pow_test_towardzero): Likewise.
46032         (pow_test_downward): Likewise.
46033         (pow_test_upward): Likewise.
46034         (remainder_test): Likewise.
46035         (remainder_test_tonearest): Likewise.
46036         (remainder_test_towardzero): Likewise.
46037         (remainder_test_downward): Likewise.
46038         (remainder_test_upward): Likewise.
46039         (remquo_test): Likewise.
46040         (rint_test): Likewise.
46041         (rint_test_tonearest): Likewise.
46042         (rint_test_towardzero): Likewise.
46043         (rint_test_downward): Likewise.
46044         (rint_test_upward): Likewise.
46045         (round_test): Likewise.
46046         (scalb_test): Likewise.
46047         (scalbn_test): Likewise.
46048         (scalbln_test): Likewise.
46049         (signbit_test): Likewise.
46050         (sin_test): Likewise.
46051         (sin_test_tonearest): Likewise.
46052         (sin_test_towardzero): Likewise.
46053         (sin_test_downward): Likewise.
46054         (sin_test_upward): Likewise.
46055         (sincos_test): Likewise.
46056         (sinh_test): Likewise.
46057         (sinh_test_tonearest): Likewise.
46058         (sinh_test_towardzero): Likewise.
46059         (sinh_test_downward): Likewise.
46060         (sinh_test_upward): Likewise.
46061         (sqrt_test): Likewise.
46062         (tan_test): Likewise.
46063         (tan_test_tonearest): Likewise.
46064         (tan_test_towardzero): Likewise.
46065         (tan_test_downward): Likewise.
46066         (tan_test_upward): Likewise.
46067         (tanh_test): Likewise.
46068         (tgamma_test): Likewise.
46069         (trunc_test): Likewise.
46070         (y0_test): Likewise.
46071         (y1_test): Likewise.
46072         (yn_test): Likewise.
46073         (significand_test): Likewise.
46075 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46077         [BZ #15381]
46078         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46080 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46082         [BZ #14894]
46083         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46084         __ppc_mdoio and __ppc_mdoom.
46085         * manual/platform.texi: Document new functions __ppc_yield,
46086         __ppc_mdoio and __ppc_mdoom.
46088 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46090         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46091         (main): Mention "tls" pseudo-hwcap is legacy.
46092         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46094 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46096         * math/gen-libm-test.pl (parse_args): Output only string of
46097         arguments as text for test name, not full call or descriptions of
46098         tests for extra outputs.
46099         (generate_testfile): Do not pass function name to parse_args.
46100         Generate this_func variable from START.
46101         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46102         field to arg_str.
46103         (struct test_ff_f_data): Likewise.
46104         (test_ff_f_data_nexttoward): Likewise.
46105         (struct test_fi_f_data): Likewise.
46106         (struct test_fl_f_data): Likewise.
46107         (struct test_if_f_data): Likewise.
46108         (struct test_fff_f_data): Likewise.
46109         (struct test_c_f_data): Likewise.
46110         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46111         (struct test_fF_f1_data): Likewise.
46112         (struct test_ffI_f1_data): Likewise.
46113         (struct test_c_c_data): Rename test_name field to arg_str.
46114         (struct test_cc_c_data): Likewise.
46115         (struct test_f_i_data): Likewise.
46116         (struct test_ff_i_data): Likewise.
46117         (struct test_f_l_data): Likewise.
46118         (struct test_f_L_data): Likewise.
46119         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46120         and extra2_name.
46121         (COMMON_TEST_SETUP): New macro.
46122         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46123         (COMMON_TEST_CLEANUP): Likewise.
46124         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46125         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46126         macros.
46127         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46128         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46129         macros.
46130         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46131         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46132         cleanup macros.
46133         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46134         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46135         macros.
46136         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46137         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46138         macros.
46139         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46140         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46141         cleanup macros.
46142         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46143         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46144         cleanup macros.
46145         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46146         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46147         cleanup macros.
46148         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46149         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46150         macros.
46151         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46152         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46153         macros.
46154         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46155         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46156         macros.
46157         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46158         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46159         cleanup macros.
46160         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46161         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46162         cleanup macros.
46163         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46164         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46165         macros.
46166         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46167         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46168         cleanup macros.
46169         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46170         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46171         macros.
46172         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46173         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46174         macros.
46175         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46176         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46177         cleanup macros.
46178         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46180 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46182         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46183         to _sifields.sigfault.
46184         (si_addr_lsb): Define new macro.
46185         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46187         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46189 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46191         [BZ #15441]
46192         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46193         returns -1.
46194         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46195         null return -1.
46196         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46197         loading the domain.
46199 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46201         * math/gen-libm-test.pl (parse_args): Do not include expected
46202         result in test name.
46203         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46205         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46206         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46207         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46210 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46212         * benchtests/Makefile: Sort function entries.
46214         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46215         tanh, asinh, acosh, atanh.
46216         * benchtests/acos-inputs: New file.
46217         * benchtests/acosh-inputs: New file.
46218         * benchtests/asin-inputs: New file.
46219         * benchtests/asinh-inputs: New file.
46220         * benchtests/atanh-inputs: New file.
46221         * benchtests/cosh-inputs: New file.
46222         * benchtests/log-inputs: New file.
46223         * benchtests/sinh-inputs: New file.
46224         * benchtests/tanh-inputs: New file.
46226 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46228         [BZ #15339]
46229         * posix/tst-getaddrinfo4.c: New test.
46230         * posix/Makefile (tests): Add it.
46232 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46234         [BZ #15339]
46235         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46236         when no services were used.
46237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46238         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46240 2013-05-21  Andreas Schwab  <schwab@suse.de>
46242         [BZ #15014]
46243         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46244         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46245         successful.
46246         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46247         redundant variable declarations and reallocation of buffer when
46248         parsing as IPv6 address.  Always set NSS status when called from
46249         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46250         buffer too small.  Correct computation of needed size.
46251         * nss/Makefile (tests): Add test-digits-dots.
46252         * nss/test-digits-dots.c: New test.
46254 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46256         * benchtests/Makefile: Remove instructions for adding
46257         benchmark tests.
46258         * benchtests/README: New file to explain how to execute and
46259         enhance the benchmark tests.
46261 2013-05-21  Andreas Schwab  <schwab@suse.de>
46263         [BZ #15493]
46264         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46265         * setjmp/tst-sigsetjmp.c: New test.
46267 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46269         * sysdeps/x86_64/memset.S (memset): New implementation.
46270         (__bzero): Likewise.
46271         (__memset_tail): New function.
46273 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46275         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46276         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46277         __memcpy_sse2_unaligned ifunc selection.
46278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46279         Add memcpy-sse2-unaligned.S.
46280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46281         Add: __memcpy_sse2_unaligned.
46283 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46285         [BZ #15490]
46286         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46287         math_force_eval before restoring floating-point envrionment.
46288         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46290         Likewise.
46291         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46292         <math_private.h>.
46293         (__nearbyintl): Use math_force_eval before restoring
46294         floating-point environment.
46295         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46297         * math/gen-libm-test.pl (special_functions): Remove.
46298         (parse_args): Don't handle TEST_extra.  Handle functions with no
46299         return value.
46300         * math/libm-test.inc (struct test_sincos_data): Replace with
46301         struct test_fFF_11_data.
46302         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46303         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46304         (sincos_test_data): Change element type to struct
46305         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46306         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46307         RUN_TEST_LOOP_sincos.
46308         * math/README.libm-test: Don't mention special handling of
46309         individual functions.
46310         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46311         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46312         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46313         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46314         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46317         * math/gen-libm-test.pl (get_variable): Remove function.
46318         (parse_args): Don't show pointer parameters to call in test
46319         names.  Use "extra output N" in test names for extra outputs
46320         rather than naming variables.
46322 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46324         [BZ #15488]
46325         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46326         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46327         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46328         double tests.
46329         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46330         disable.
46331         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46332         check_long_double.
46334         * math/gen-libm-test.pl (@tests): Remove variable.
46335         ($count): Likewise.
46336         (new_test): Remove function.
46337         (show_exceptions): New function.
46338         (special_functions): Use show_exceptions instead of new_test.
46339         (parse_args): Likewise.
46340         (generate_testfile): Pass only function name in generated call to
46341         print_max_error or print_complex_max_error.
46342         (get_ulps): Do not handle complex tests specially.
46343         (output_test): Rename to ...
46344         (get_all_ulps_for_test): ... this.  Return a string rather than
46345         printing to a file.  Require ulps to be present.
46346         (output_ulps): Generate arrays rather than #defines.
46347         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46348         (struct ulp_data): New type.
46349         (BUILD_COMPLEX_ULP): Remove macro.
46350         (compare_ulp_data): New function.
46351         (find_ulps): Likewise.
46352         (find_test_ulps): Likewise.
46353         (find_function_ulps): Likewise.
46354         (find_complex_function_ulps): Likewise.
46355         (print_max_error): Determine allowed ulps using
46356         find_function_ulps.
46357         (print_complex_max_error): Determine allowed ulps using
46358         find_complex_function_ulps.
46359         (check_float_internal): Determine max ulps using find_test_ulps.
46360         (check_float): Do not take max_ulp parameter.  Update call to
46361         check_float_internal.
46362         (check_complex): Likewise.
46363         (check_int): Do not take max_ulp parameter.
46364         (check_long): Likewise.
46365         (check_bool): Likewise.
46366         (check_longlong): Likewise.
46367         (struct test_f_f_data): Remove max_ulp field.
46368         (struct test_ff_f_data): Likewise.
46369         (struct test_ff_f_data_nexttoward): Likewise.
46370         (struct test_fi_f_data): Likewise.
46371         (struct test_fl_f_data): Likewise.
46372         (struct test_if_f_data): Likewise.
46373         (struct test_fff_f_data): Likewise.
46374         (struct test_c_f_data): Likewise.
46375         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46376         (struct test_fF_f1_data): Likewise.
46377         (struct test_ffI_f1_data): Likewise.
46378         (struct test_c_c_data): Remove max_ulp field.
46379         (struct test_cc_c_data): Likewise.
46380         (struct test_f_i_data): Likewise.
46381         (struct test_ff_i_data): Likewise.
46382         (struct test_f_l_data): Likewise.
46383         (struct test_f_L_data): Likewise.
46384         (struct test_sincos_data): Likewise.
46385         (RUN_TEST_f_f): Do not handle ulps.
46386         (RUN_TEST_LOOP_f_f): Likewise.
46387         (RUN_TEST_2_f): Likewise.
46388         (RUN_TEST_LOOP_2_f): Likewise.
46389         (RUN_TEST_fff_f): Likewise.
46390         (RUN_TEST_LOOP_fff_f): Likewise.
46391         (RUN_TEST_c_f): Likewise.
46392         (RUN_TEST_LOOP_c_f): Likewise.
46393         (RUN_TEST_f_f1): Likewise.
46394         (RUN_TEST_LOOP_f_f1): Likewise.
46395         (RUN_TEST_fF_f1): Likewise.
46396         (RUN_TEST_LOOP_fF_f1): Likewise.
46397         (RUN_TEST_fI_f1): Likewise.
46398         (RUN_TEST_LOOP_fI_f1): Likewise.
46399         (RUN_TEST_ffI_f1): Likewise.
46400         (RUN_TEST_LOOP_ffI_f1): Likewise.
46401         (RUN_TEST_c_c): Likewise.
46402         (RUN_TEST_LOOP_c_c): Likewise.
46403         (RUN_TEST_cc_c): Likewise.
46404         (RUN_TEST_LOOP_cc_c): Likewise.
46405         (RUN_TEST_f_i): Likewise.
46406         (RUN_TEST_LOOP_f_i): Likewise.
46407         (RUN_TEST_f_i_tg): Likewise.
46408         (RUN_TEST_LOOP_f_i_tg): Likewise.
46409         (RUN_TEST_ff_i_tg): Likewise.
46410         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46411         (RUN_TEST_f_b): Likewise.
46412         (RUN_TEST_LOOP_f_b): Likewise.
46413         (RUN_TEST_f_b_tg): Likewise.
46414         (RUN_TEST_LOOP_f_b_tg): Likewise.
46415         (RUN_TEST_f_l): Likewise.
46416         (RUN_TEST_LOOP_f_l): Likewise.
46417         (RUN_TEST_f_L): Likewise.
46418         (RUN_TEST_LOOP_f_L): Likewise.
46419         (RUN_TEST_sincos): Likewise.
46420         (RUN_TEST_LOOP_sincos): Likewise.
46422 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46424         [BZ #15480]
46425         [BZ #15485]
46426         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46427         main case of finite arguments, set rounding mode to FE_TONEAREST
46428         and discard exceptions.
46429         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46430         exceptions.
46431         (remainder_tonearest_test_data): New variable.
46432         (remainder_test_tonearest): New function.
46433         (remainder_towardzero_test_data): New variable.
46434         (remainder_test_towardzero): New function.
46435         (remainder_downward_test_data): New variable.
46436         (remainder_test_downward): New function.
46437         (remainder_upward_test_data): New variable.
46438         (remainder_test_upward): New function.
46439         (main): Call the new test functions.
46441         * math/libm-test.inc (struct test_f_f1_data): Remove field
46442         extra_init.
46443         (struct test_fF_f1_data): Likewise.
46444         (struct test_ffI_f1_data): Likewise.
46445         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46446         based on value of EXTRA_EXPECTED.
46447         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46448         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46449         EXTRA_VAR based on value of EXTRA_EXPECTED.
46450         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46451         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46452         EXTRA_VAR based on value of EXTRA_EXPECTED.
46453         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46454         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46455         EXTRA_VAR based on value of EXTRA_EXPECTED.
46456         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46457         * math/gen-libm-test.pl (parse_args): Don't output initializers
46458         for extra output values.
46460         * math/libm-test.inc (check_int): Expect result to be exactly
46461         equal to expected value and do not handle ulps.
46462         (check_long): Likewise.
46463         (check_longlong): Likewise.
46465         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46466         exceptions.
46467         (cimag_test_data): Likewise.
46468         (conj_test_data): Likewise.
46469         (copysign_test_data): Likewise.
46470         (cproj_test_data): Likewise.
46471         (creal_test_data): Likewise.
46472         (fabs_test_data): Likewise.
46473         (fdim_test_data): Likewise.
46474         (finite_test_data): Likewise.
46475         (floor_test_data): Likewise.
46476         (fmax_test_data): Likewise.
46477         (fmin_test_data): Likewise.
46478         (fmod_test_data): Likewise.
46479         (fpclassify_test_data): Likewise.
46480         (frexp_test_data): Likewise.
46481         (ilogb_test_data): Likewise.
46482         (isfinite_test_data): Likewise.
46483         (isgreater_test_data): Likewise.
46484         (isgreaterequal_test_data): Likewise.
46485         (isinf_test_data): Likewise.
46486         (isless_test_data): Likewise.
46487         (islessequal_test_data): Likewise.
46488         (islessgreater_test_data): Likewise.
46489         (isnan_test_data): Likewise.
46490         (isnormal_test_data): Likewise.
46491         (issignaling_test_data): Likewise.
46492         (isunordered_test_data): Likewise.
46493         (ldexp_test_data): Likewise.
46494         (lrint_test_data): Likewise.
46495         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46496         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46497         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46498         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46499         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46500         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46501         test input.
46502         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46503         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46504         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46505         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46506         that test input.
46507         (lrint_downward_test_data): Test for "inexact" exceptions.
46508         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46509         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46510         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46511         test input.
46512         (lrint_upward_test_data): Test for "inexact" exceptions.
46513         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46514         test input.
46515         (llrint_test_data): Test for "inexact" exceptions.
46516         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46517         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46518         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46519         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46520         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46521         (llrint_downward_test_data): Test for "inexact" exceptions.
46522         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46523         (llrint_upward_test_data): Test for "inexact" exceptions.
46524         (logb_test_data): Likewise.
46525         (logb_downward_test_data): Likewise.
46526         (nextafter_test_data): Likewise.
46527         (nexttoward_test_data): Likewise.
46528         (remainder_test_data): Likewise.
46529         (remquo_test_data): Likewise.
46530         (scalbn_test_data): Likewise.
46531         (scalbln_test_data): Likewise.
46532         (signbit_test_data): Likewise.
46533         (sqrt_test_data): Likewise.
46534         (significand_test_data): Likewise.
46536 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46538         [BZ #15424]
46539         * benchtests/bench-modf.c (struct args): Mark arg0 as
46540         volatile.
46541         * scripts/bench.pl: Mark members of struct args as volatile.
46543 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46545         [BZ # 15497]
46546         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46547         negative infinity on POWER6 or lower.
46548         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46550 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46552         [BZ #15442]
46553         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46554         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46555         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46556         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46557         (_FP_SETQNAN): New macro.
46558         (_FP_SETQNAN_SEMIRAW): Likewise.
46559         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46560         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46561         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46562         (FP_EXTEND): Use _FP_FRAC_SNANP.
46563         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46564         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46565         into account.
46566         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46567         New macro.
46568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46569         Likewise.
46571 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46573         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46574         with DIVIDE_BY_ZERO_EXCEPTION.
46575         (gamma_test_data): Likewise.
46576         (lgamma_test_data): Likewise.
46577         (log_test_data): Likewise.
46578         (log10_test_data): Likewise.
46579         (log2_test_data): Likewise.
46580         (tgamma_test_data): Likewise.
46582         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46583         (acos_test_tonearest): Likewise.
46584         (acos_test_towardzero): Likewise.
46585         (acos_test_downward): Likewise.
46586         (acos_test_upward): Likewise.
46587         (acosh_test): Likewise.
46588         (asin_test): Likewise.
46589         (asin_test_tonearest): Likewise.
46590         (asin_test_towardzero): Likewise.
46591         (asin_test_downward): Likewise.
46592         (asin_test_upward): Likewise.
46593         (asinh_test): Likewise.
46594         (atan_test): Likewise.
46595         (atanh_test): Likewise.
46596         (atan2_test): Likewise.
46597         (cabs_test): Likewise.
46598         (cacos_test): Likewise.
46599         (cacosh_test): Likewise.
46600         (casin_test): Likewise.
46601         (casinh_test): Likewise.
46602         (catan_test): Likewise.
46603         (catanh_test): Likewise.
46604         (cbrt_test): Likewise.
46605         (ccos_test): Likewise.
46606         (ccosh_test): Likewise.
46607         (cexp_test): Likewise.
46608         (clog_test): Likewise.
46609         (clog10_test): Likewise.
46610         (cos_test): Likewise.
46611         (cos_test_tonearest): Likewise.
46612         (cos_test_towardzero): Likewise.
46613         (cos_test_downward): Likewise.
46614         (cos_test_upward): Likewise.
46615         (cosh_test): Likewise.
46616         (cosh_test_tonearest): Likewise.
46617         (cosh_test_towardzero): Likewise.
46618         (cosh_test_downward): Likewise.
46619         (cosh_test_upward): Likewise.
46620         (cpow_test): Likewise.
46621         (csin_test): Likewise.
46622         (csinh_test): Likewise.
46623         (csqrt_test): Likewise.
46624         (ctan_test): Likewise.
46625         (ctan_test_tonearest): Likewise.
46626         (ctan_test_towardzero): Likewise.
46627         (ctan_test_downward): Likewise.
46628         (ctan_test_upward): Likewise.
46629         (ctanh_test): Likewise.
46630         (ctanh_test_tonearest): Likewise.
46631         (ctanh_test_towardzero): Likewise.
46632         (ctanh_test_downward): Likewise.
46633         (ctanh_test_upward): Likewise.
46634         (erf_test): Likewise.
46635         (erfc_test): Likewise.
46636         (exp_test): Likewise.
46637         (exp_test_tonearest): Likewise.
46638         (exp_test_towardzero): Likewise.
46639         (exp_test_downward): Likewise.
46640         (exp_test_upward): Likewise.
46641         (exp10_test): Likewise.
46642         (exp2_test): Likewise.
46643         (expm1_test): Likewise.
46644         (fmod_test): Likewise.
46645         (gamma_test): Likewise.
46646         (hypot_test): Likewise.
46647         (j0_test): Likewise.
46648         (j1_test): Likewise.
46649         (jn_test): Likewise.
46650         (lgamma_test): Likewise.
46651         (log_test): Likewise.
46652         (log10_test): Likewise.
46653         (log1p_test): Likewise.
46654         (log2_test): Likewise.
46655         (logb_test_downward): Likewise.
46656         (pow_test): Likewise.
46657         (pow_test_tonearest): Likewise.
46658         (pow_test_towardzero): Likewise.
46659         (pow_test_downward): Likewise.
46660         (pow_test_upward): Likewise.
46661         (remainder_test): Likewise.
46662         (remquo_test): Likewise.
46663         (sin_test): Likewise.
46664         (sin_test_tonearest): Likewise.
46665         (sin_test_towardzero): Likewise.
46666         (sin_test_downward): Likewise.
46667         (sin_test_upward): Likewise.
46668         (sincos_test): Likewise.
46669         (sinh_test): Likewise.
46670         (sinh_test_tonearest): Likewise.
46671         (sinh_test_towardzero): Likewise.
46672         (sinh_test_downward): Likewise.
46673         (sinh_test_upward): Likewise.
46674         (sqrt_test): Likewise.
46675         (tan_test): Likewise.
46676         (tan_test_tonearest): Likewise.
46677         (tan_test_towardzero): Likewise.
46678         (tan_test_downward): Likewise.
46679         (tan_test_upward): Likewise.
46680         (tanh_test): Likewise.
46681         (tgamma_test): Likewise.
46682         (y0_test): Likewise.
46683         (y1_test): Likewise.
46684         (yn_test): Likewise.
46686         * math/gen-libm-test.pl (adjust_arg): Remove function.
46687         (special_function): Remove argument $in_func.  Only handle
46688         generating output for tables of tests, not inside functions.
46689         (parse_args): Likewise.
46690         (generate_testfile): Remove variable $in_func.  Update call to
46691         parse_args.
46692         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46693         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46694         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46695         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46696         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46697         (MAX_VALUE_INIT): Rename macro to max_value.
46698         (MIN_VALUE_INIT): Rename macro to min_value.
46699         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46700         (plus_zero): Remove variable.
46701         (minus_zero): Likewise.
46702         (plus_infty): Likewise.
46703         (minus_infty): Likewise.
46704         (qnan_value): Likewise.
46705         (max_value): Likewise.
46706         (min_value): Likewise.
46707         (min_subnorm_value): Likewise.
46709 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46711         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46712         uint64_t or uint32_t usage.
46713         * crypt/sha256-block.c: Likewise.
46714         * crypt/sha256-crypt.c: Likewise.
46715         * crypt/sha256.c: Likewise.
46716         * crypt/sha512-block.c: Likewise.
46717         * crypt/sha512-crypt.c: Likewise.
46718         * crypt/sha512.c: Likewise.
46719         * debug/backtrace-tst.c: Likewise.
46720         * debug/pcprofiledump.c: Likewise.
46721         * elf/cache.c: Likewise.
46722         * elf/dl-cache.c: Likewise.
46723         * elf/dl-misc.c: Likewise.
46724         * elf/dl-profile.c: Likewise.
46725         * elf/dl-support.c: Likewise.
46726         * elf/ldconfig.c: Likewise.
46727         * elf/sprof.c: Likewise.
46728         * iconv/dummy-repertoire.c: Likewise.
46729         * iconv/iconv_charmap.c: Likewise.
46730         * iconv/skeleton.c: Likewise.
46731         * iconvdata/8bit-generic.c: Likewise.
46732         * iconvdata/cp737.h: Likewise.
46733         * iconvdata/cp775.h: Likewise.
46734         * iconvdata/ibm1008.h: Likewise.
46735         * iconvdata/ibm1025.h: Likewise.
46736         * iconvdata/ibm1046.h: Likewise.
46737         * iconvdata/ibm1097.h: Likewise.
46738         * iconvdata/ibm1112.h: Likewise.
46739         * iconvdata/ibm1122.h: Likewise.
46740         * iconvdata/ibm1123.h: Likewise.
46741         * iconvdata/ibm1124.h: Likewise.
46742         * iconvdata/ibm1129.h: Likewise.
46743         * iconvdata/ibm1130.h: Likewise.
46744         * iconvdata/ibm1132.h: Likewise.
46745         * iconvdata/ibm1133.h: Likewise.
46746         * iconvdata/ibm1137.h: Likewise.
46747         * iconvdata/ibm1140.h: Likewise.
46748         * iconvdata/ibm1141.h: Likewise.
46749         * iconvdata/ibm1142.h: Likewise.
46750         * iconvdata/ibm1143.h: Likewise.
46751         * iconvdata/ibm1144.h: Likewise.
46752         * iconvdata/ibm1145.h: Likewise.
46753         * iconvdata/ibm1146.h: Likewise.
46754         * iconvdata/ibm1147.h: Likewise.
46755         * iconvdata/ibm1148.h: Likewise.
46756         * iconvdata/ibm1149.h: Likewise.
46757         * iconvdata/ibm1153.h: Likewise.
46758         * iconvdata/ibm1154.h: Likewise.
46759         * iconvdata/ibm1155.h: Likewise.
46760         * iconvdata/ibm1156.h: Likewise.
46761         * iconvdata/ibm1157.h: Likewise.
46762         * iconvdata/ibm1158.h: Likewise.
46763         * iconvdata/ibm1160.h: Likewise.
46764         * iconvdata/ibm1161.h: Likewise.
46765         * iconvdata/ibm1162.h: Likewise.
46766         * iconvdata/ibm1163.h: Likewise.
46767         * iconvdata/ibm1164.h: Likewise.
46768         * iconvdata/ibm1166.h: Likewise.
46769         * iconvdata/ibm1167.h: Likewise.
46770         * iconvdata/ibm12712.h: Likewise.
46771         * iconvdata/ibm1390.h: Likewise.
46772         * iconvdata/ibm1399.h: Likewise.
46773         * iconvdata/ibm16804.h: Likewise.
46774         * iconvdata/ibm4517.h: Likewise.
46775         * iconvdata/ibm4899.h: Likewise.
46776         * iconvdata/ibm4909.h: Likewise.
46777         * iconvdata/ibm4971.h: Likewise.
46778         * iconvdata/ibm5347.h: Likewise.
46779         * iconvdata/ibm803.h: Likewise.
46780         * iconvdata/ibm856.h: Likewise.
46781         * iconvdata/ibm901.h: Likewise.
46782         * iconvdata/ibm902.h: Likewise.
46783         * iconvdata/ibm9030.h: Likewise.
46784         * iconvdata/ibm9066.h: Likewise.
46785         * iconvdata/ibm921.h: Likewise.
46786         * iconvdata/ibm922.h: Likewise.
46787         * iconvdata/ibm9448.h: Likewise.
46788         * iconvdata/isiri-3342.h: Likewise.
46789         * iconvdata/jis0201.h: Likewise.
46790         * include/link.h: Likewise.
46791         * include/netdb.h: Likewise.
46792         * inet/check_native.c: Likewise.
46793         * inet/check_pf.c: Likewise.
46794         * inet/getipv4sourcefilter.c: Likewise.
46795         * inet/getnameinfo.c: Likewise.
46796         * inet/getsourcefilter.c: Likewise.
46797         * inet/htonl.c: Likewise.
46798         * inet/setipv4sourcefilter.c: Likewise.
46799         * inet/setsourcefilter.c: Likewise.
46800         * inet/test-inet6_opt.c: Likewise.
46801         * inet/tst-network.c: Likewise.
46802         * locale/C-collate.c: Likewise.
46803         * locale/C-ctype.c: Likewise.
46804         * locale/C-time.c: Likewise.
46805         * locale/C-translit.h: Likewise.
46806         * locale/loadarchive.c: Likewise.
46807         * locale/programs/3level.h: Likewise.
46808         * locale/programs/charmap.c: Likewise.
46809         * locale/programs/charmap.h: Likewise.
46810         * locale/programs/ld-address.c: Likewise.
46811         * locale/programs/ld-collate.c: Likewise.
46812         * locale/programs/ld-ctype.c: Likewise.
46813         * locale/programs/ld-identification.c: Likewise.
46814         * locale/programs/ld-measurement.c: Likewise.
46815         * locale/programs/ld-messages.c: Likewise.
46816         * locale/programs/ld-monetary.c: Likewise.
46817         * locale/programs/ld-name.c: Likewise.
46818         * locale/programs/ld-numeric.c: Likewise.
46819         * locale/programs/ld-paper.c: Likewise.
46820         * locale/programs/ld-telephone.c: Likewise.
46821         * locale/programs/ld-time.c: Likewise.
46822         * locale/programs/linereader.c: Likewise.
46823         * locale/programs/locale.c: Likewise.
46824         * locale/programs/locarchive.c: Likewise.
46825         * locale/programs/locfile.h: Likewise.
46826         * locale/programs/repertoire.c: Likewise.
46827         * locale/programs/simple-hash.c: Likewise.
46828         * locale/programs/simple-hash.h: Likewise.
46829         * malloc/memusage.c: Likewise.
46830         * malloc/memusagestat.c: Likewise.
46831         * nis/nis_defaults.c: Likewise.
46832         * nis/nis_hash.c: Likewise.
46833         * nis/nis_print.c: Likewise.
46834         * nis/nis_xdr.c: Likewise.
46835         * nscd/connections.c: Likewise.
46836         * nscd/hstcache.c: Likewise.
46837         * nscd/nscd_gethst_r.c: Likewise.
46838         * nscd/nscd_getserv_r.c: Likewise.
46839         * nscd/nscd_helper.c: Likewise.
46840         * nscd/servicescache.c: Likewise.
46841         * nss/makedb.c: Likewise.
46842         * nss/nss_db/db-XXX.c: Likewise.
46843         * nss/nss_db/db-initgroups.c: Likewise.
46844         * nss/nss_db/db-netgrp.c: Likewise.
46845         * nss/nss_files/files-network.c: Likewise.
46846         * nss/nss_files/files-parse.c: Likewise.
46847         * posix/bug-regex5.c: Likewise.
46848         * posix/fnmatch_loop.c: Likewise.
46849         * posix/regcomp.c: Likewise.
46850         * posix/regexec.c: Likewise.
46851         * posix/tst-rfc3484-2.c: Likewise.
46852         * posix/tst-rfc3484-3.c: Likewise.
46853         * posix/tst-rfc3484.c: Likewise.
46854         * resolv/nss_dns/dns-canon.c: Likewise.
46855         * resolv/nss_dns/dns-network.c: Likewise.
46856         * resolv/res_init.c: Likewise.
46857         * resolv/res_mkquery.c: Likewise.
46858         * resolv/tst-aton.c: Likewise.
46859         * stdlib/cxa_atexit.c: Likewise.
46860         * stdlib/cxa_finalize.c: Likewise.
46861         * stdlib/gen-fpioconst.c: Likewise.
46862         * stdlib/strtol_l.c: Likewise.
46863         * string/tst-endian.c: Likewise.
46864         * sunrpc/auth_des.c: Likewise.
46865         * sunrpc/clnt_udp.c: Likewise.
46866         * sunrpc/rtime.c: Likewise.
46867         * sunrpc/svcauth_des.c: Likewise.
46868         * sunrpc/xdr.c: Likewise.
46869         * sunrpc/xdr_intXX_t.c: Likewise.
46870         * sunrpc/xdr_rec.c: Likewise.
46871         * sysdeps/generic/ldconfig.h: Likewise.
46872         * sysdeps/generic/ldsodefs.h: Likewise.
46873         * sysdeps/generic/memusage.h: Likewise.
46874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46875         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46880         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46882         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46884         * sysdeps/posix/getaddrinfo.c: Likewise.
46885         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46886         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46887         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46888         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46889         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46890         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46891         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46892         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46893         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46894         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46895         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46896         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46897         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46898         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46899         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46900         * sysdeps/x86_64/dl-tls.h: Likewise.
46901         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46902         * time/alt_digit.c: Likewise.
46903         * time/era.c: Likewise.
46904         * wcsmbs/tst-c16c32-1.c: Likewise.
46906 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46908         * math/libm-test.inc (struct test_sincos_data): New type.
46909         (RUN_TEST_LOOP_sincos): New macro.
46910         (sincos_test_data): New variable.
46911         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46913 2013-05-16  Richard Henderson  <rth@redhat.com>
46915         * math/atest-exp2.c (LIMB64): New macro.
46916         (CONSTSZ): New macro.
46917         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46918         (hexdig): Move ...
46919         (print_mpn_fp): ... to function scope.
46920         (read_mpn_hex): Remove.
46921         (get_log2): Remove.
46922         (exp2_mpn): Use mp_log2.
46923         (main): Use mp_exp1.
46925 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46927         * math/libm-test.inc: Remove comment about not testing "inexact"
46928         exceptions.
46929         (INEXACT_EXCEPTION): New macro.
46930         (NO_INEXACT_EXCEPTION): Likewise.
46931         (INVALID_EXCEPTION_OK): Update value.
46932         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46933         (OVERFLOW_EXCEPTION_OK): Likewise.
46934         (UNDERFLOW_EXCEPTION_OK): Likewise.
46935         (IGNORE_ZERO_INF_SIGN): Likewise.
46936         (ERRNO_UNCHANGED): Likewise.
46937         (ERRNO_EDOM): Likewise.
46938         (ERRNO_ERANGE): Likewise.
46939         (test_exceptions): Handle testing "inexact" exceptions.
46940         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46941         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46942         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46943         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46944         INEXACT_EXCEPTION.
46945         (rint_towardzero_test_data): Likewise.
46946         (rint_downward_test_data): Likewise.
46947         (rint_upward_test_data): Likewise.
46949         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46950         with OVERFLOW_EXCEPTION.
46951         (exp10_test_data): Likewise.
46952         (exp2_test_data): Likewise.
46953         (expm1_test_data): Likewise.
46954         (lgamma_test_data): Likewise.
46955         (pow_test_data): Likewise.
46956         (tgamma_test_data): Likewise.
46957         (yn_test_data): Remove duplicate test of overflow.
46959         * math/libm-test.inc (struct test_cc_c_data): New type.
46960         (RUN_TEST_LOOP_cc_c): New macro.
46961         (cpow_test_data): New variable.
46962         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46964         * math/libm-test.inc (struct test_f_L_data): New type.
46965         (RUN_TEST_LOOP_f_L): New macro.
46966         (llrint_test_data): New variable.
46967         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46968         (llrint_tonearest_test_data): New variable.
46969         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46970         (llrint_towardzero_test_data): New variable.
46971         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46972         (llrint_downward_test_data): New variable.
46973         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46974         (llrint_upward_test_data): New variable.
46975         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46976         (llround_test_data): New variable.
46977         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46979 2013-05-13  Peter Collingbourne  <pcc@google.com>
46981         * math/atest-exp2.c (get_log2): Remove const attribute.
46983 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46985         * math/libm-test.inc (struct test_f_l_data): New type.
46986         (RUN_TEST_LOOP_f_l): New macro.
46987         (lrint_test_data): New variable.
46988         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46989         (lrint_tonearest_test_data): New variable.
46990         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46991         (lrint_towardzero_test_data): New variable.
46992         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46993         (lrint_downward_test_data): New variable.
46994         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46995         (lrint_upward_test_data): New variable.
46996         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46997         (lround_test_data): New variable.
46998         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47000 2013-05-15  Peter Collingbourne  <pcc@google.com>
47002         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47003         (EXTRACT_WORDS64) Use where appropriate.
47004         (INSERT_WORDS64) Likewise.
47006         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47007         constraints with x constraints.
47008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47010         * malloc/obstack.c (_obstack_compat): Add initializer.
47012 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47015         si_trapno and add si_addr_lsb to _sifields.sigfault.
47016         (si_trapno): Remove macro.
47017         (si_addr_lsb): Define new macro.
47018         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47020 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47022         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47023         instead of TEST_f_l.
47024         (llrint_test_tonearest): Likewise.
47025         (llrint_test_towardzero): Likewise.
47026         (llrint_test_downward): Likewise.
47027         (llrint_test_upward): Likewise.
47028         (llround_test): Likewise.
47030         * math/libm-test.inc (struct test_f_i_data): Add comment.
47031         (RUN_TEST_LOOP_f_b): New macro.
47032         (RUN_TEST_LOOP_f_b_tg): Likewise.
47033         (finite_test_data): New variable.
47034         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47035         (isfinite_test_data): New variable.
47036         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47037         (isinf_test_data): New variable.
47038         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47039         (isnan_test_data): New variable.
47040         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47041         (isnormal_test_data): New variable.
47042         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47043         (issignaling_test_data): New variable.
47044         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47045         (signbit_test_data): New variable.
47046         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47048         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47049         with INVALID_EXCEPTION.
47050         (acosh_test_data): Likewise.
47051         (asin_test_data): Likewise.
47052         (atanh_test_data): Likewise.
47053         (fmod_test_data): Likewise.
47054         (log_test_data): Likewise.
47055         (log10_test_data): Likewise.
47056         (log2_test_data): Likewise.
47057         (pow_test_data): Likewise.
47058         (sqrt_test_data): Likewise.
47059         (y0_test_data): Likewise.
47060         (y1_test_data): Likewise.
47061         (yn_test_data): Likewise.
47063         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47064         function contents.
47066         * math/libm-test.inc (struct test_ff_i_data): New type.
47067         (RUN_TEST_LOOP_ff_i_tg): New macro.
47068         (isgreater_test_data): New variable.
47069         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47070         (isgreaterequal_test_data): New variable.
47071         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47072         (isless_test_data): New variable.
47073         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47074         (islessequal_test_data): New variable.
47075         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47076         (islessgreater_test_data): New variable.
47077         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47078         (isunordered_test_data): New variable.
47079         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47081 2013-05-14  David S. Miller  <davem@davemloft.net>
47083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47085 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47087         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47089         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47090         extra_test to int.
47091         (struct test_f_i_data): Change type of max_ulp to int.
47093         * math/libm-test.inc (test_ffI_f1_data): New type.
47094         (RUN_TEST_LOOP_ffI_f1): New macro.
47095         (remquo_test_data): New variable.
47096         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47098         * setjmp/tst-setjmp-fp.c: New file.
47099         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47100         (link-libm): New variable.
47101         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47103         * math/libm-test.inc (struct test_f_i_data): New type.
47104         (RUN_TEST_LOOP_f_i): New macro.
47105         (RUN_TEST_LOOP_f_i_tg): Likewise.
47106         (fpclassify_test_data): New variable.
47107         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47108         (ilogb_test_data): New variable.
47109         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47111         * math/libm-test.inc (scalbln_test): Correct function name in END
47112         call.
47114         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47115         (RUN_TEST_LOOP_fI_f1): New macro.
47116         (frexp_test_data): New variable.
47117         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47119         * math/libm-test.inc (struct test_fF_f1_data): New type.
47120         (RUN_TEST_LOOP_fF_f1): New macro.
47121         (modf_test_data): New variable.
47122         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47124         * math/libm-test.inc (struct test_f_f1_data): New type.
47125         (RUN_TEST_LOOP_f_f1): New macro.
47126         (gamma_test_data): New variable.
47127         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47128         (lgamma_test_data): New variable.
47129         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47131 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47133         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47134         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47135         (main): Comment "tls" pseudo-hwcap.
47137 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47139         * math/libm-test.inc (struct test_fl_f_data): New type.
47140         (RUN_TEST_LOOP_fl_f): New variable.
47141         (scalbln_test_data): New variable.
47142         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47144         * math/libm-test.inc (struct test_fi_f_data): New type.
47145         (RUN_TEST_LOOP_fi_f): New macro.
47146         (ldexp_test_data): New variable.
47147         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47148         (scalbn_test_data): New variable.
47149         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47151         * math/libm-test.inc (struct test_c_f_data): New type.
47152         (RUN_TEST_LOOP_c_f): New macro.
47153         (cabs_test_data): New variable.
47154         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47155         (carg_test_data): New variable.
47156         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47157         (cimag_test_data): New variable.
47158         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47159         (creal_test_data): New variable.
47160         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47162         * math/libm-test.inc (struct test_if_f_data): New type.
47163         (RUN_TEST_LOOP_if_f): New macro.
47164         (jn_test_data): New variable.
47165         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47166         (yn_test_data): New variable.
47167         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47169         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47171 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47173         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47174         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47176 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47178         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47179         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47180         (bench-deps): Add bench-timing.h.
47181         * benchtests-bench-skeleton.c: Include bench-timing.h.
47182         (main): Use TIMING_* macros instead of clock_gettime.
47183         * benchtests/bench-timing.h: New file.
47185         [BZ #14582]
47186         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47187         Renamed from _LIB_VERSION.
47188         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47190 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47192         * math/libm-test.inc (struct test_fff_f_data): New type.
47193         (RUN_TEST_LOOP_fff_f): New macro.
47194         (fma_test_data): New variable.
47195         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47196         (fma_towardzero_test_data): New variable.
47197         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47198         (fma_downward_test_data): New variable.
47199         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47200         (fma_upward_test_data): New variable.
47201         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47203         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47204         (struct test_c_c_data): New type.
47205         (RUN_TEST_LOOP_c_c): New macro.
47206         (cacos_test_data): New variable.
47207         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47208         (cacosh_test_data): New variable.
47209         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47210         (casin_test_data): New variable.
47211         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47212         (casinh_test_data): New variable.
47213         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47214         (catan_test_data): New variable.
47215         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47216         (catanh_test_data): New variable.
47217         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47218         (ccos_test_data): New variable.
47219         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47220         (ccosh_test_data): New variable.
47221         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47222         (cexp_test_data): New variable.
47223         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47224         (clog_test_data): New variable.
47225         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47226         (clog10_test_data): New variable.
47227         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47228         (conj_test_data): New variable.
47229         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47230         (cproj_test_data): New variable.
47231         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47232         (csin_test_data): New variable.
47233         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47234         (csinh_test_data): New variable.
47235         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47236         (csqrt_test_data): New variable.
47237         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47238         (ctan_test_data): New variable.
47239         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47240         (ctan_tonearest_test_data): New variable.
47241         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47242         (ctan_towardzero_test_data): New variable.
47243         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47244         (ctan_downward_test_data): New variable.
47245         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47246         (ctan_upward_test_data): New variable.
47247         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47248         (ctanh_test_data): New variable.
47249         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47250         (ctanh_tonearest_test_data): New variable.
47251         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47252         (ctanh_towardzero_test_data): New variable.
47253         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47254         (ctanh_downward_test_data): New variable.
47255         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47256         (ctanh_upward_test_data): New variable.
47257         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47258         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47259         of BUILD_COMPLEX.
47261         * math/libm-test.inc (struct test_ff_f_data): New type.
47262         (struct test_ff_f_data_nexttoward): Likewise.
47263         (RUN_TEST_LOOP_2_f): New macro.
47264         (RUN_TEST_LOOP_ff_f): Likewise.
47265         (atan2_test_data): New variable.
47266         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47267         (copysign_test_data): New variable.
47268         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47269         (fdim_test_data): New variable.
47270         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47271         (fmax_test_data): New variable.
47272         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47273         (fmin_test_data): New variable.
47274         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47275         (fmod_test_data): New variable.
47276         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47277         (hypot_test_data): New variable.
47278         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47279         (nextafter_test_data): New variable.
47280         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47281         (nexttoward_test_data): New variable.
47282         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47283         (pow_test_data): New variable.
47284         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47285         (pow_tonearest_test_data): New variable.
47286         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47287         (pow_towardzero_test_data): New variable.
47288         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47289         (pow_downward_test_data): New variable.
47290         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47291         (pow_upward_test_data): New variable.
47292         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47293         (remainder_test_data): New variable.
47294         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47295         (scalb_test_data): New variable.
47296         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47297         * sysdeps/i386/fpu/libm-test-ulps: Update.
47299 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47301         * math/libm-test.inc (fma_test): Use max_value instead of local
47302         variable fltmax.
47303         (nextafter_test): Likewise.
47305         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47306         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47307         (acos_downward_test_data): New variable.
47308         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47309         (acos_upward_test_data): New variable.
47310         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47311         (acosh_test_data): New variable.
47312         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47313         (asin_test_data): New variable.
47314         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47315         (asin_tonearest_test_data): New variable.
47316         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47317         (asin_towardzero_test_data): New variable.
47318         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47319         (asin_downward_test_data): New variable.
47320         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47321         (asin_upward_test_data): New variable.
47322         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47323         (asinh_test_data): New variable.
47324         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47325         (atan_test_data): New variable.
47326         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47327         (atanh_test_data): New variable.
47328         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47329         (cbrt_test_data): New variable.
47330         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47331         (ceil_test_data): New variable.
47332         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47333         (cos_test_data): New variable.
47334         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47335         (cos_tonearest_test_data): New variable.
47336         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47337         (cos_towardzero_test_data): New variable.
47338         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47339         (cos_downward_test_data): New variable.
47340         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47341         (cos_upward_test_data): New variable.
47342         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47343         (cosh_test_data): New variable.
47344         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47345         (cosh_tonearest_test_data): New variable.
47346         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47347         (cosh_towardzero_test_data): New variable.
47348         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47349         (cosh_downward_test_data): New variable.
47350         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47351         (cosh_upward_test_data): New variable.
47352         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47353         (erf_test_data): New variable.
47354         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47355         (erfc_test_data): New variable.
47356         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47357         (exp_test_data): New variable.
47358         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47359         (exp_tonearest_test_data): New variable.
47360         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47361         (exp_towardzero_test_data): New variable.
47362         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47363         (exp_downward_test_data): New variable.
47364         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47365         (exp_upward_test_data): New variable.
47366         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47367         (exp10_test_data): New variable.
47368         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47369         (exp2_test_data): New variable.
47370         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47371         (expm1_test_data): New variable.
47372         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47373         (fabs_test_data): New variable.
47374         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47375         (floor_test_data): New variable.
47376         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47377         (j0_test_data): New variable.
47378         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47379         (j1_test_data): New variable.
47380         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47381         (log_test_data): New variable.
47382         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47383         (log10_test_data): New variable.
47384         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47385         (log1p_test_data): New variable.
47386         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47387         (log2_test_data): New variable.
47388         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47389         (logb_test_data): New variable.
47390         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47391         (logb_downward_test_data): New variable.
47392         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47393         (nearbyint_test_data): New variable.
47394         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47395         (rint_test_data): New variable.
47396         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47397         (rint_tonearest_test_data): New variable.
47398         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47399         (rint_towardzero_test_data): New variable.
47400         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47401         (rint_downward_test_data): New variable.
47402         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47403         (rint_upward_test_data): New variable.
47404         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47405         (round_test_data): New variable.
47406         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47407         (sin_test_data): New variable.
47408         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47409         (sin_tonearest_test_data): New variable.
47410         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47411         (sin_towardzero_test_data): New variable.
47412         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47413         (sin_downward_test_data): New variable.
47414         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47415         (sin_upward_test_data): New variable.
47416         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47417         (sinh_test_data): New variable.
47418         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47419         (sinh_tonearest_test_data): New variable.
47420         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47421         (sinh_towardzero_test_data): New variable.
47422         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47423         (sinh_downward_test_data): New variable.
47424         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47425         (sinh_upward_test_data): New variable.
47426         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47427         (sqrt_test_data): New variable.
47428         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47429         (tan_test_data): New variable.
47430         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47431         (tan_tonearest_test_data): New variable.
47432         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47433         (tan_towardzero_test_data): New variable.
47434         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47435         (tan_downward_test_data): New variable.
47436         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47437         (tan_upward_test_data): New variable.
47438         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47439         (tanh_test_data): New variable.
47440         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47441         (tgamma_test_data): New variable.
47442         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47443         (trunc_test_data): New variable.
47444         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47445         (y0_test_data): New variable.
47446         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47447         (y1_test_data): New variable.
47448         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47449         (significand_test_data): New variable.
47450         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47452 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47454         [BZ #12387]
47455         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47457 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47459         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47461 2013-05-10  Andreas Jaeger  <aj@suse.de>
47463         [BZ #15448]
47464         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47465         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47467 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47469         * math/gen-libm-test.pl (adjust_arg): New function.
47470         (special_functions): Handle generating output in both functions
47471         and arrays.
47472         (parse_args): Likewise.
47473         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47474         $in_func argument to parse_args.
47475         * math/libm-test.inc (struct test_f_f_data): New type.
47476         (IF_ROUND_INIT_): New macro.
47477         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47478         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47479         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47480         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47481         (ROUND_RESTORE_): Likewise.
47482         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47483         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47484         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47485         (ROUND_RESTORE_FE_UPWARD): Likewise.
47486         (RUN_TEST_LOOP_f_f): New macro.
47487         (acos_test_data): New variable.
47488         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47489         (acos_tonearest_test_data): New variable.
47490         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47492 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47494         * benchtests/bench-skeleton.c (startup): Fix coding style.
47496 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47498         [BZ #6809]
47499         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47500         negative infinity argument.
47501         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47502         negative infinity argument.
47503         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47504         negative infinity argument.
47505         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47506         domain errors.
47508 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47510         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47511         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47512         * iconv/iconv_prog.c (main): Likewise.
47513         * locale/programs/charmap-dir.c (charmap_readdir)
47514         (fopen_uncompressed): Likewise.
47515         * locale/programs/locfile.c (siblings_uncached)
47516         (write_locale_data): Use lstat64 instead of lstat.
47517         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47518         stat.
47520 2013-05-10  Andreas Jaeger  <aj@suse.de>
47522         [BZ #15395]
47523         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47524         localization.
47525         Include <locale.h>.
47527 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47529         * elf/dl-close.c (_dl_close_worker): Add comments.
47531 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47533         [BZ #15359]
47534         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47535         high part of pi/2.
47536         (__ieee754_rem_pio2l): Update comments.
47538         [BZ #15429]
47539         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47540         high part of pi/2.
47541         (__ieee754_rem_pio2l): Update comments.
47543         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47544         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47546         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47547         M_PI_4l.
47549         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47550         (M_PI_34_LOG10El): Likewise.
47551         (M_PI2_LOG10El): Likewise.
47552         (M_PI4_LOG10El): Likewise.
47553         (M_PI_LOG10El): Likewise.
47555 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47559 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47561         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47562         (MINUS_ZERO_INIT): Likewise.
47563         (PLUS_INFTY_INIT): Likewise.
47564         (MINUS_INFTY_INIT): Likewise.
47565         (QNAN_VALUE_INIT): Likewise.
47566         (MAX_VALUE_INIT): Likewise.
47567         (MIN_VALUE_INIT): Likewise.
47568         (MIN_SUBNORM_VALUE_INIT): Likewise.
47569         (plus_zero): Initialize with PLUS_ZERO_INIT.
47570         (minus_zero): Initialize with MINUS_ZERO_INIT.
47571         (plus_infty): Initialize with PLUS_INFTY_INIT.
47572         (minus_infty): Initialize with MINUS_INFTY_INIT.
47573         (qnan_value): Initialize with QNAN_VALUE_INIT.
47574         (max_value): Initialize with MAX_VALUE_INIT.
47575         (min_value): Initialize with MIN_VALUE_INIT.
47576         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47578         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47579         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47580         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47581         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47583         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47584         (RUN_TEST_2_f): Likewise.
47585         (RUN_TEST_ff_f): Likewise.
47586         (RUN_TEST_fi_f): Likewise.
47587         (RUN_TEST_fl_f): Likewise.
47588         (RUN_TEST_fff_f): Likewise.
47589         (RUN_TEST_c_f): Likewise.
47590         (RUN_TEST_f_f1): Likewise.
47591         (RUN_TEST_fF_f1): Likewise.
47592         (RUN_TEST_fI_f1): Likewise.
47593         (RUN_TEST_ffI_f1): Likewise.
47594         (RUN_TEST_c_c): Likewise.
47595         (RUN_TEST_cc_c): Likewise.
47596         (RUN_TEST_f_i): Likewise.
47597         (RUN_TEST_f_i_tg): Likewise.
47598         (RUN_TEST_ff_i_tg): Likewise.
47599         (RUN_TEST_f_b): Likewise.
47600         (RUN_TEST_f_b_tg): Likewise.
47601         (RUN_TEST_f_l): Likewise.
47602         (RUN_TEST_f_L): Likewise.
47603         (RUN_TEST_sincos): Likewise.
47604         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47605         whether to show exceptions.  Do not include ");\n" in return
47606         value.
47607         (special_functions): Output call to RUN_TEST_sincos instead of
47608         check_float calls.  Update calls to new_test.
47609         (parse_args): Output call to single RUN_TEST_* macro instead of
47610         check_* calls and other assignments.  Update calls to new_test.
47612         [BZ #2546]
47613         [BZ #2560]
47614         [BZ #5159]
47615         [BZ #15426]
47616         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47617         input to result for tgamma overflow.
47618         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47619         (gamma_coeff): New variable.
47620         (NCOEFF): New macro.
47621         (gamma_positive): New function.
47622         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47623         underflow here.  Use gamma_positive instead of exp (lgamma) for
47624         other arguments.
47625         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47626         (gamma_coeff): New variable.
47627         (NCOEFF): New macro.
47628         (gammaf_positive): New function.
47629         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47630         underflow here.  Use gamma_positive instead of exp (lgamma) for
47631         other arguments.
47632         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47633         (gamma_coeff): New variable.
47634         (NCOEFF): New macro.
47635         (gammal_positive): New function.
47636         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47637         underflow here.  Use gamma_positive instead of exp (lgamma) for
47638         other arguments.
47639         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47640         (gamma_coeff): New variable.
47641         (NCOEFF): New macro.
47642         (gammal_positive): New function.
47643         (__ieee754_gammal_r): Handle positive infinity, overflow and
47644         underflow here.  Handle NaN the same as positive infinity.  Remove
47645         check x < 0xffffffff for negative integers.  Use gamma_positive
47646         instead of exp (lgamma) for other arguments.
47647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47648         (gamma_coeff): New variable.
47649         (NCOEFF): New macro.
47650         (gammal_positive): New function.
47651         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47652         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47653         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47654         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47655         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47656         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47657         * sysdeps/generic/math_private.h (__gamma_productf): New
47658         prototype.
47659         (__gamma_product): Likewise.
47660         (__gamma_productl): Likewise.
47661         * math/Makefile (libm-calls): Add gamma_product.
47662         * math/libm-test.inc (tgamma_test): Add more tests.
47663         * sysdeps/i386/fpu/libm-test-ulps: Update.
47664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47666 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47668         * benchtests/bench-skeleton.c (main): Preheat CPU.
47670 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47672         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47674 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47676         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47677         and _dl_skip_args_internal.
47679 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47681         * manual/message.texi (Message Translation): Talk about users.
47682         Message to key mapping impacts design.
47684 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47686         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47688         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47690         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47691         * sysdeps/wordsize-64/glob64.c: ... here.
47693         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47694         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47695         New macros.
47697         * debug/getlogin_r_chk.c: Moved to ...
47698         * login/getlogin_r_chk.c: ... here.
47699         * debug/Makefile (routines): Move getlogin_r_chk to ...
47700         * login/Makefile (routines): ... here.
47701         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47702         * login/Versions (libc: GLIBC_2.4): ... here.
47704         * io/poll.c (__poll): Renamed from poll.
47705         Add libc_hidden_def.
47706         (poll): Define as weak alias.
47708         * debug/ptsname_r_chk.c: Moved to ...
47709         * login/ptsname_r_chk.c: ... here.
47710         * debug/Makefile (routines): Move ptsname_r_chk to ...
47711         * login/Makefile (routines): ... here.
47712         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47713         * login/Versions (libc: GLIBC_2.4): ... here.
47715         * posix/getlogin.c: Moved to ...
47716         * login/getlogin.c: ... here.
47717         * posix/getlogin_r.c: Moved to ...
47718         * login/getlogin_r.c: ... here.
47719         * posix/getlogin_r.c: Moved to ...
47720         * login/getlogin_r.c: ... here.
47721         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47722         * login/Makefile (routines): ... here.
47723         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47724         * login/Versions (libc: GLIBC_2.0): ... here.
47726         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47727         (setrlimit): Define as weak alias.
47729         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47730         Call __ names for open, ftruncate, and close.
47731         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47732         (truncate): Define as weak alias.
47734 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47736         * math/gen-libm-test.pl (parse_args): Initialize x before each
47737         test of frexp, modf and remquo.
47739         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47740         test signgam value.
47742 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47744         [BZ #15418]
47745         [BZ #15419]
47746         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47747         internal tests.
47748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47750 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47752         * elf/dl-writev.h: New file.
47753         * elf/dl-misc.c: Include it.
47754         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47755         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47757 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47759         * math/libm-test.inc (noXFails): Remove variable.
47760         (noXPasses): Likewise.
47761         (BUILD_COMPLEX_INT): Remove macro.
47762         (print_screen): Remove xfail argument.
47763         (print_screen_max_error): Likewise.
47764         (update_stats): Likewise.
47765         (print_max_error): Likewise.  Update calls to other affected
47766         functions.
47767         (print_complex_max_error): Likewise.
47768         (test_single_exception): Update calls to print_screen.
47769         (test_single_errno): Likewise.
47770         (check_float_internal): Remove xfail argument.  Update calls to
47771         other affected functions.
47772         (check_float): Likewise.
47773         (check_complex): Likewise.
47774         (check_int): Likewise.
47775         (check_long): Likewise.
47776         (check_bool): Likewise.
47777         (check_longlong): Likewise.
47778         (main): Don't print noXFails and noXPasses.
47779         * math/gen-libm-test.pl (top level): Don't mention expected
47780         failure handling in comment.
47781         (new_test): Don't handle expected failures.
47782         (parse_args): Don't mention expected failure handling in comment.
47783         (generate_testfile): Don't handle expected failures.
47784         (parse_ulps): Likewise.
47785         (print_ulps_file): Likewise.
47786         (get_failure): Remove function.
47787         (output_test): Don't handle expected failures.
47788         * make/README.libm-test: Don't mention expected failure handling.
47790         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47791         (minus_zero): Likewise.
47792         (plus_infty): Likewise.
47793         (minus_infty): Likewise.
47794         (qnan_value): Likewise.
47795         (max_value): Likewise.
47796         (min_value): Likewise.
47797         (min_subnorm_value): Likewise.
47798         (initialize): Do not initialize those variables dynamically.
47800 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47802         * io/open.c (__open_2): Moved to ...
47803         * io/open_2.c: ... this new file.
47804         * io/open64.c (__open64_2): Moved to ...
47805         * io/open64_2.c: ... this new file.
47806         * io/openat.c (__openat_2): Moved to ...
47807         * io/openat_2.c: ... this new file.
47808         * io/openat64.c (__openat64_2): Moved to ...
47809         * io/openat64_2.c: ... this new file.
47810         * io/Makefile (routines): Add them.
47811         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47812         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47813         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47814         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47815         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47816         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47817         (__openat64): Add hidden_ver.
47818         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47819         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47821         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47822         Separately conditionalize setting of GLRO(dl_sysinfo) so
47823         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47824         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47826 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47828         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47829         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47830         definition.
47831         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47832         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47833         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47834         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47835         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47837 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47839         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47840         test signgam value.
47842         * math/libm-test.inc (hypot_test): Do not use
47843         IGNORE_ZERO_INF_SIGN.
47845 2013-05-03  Andreas Jaeger  <aj@suse.de>
47847         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47848         Linux 3.9.
47849         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47850         (PF_MAX): Adjust for VSOCK change.
47852 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47856 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47858         [BZ #15264]
47859         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47860         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47861         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47863 2013-05-02  David S. Miller  <davem@davemloft.net>
47865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47867 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47869         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47871 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47873         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47875 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47877         [BZ #14952]
47878         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47879         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47880         Use __attribute__ ((__gnu_inline__)).
47881         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47882         Don't use __attribute__ ((__gnu_inline__)).
47884 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47886         [BZ #15423]
47887         * math/s_catan.c (__catan): Handle small real or imaginary part of
47888         input specially to avoid spurious underflow.
47889         * math/s_catanf.c (__catanf): Likewise.
47890         * math/s_catanh.c (__catanh): Likewise.
47891         * math/s_catanhf.c (__catanhf): Likewise.
47892         * math/s_catanhl.c (__catanhl): Likewise.
47893         * math/s_catanl.c (__catanl): Likewise.
47894         * math/libm-test.inc (catan_test): Add more tests.
47895         (catanh_test): Likewise.
47896         * sysdeps/i386/fpu/libm-test-ulps: Update.
47897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47899 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47903 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47905         [BZ #15416]
47906         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47907         accurately for denominator in atan2.
47908         * math/s_catanf.c (__catanf): Likewise.
47909         * math/s_catanh.c (__catanh): Likewise.
47910         * math/s_catanhf.c (__catanhf): Likewise.
47911         * math/s_catanhl.c (__catanhl): Likewise.
47912         * math/s_catanl.c (__catanl): Likewise.
47913         * math/libm-test.inc (catan_test): Add more tests.
47914         (catanh_test): Likewise.
47915         * sysdeps/i386/fpu/libm-test-ulps: Update.
47916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47918 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47920         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47922         * benchtests/Makefile (bench): Remove slow benchmarks.
47923         * benchtests/atan-inputs: Add slow benchmark inputs.
47924         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47925         (BENCH_FUNC): Accept variant offset.
47926         (VARIANT): Define.
47927         * benchtests/bench-skeleton.c (main): Run benchmark for each
47928         variant.
47929         * benchtests/cos-inputs: Add slow benchmark inputs.
47930         * benchtests/exp-inputs: Likewise.
47931         * benchtests/pow-inputs: Likewise.
47932         * benchtests/sin-inputs: Likewise.
47933         * benchtests/slowatan-inputs: Remove.
47934         * benchtests/slowatan.c: Remove.
47935         * benchtests/slowcos-inputs: Remove.
47936         * benchtests/slowcos.c: Remove.
47937         * benchtests/slowexp-inputs: Remove.
47938         * benchtests/slowexp.c: Remove.
47939         * benchtests/slowpow-inputs: Remove.
47940         * benchtests/slowpow.c: Remove.
47941         * benchtests/slowsin-inputs: Remove.
47942         * benchtests/slowsin.c: Remove.
47943         * benchtests/slowtan-inputs: Remove.
47944         * benchtests/slowtan.c: Remove.
47945         * benchtests/tan-inputs: Add slow benchmark inputs.
47946         * scripts/bench.pl: Parse comments and directives.
47948         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47949         in CPPFLAGS.
47950         ($(objpfx)bench-%.c): Remove *-ITER.
47951         * benchtests/bench-modf.c: Remove definition of ITER.
47952         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47953         (main): Loop for DURATION seconds instead of fixed number of
47954         iterations.
47955         * scripts/bench.pl: Don't expect iterations in parameters.
47957 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47959         * io/fchdir.c (__fchdir): Renamed from fchdir.
47960         (fchdir): Define as weak alias.
47962 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47964         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47965         (ERRNO_EDOM): Likewise.
47966         (ERRNO_ERANGE): Likewise.
47967         (noErrnoTests): New variable.
47968         (init_max_error): Set errno to 0.
47969         (test_single_errno): New function.
47970         (test_errno): Likewise.
47971         (check_float_internal): Call test_errno.  Set errno to 0.
47972         (check_complex): Refer to errno tests in comment.
47973         (check_int): Call test_errno.  Set errno to 0.
47974         (check_long): Likewise.
47975         (check_bool): Likewise.
47976         (check_longlong): Likewise.
47977         (cos_test): Use ERRNO_* flags for errno tests instead of
47978         check_int.
47979         (expm1_test): Likewise.
47980         (fmod_test): Likewise.
47981         (ilogb_test): Likewise.
47982         (lgamma_test): Likewise.
47983         (pow_test): Likewise.
47984         (remainder_test): Likewise.
47985         (sin_test): Likewise.
47986         (tan_test): Likewise.
47987         (yn_test): Likewise.
47988         (initialize): Set errno to 0.
47989         (main): Print number of errno tests.
47990         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47992 2013-04-29  Andreas Jaeger  <aj@suse.de>
47994         [BZ #15084]
47995         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47996         and RES_USEVC.
47998         [BZ #15085]
47999         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48000         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48001         unimplemented.
48003         [BZ #15380]
48004         * stdlib/random.c (__initstate): Return NULL if
48005         __initstate fails.
48007         [BZ #15086]
48008         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48009         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48010         RES_SNGLKUPREOP.
48012 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48016 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48018         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48019         of individual tests.
48020         (casin_test): Likewise.
48021         (casinh_test): Likewise.
48023 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48025         [BZ #15409]
48026         * math/s_catan.c (__catan): Handle arguments with large real or
48027         imaginary part separately without squaring.
48028         * math/s_catanf.c (__catanf): Likewise.
48029         * math/s_catanh.c (__catanh): Likewise.
48030         * math/s_catanhf.c (__catanhf): Likewise.
48031         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48032         and redefine.
48033         (__catanhl): Handle arguments with large real or imaginary part
48034         separately without squaring.
48035         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48036         and redefine.
48037         (__catanl): Handle arguments with large real or imaginary part
48038         separately without squaring.
48039         * math/libm-test.inc (catan_test): Add more tests.
48040         (catanh_test): Likewise.
48041         * sysdeps/i386/fpu/libm-test-ulps: Update.
48042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48044 2013-04-27  Andreas Jaeger  <aj@suse.de>
48046         [BZ #15007]
48047         * stdlib/stdlib.h: Update guards for qecvt.
48048         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48049         <stdlib.h>.
48051 2013-04-27  Allan McRae  <allan@archlinux.org>
48053         * sysdeps/i386/fpu/libm-test-ulps: Update.
48055 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48057         [BZ #15406]
48058         * math/s_catan.c: Include <float.h>.
48059         (__catan): Ensure underflow exception occurs for underflowed
48060         result.
48061         * math/s_catanf.c: Include <float.h>.
48062         (__catanf): Ensure underflow exception occurs for underflowed
48063         result.
48064         * math/s_catanh.c: Include <float.h>.
48065         (__catanh): Ensure underflow exception occurs for underflowed
48066         result.
48067         * math/s_catanhf.c: Include <float.h>.
48068         (__catanhf): Ensure underflow exception occurs for underflowed
48069         result.
48070         * math/s_catanhl.c: Include <float.h>.
48071         (__catanhl): Ensure underflow exception occurs for underflowed
48072         result.
48073         * math/s_catanl.c: Include <float.h>.
48074         (__catanl): Ensure underflow exception occurs for underflowed
48075         result.
48076         * math/libm-test.inc (catan_test): Add more tests.
48077         (catanh_test): Likewise.
48079         [BZ #15405]
48080         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48081         underflowed result.
48082         * math/s_ccoshf.c (__ccoshf): Likewise.
48083         * math/s_ccoshl.c (__ccoshl): Likewise.
48084         * math/s_csin.c (__csin): Likewise.
48085         * math/s_csinf.c (__csinf): Likewise.
48086         * math/s_csinh.c (__csinh): Likewise.
48087         * math/s_csinhf.c (__csinhf): Likewise.
48088         * math/s_csinhl.c (__csinhl): Likewise.
48089         * math/s_csinl.c (__csinl): Likewise.
48090         * math/libm-test.inc (ccos_test): Add more tests.
48091         (ccosh_test): Likewise.
48092         (csin_test): Likewise.
48093         (csinh_test): Likewise.
48095 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48097         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48098         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48099         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48100         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48101         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48102         powerpc/power5+/fpu folders.
48103         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48106 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48110 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48112         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48113         additions to variable.
48114         [$(config-machine) = x86_64] (modules-names): Likewise.
48115         ($(objpfx)tst-audit3): Remove dependency.
48116         ($(objpfx)tst-audit3.out): Likewise.
48117         ($(objpfx)tst-audit4): Likewise.
48118         ($(objpfx)tst-audit4.out): Likewise.
48119         ($(objpfx)tst-audit5): Likewise.
48120         ($(objpfx)tst-audit5.out): Likewise.
48121         ($(objpfx)tst-audit6): Likewise.
48122         ($(objpfx)tst-audit6.out): Likewise.
48123         ($(objpfx)tst-audit7): Likewise.
48124         ($(objpfx)tst-audit7.out): Likewise.
48125         (tst-audit3-ENV): Remove variable.
48126         (tst-audit4-ENV): Likewise.
48127         (tst-audit5-ENV): Likewise.
48128         (tst-audit6-ENV): Likewise.
48129         (tst-audit7-ENV): Likewise.
48130         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48131         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48132         addition to variable.
48133         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48135         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48136         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48137         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48138         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48139         tst-audit3, tst-audit4 and tst-audit5.
48140         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48141         tst-audit6 and tst-audit7.
48142         [$(subdir) = elf] (modules-names): Add audit modules for those
48143         tests.
48144         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48145         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48146         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48147         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48148         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48149         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48150         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48151         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48152         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48153         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48154         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48155         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48156         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48157         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48158         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48159         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48160         Likewise.
48161         [$(subdir) = elf && $(config-cflags-avx) = yes]
48162         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48163         [$(subdir) = elf && $(config-cflags-avx) = yes]
48164         (CFLAGS-tst-auditmod4a.c): Likewise.
48165         [$(subdir) = elf && $(config-cflags-avx) = yes]
48166         (CFLAGS-tst-auditmod4b.c): Likewise.
48167         [$(subdir) = elf && $(config-cflags-avx) = yes]
48168         (CFLAGS-tst-auditmod6b.c): Likewise.
48169         [$(subdir) = elf && $(config-cflags-avx) = yes]
48170         (CFLAGS-tst-auditmod6c.c): Likewise.
48171         [$(subdir) = elf && $(config-cflags-avx) = yes]
48172         (CFLAGS-tst-auditmod7b.c): Likewise.
48173         * elf/tst-audit3.c: Move to ...
48174         * sysdeps/x86_64/tst-audit3.c: ... here.
48175         * elf/tst-audit4.c: Move to ...
48176         * sysdeps/x86_64/tst-audit4.c: ... here.
48177         * elf/tst-audit5.c: Move to ...
48178         * sysdeps/x86_64/tst-audit5.c: ... here.
48179         * elf/tst-audit6.c: Move to ...
48180         * sysdeps/x86_64/tst-audit6.c: ... here.
48181         * elf/tst-audit7.c: Move to ...
48182         * sysdeps/x86_64/tst-audit7.c: ... here.
48183         * elf/tst-auditmod3a.c: Move to ...
48184         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48185         * elf/tst-auditmod3b.c: Move to ...
48186         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48187         * elf/tst-auditmod4a.c: Move to ...
48188         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48189         * elf/tst-auditmod4b.c: Move to ...
48190         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48191         * elf/tst-auditmod5a.c: Move to ...
48192         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48193         * elf/tst-auditmod5b.c: Move to ...
48194         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48195         * elf/tst-auditmod6a.c: Move to ...
48196         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48197         * elf/tst-auditmod6b.c: Move to ...
48198         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48199         * elf/tst-auditmod6c.c: Move to ...
48200         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48201         * elf/tst-auditmod7a.c: Move to ...
48202         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48203         * elf/tst-auditmod7b.c: Move to ...
48204         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48206 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48208         [BZ #15366]
48209         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48210         define unconditionally.
48211         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48212         define unconditionally.
48213         (INT8_C, INT16_C, etc.): Likewise.
48215 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48217         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48218         __ehdr_start with hidden visibility.
48220         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48222 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48224         * math/libm-test.inc (cos_test): Use accurate hex constants.
48225         (sincost_test): Likewise.
48227 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48229         * math/libm-test.inc (catan_test): Add more tests.
48230         (catanh_test): Likewise.
48232         * math/s_catanf.c (__catanf): Use suffixed floating-point
48233         constants.
48234         * math/s_catanhf.c (__catanhf): Likewise.
48235         * math/s_catanhl.c (__catanhl): Likewise.
48236         * math/s_catanl.c (__catanl): Likewise.
48238         [BZ #15394]
48239         * math/s_catan.c (__catan): Calculate imaginary part of result
48240         with log1p not log unless computing log of number close to 0.
48241         * math/s_catanf.c (__catanf): Likewise.
48242         * math/s_catanl.c (__catanl): Likewise.
48243         * math/s_catanh.c (__catanh): Calculate real part of result with
48244         log1p not log unless computing log of number close to 0.
48245         * math/s_catanhf.c (__catanhf): Likewise.
48246         * math/s_catanhl.c (__catanhl): Likewise.
48247         * math/libm-test.inc (catan_test): Add more tests.
48248         (catanh_test): Likewise.
48249         * sysdeps/i386/fpu/libm-test-ulps: Update.
48250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48252 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48254         * benchtests/Makefile: Mention files in which fast and slow
48255         paths of math functions are implemented.
48257 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48259         * sysdeps/posix/timespec_get.c: New file.
48261 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48263         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48264         POWER.
48265         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48266         for POWER.
48267         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48268         powerpc/power5/fpu folders.
48269         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48270         * benchtests/Makefile: Add modf testcase.
48271         * benchtests/bench-modf.c: New file: Benchmark test for mo
48273 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48275         [BZ #14888]
48276         * time/Makefile (tests): Add tst-strptime-whitespace.
48277         * time/strptime_l.c (get_number): Use ISSPACE.
48278         (__strptime_internal): Likewise.
48279         * time/tst-strptime-whitespace.c: New test case.
48281 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48283         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48284         member.
48285         (_nss_files_init): Set it here.
48287 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48289         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48290         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48291         unsigned.
48293 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48295         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48297 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48299         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48300         size just once.
48302 2013-04-21  David S. Miller  <davem@davemloft.net>
48304         * po/ru.po: Update Russion translation from translation project.
48306 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48308         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48309         and setfsgid.
48311 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48313         * configure.in: Remove i386 configure warning. Remove i386 case.
48314         * configure: Regenerate.
48315         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48316         Add example to error message.
48317         * sysdeps/i386/configure: Regenerate.
48319 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48321         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48322         slowtan.
48323         * benchtests/cos-inputs: New file.
48324         * benchtests/slowcos-inputs: New file.
48325         * benchtests/slowcos.c: New file.
48326         * benchtests/slowtan-inputs: New file.
48327         * benchtests/slowtan.c: New file.
48328         * benchtests/tan-inputs: New file.
48330 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48332         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48333         considered kosher.
48335 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48337         * benchtests/Makefile: Include cppflags-iterator.mk to add
48338         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48340         * Makefile.in (bench-clean): New target.
48341         * benchtests/Makefile (bench-clean): Likewise.
48343 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48345         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48347 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48349         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48351 2013-04-15  Andreas Schwab  <schwab@suse.de>
48353         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48354         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48355         * nscd/pwdcache.c (cache_addpw): Likewise.
48356         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48357         more than recsize.
48359 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48361         * benchtests/Makefile (bench): Write all output to
48362         bench-out.tmp together.
48364 2013-04-15  Andreas Schwab  <schwab@suse.de>
48366         * nscd/nscd.c (main): Don't fork again after closing files.
48368 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48370         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48372         * benchtests/Rules (bench-deps): Collect dependencies into a
48373         single variable.  Add Makefile to dependencies.
48374         ($(objpfx)bench-%.c): Depend on bench-deps.
48376 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48377             Xavier Roche  <roche+kml2@exalead.com>
48379         [BZ #15361]
48380         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48381         just that it's a file descriptor.
48382         * manual/llio.texi (Synchronizing AIO Operations): Update description
48383         for EBADF error from aio_fsync.
48385 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48387         * Rules (bench): Move target definition...
48388         * benchtests/Makefile: ... here.
48390 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48392         * math/libm-test.inc (cos_test): Fix PI/2 test.
48393         (sincos_test): Likewise.
48394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48395         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48397 2013-04-11  Andreas Schwab  <schwab@suse.de>
48399         [BZ #13988]
48400         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48401         accept exponent character only when digits were seen.
48402         * stdio-common/Makefile (tests): Add bug26.
48403         * stdio-common/bug26.c: New file.
48405         [BZ #14293]
48406         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48407         non-freeable.
48409 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48411         * Makeconfig (rtld-prefix): Define built linker prefix.
48412         * Rules (run-bench): Use it.
48413         * math/Makefile (run-regen-ulps): Likewise.
48415         * Rules (bench): Remove eval.
48417 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48418             Roland McGrath  <roland@hack.frob.com>
48419             Ondrej Bilka  <neleai@seznam.cz>
48421         [BZ #15346]
48422         * time/getdate.c: Include ctype.h and alloca.h.
48423         (__getdate_r): Trim leading and trailing spaces of input.
48424         * time/tst-getdate.c (tests): Add tests with leading and
48425         trailing spaces.
48427 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48429         [BZ #14280]
48430         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48431         when computing value.
48433 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48435         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48436         Use testrun.sh to run libm tests.
48438         [BZ #15309]
48439         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48441 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48443         [BZ #15264]
48444         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48448         * Makefile.in (regen-ulps): New target.
48449         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48450         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48451         [ifneq (no,$(PERL)] (regen-ulps): New target.
48452         [ifeq (no,$(PERL)] (regen-ulps): New target.
48453         * math/libm-test.inc (ulps_file_name): Define.
48454         (output_dir): New variable.
48455         (options): Add "output-dir" option.
48456         (parse_opt): Handle 'o' case.
48457         (main): If output_dir is non-NULL use it as a prefix
48458         otherwise use "".
48459         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48461 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48463         [BZ #10060, #10062]
48464         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48465         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48466         fail configure if __sync_val_compare_and_swap is not inlined.
48467         * sysdeps/i386/configure: Regenerate.
48468         * configure.in: Build for i686 when configured for i386.
48469         * configure: Regenerate.
48470         * README: Remove i386 reference.
48472 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48474         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48475         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48477 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48479         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48480         (lmsnanval): New variables.
48481         (F): Add conversion tests.
48482         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48483         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48485         * stdio-common/tstdiomisc.c (F): Properly collect individual
48486         tests' results.
48488         [BZ #14686, #15336]
48489         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48490         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48491         Instead, use input NaN values or generate a qNaN by arithmetic
48492         operation.  Also fix bugs to comply with the standard.
48493         * math/libm-test.inc (remainder_test): Add more tests.
48495         [BZ #15335, #15342]
48496         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48498         input NaN values or generate a qNaN by arithmetic operation.
48500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48501         unreachable code.
48503         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48504         definitions.
48506 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48508         [BZ #14478]
48509         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48510         underflowed result.
48511         * math/s_cexpf.c (__cexpf): Likewise.
48512         * math/s_cexpl.c (__cexpl): Likewise.
48513         * math/libm-test.inc (cexp_test): Add more tests.
48515 2013-04-03  Andreas Schwab  <schwab@suse.de>
48517         [BZ #15330]
48518         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48519         order arrays from heap if bigger than alloca cutoff.
48521 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48523         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48524         (SNAN_TESTS_double): Refer to GCC PR56831.
48525         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48526         GCC PR56828.
48528 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48530         * Rules (bench): Move bench.out after the run is complete.
48532         * Rules (bench): Echo currently running benchmark.
48534         * benchtests/Makefile (bench): Add atan and slowatan.
48535         * benchtests/atan-inputs: New file.
48536         * benchtests/slowatan-inputs: New file.
48537         * benchtests/slowatan.c: New file.
48539         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48541         its value.
48543         [BZ #15305]
48544         * sysdeps/unix/sysv/linux/kernel-features.h
48545         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48546         __ASSUME_XFS_RESTRICTED_CHOWN.
48547         * sysdeps/unix/sysv/linux/pathconf.c
48548         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48549         Save and restore errno.
48551 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48553         [BZ #15327]
48554         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48555         arguments using __kernel_casinh.
48556         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48557         arguments using __kernel_casinhf.
48558         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48559         arguments using __kernel_casinhl.
48560         * math/libm-test.inc (cacosh_test): Add more tests.
48561         * sysdeps/i386/fpu/libm-test-ulps: Update.
48562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48564 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48569         * bench/Makefile (bench): Add sin and slowsin.
48570         * benchtests/sin-inputs: New file.
48571         * benchtests/slowsin-inputs: New file.
48572         * benchtests/slowsin.c: New file.
48574         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48575         (bench): Add slowexp and slowpow.
48576         (exp-ITER): Increase iterations.
48577         (pow-ITER): Likewise.
48578         * benchtests/exp-inputs: Change input.
48579         * benchtests/pow-inputs: Likewise.
48580         * benchtests/slowexp-inputs: New file.
48581         * benchtests/slowexp.c: New file.
48582         * benchtests/slowpow-inputs: New file.
48583         * benchtests/slowpow.c: New file.
48585 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48587         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48588         instructions.
48589         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48590         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48591         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48592         * benchtests/Makefile: Add rint benchtest.
48593         * benchtests/rint-inputs: Input for rint benchtest.
48595 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48597         * Versions.def (libm): Add GLIBC_2.18.
48598         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48599         hidden libm prototypes.
48600         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48601         * math/Makefile (libm-calls): Add s_issignaling.
48602         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48603         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48604         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48605         declaration.
48606         * math/math.h [__USE_GNU] (issignaling): New macro.
48607         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48608         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48609         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48610         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48613         * manual/arith.texi (issignaling): New section.
48614         * manual/libm-err-tab.pl (@all_functions): Update comment.
48615         * math/gen-libm-test.pl (parse_args): Apply special handling for
48616         issignaling.
48617         * math/libm-test.inc (print_float, issignaling_test): New
48618         functions.
48619         (check_float_internal): Add issignaling checks.
48620         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48621         default definition.
48622         * sysdeps/powerpc/math-tests.h: New file.
48623         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48624         tests.
48625         * math/test-snan.c (TEST_FUNC): Likewise.
48627 2013-03-30  David S. Miller  <davem@davemloft.net>
48629         * po/de.po: Update from translation team.
48631 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48633         [BZ #10357]
48634         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48635         imaginary part less than 1.0 and real part less than 0.5
48636         specially.
48637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48639         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48640         (cacos_test): Add more tests.
48641         (casin_test): Likewise.
48642         (casinh_test): Likewise.
48643         * sysdeps/i386/fpu/libm-test-ulps: Update.
48644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48646 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48648         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48649         ONE with its value.
48651         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48652         (__pow_mp): Replace ONE and MONE with their values.
48653         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48654         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48655         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48656         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48657         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48658         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48660         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48662         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48663         (__pow_mp): Replace ZERO and MZERO with their values.
48664         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48668         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48669         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48670         (__sqr): Likewise.
48672         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48674         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48676 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48678         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48679         Declare with __attribute__ ((weak)).
48680         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48681         Call __call_tls_dtors only if it's not NULL.
48683 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48685         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48686         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48687         magic __ehdr_start linker symbol if it's defined.
48688         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48689         them up here if it was already done.
48691         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48692         (_dl_aux_init): Use const in cast when setting it.
48693         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48694         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48695         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48697         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48698         Declare them here.
48699         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48700         * csu/libc-tls.c: Nor here.
48701         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48703         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48704         (__libc_message): Never call vsyslog.
48706 2013-03-28  Alan Modra  <amodra@gmail.com>
48708         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48709         Define as empty.
48710         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48711         Likewise.
48713 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48715         [BZ #15214]
48716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48717         underflow.
48718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48720 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48722         [BZ #15304]
48723         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48724         Don't add gid passed as argument.
48726         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48728 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48730         [BZ #15307]
48731         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48732         imaginary part between 1.0 and 1.5 and real part less than 0.5
48733         specially.
48734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48736         * math/libm-test.inc (cacos_test): Add more tests.
48737         (casin_test): Likewise.
48738         (casinh_test): Likewise.
48739         * sysdeps/i386/fpu/libm-test-ulps: Update.
48740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48742 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48744         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48745         constants.
48746         (norm): Likewise.
48747         (denorm): Likewise.
48748         (__dbl_mp): Likewise.
48749         (add_magnitudes): Likewise.
48750         (sub_magnitudes): Likewise.
48751         (__add): Likewise.
48752         (__sub): Likewise.
48753         (__mul): Likewise.
48754         (__sqr): Likewise.
48755         (__inv): Likewise.
48756         (__dvd): Likewise.
48758         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48759         commented code.
48760         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48761         (__dubcos): Likewise.
48762         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48763         (__ieee754_acos): Likewise.
48764         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48765         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48766         (__exp1): Likewise.
48767         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48769         (log1): Likewise.
48770         (my_log2): Likewise.
48771         (checkint): Likewise.
48772         * sysdeps/ieee754/dbl-64/e_remainder.c
48773         (__ieee754_remainder): Likewise.
48774         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48776         (bsloww): Likewise.
48777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48779         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48780         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48781         MANTISSA_STORE_T to store computations on mantissa.  Use
48782         macros for rounding and division.
48783         (denorm): Likewise.
48784         (__dbl_mp): Likewise.
48785         (add_magnitudes): Likewise.
48786         (sub_magnitudes): Likewise.
48787         (__mul): Likewise.
48788         (__sqr): Likewise.
48789         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48790         powers of two in terms of TWOPOW macro.
48791         (mp_no): Make type of mantissa as MANTISSA_T.
48792         [!RADIXI]: Define RADIXI.
48793         [!TWO52]: Define TWO52.
48794         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48796 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48798         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48799         llroundl symbol when building for PPC32.
48801 2013-03-24  Mark H Weaver  <mhw@netris.org>
48803         * manual/arith.texi (Normalization Functions): Fix prototypes for
48804         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48806 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48808         [BZ #13889]
48809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48810         high value to check if expl overflow.
48811         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48812         to check for underflow and overflow.
48813         * math/libm-test.inc: Add exp test.
48815 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48817         [BZ #11120]
48818         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48819         with NOT_IN_libc.
48821 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48823         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48824         symbol.
48826 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48828         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48829         wrap blocks consisting of several statements.
48831         * sysdeps/generic/math-tests.h: New file.
48832         * sysdeps/i386/fpu/math-tests.h: Likewise.
48833         * math/test-snan.c: Include it.
48834         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48836 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48838         [BZ #15285]
48839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48840         (__ieee754_j0l): Do not improve calculations using cos of twice
48841         input for inputs above LDBL_MAX / 2.0L.
48842         (__ieee754_y0l): Likewise.
48843         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48844         (__ieee754_j1l): Do not improve calculations using cos of twice
48845         input for inputs above LDBL_MAX / 2.0L.
48846         (__ieee754_y1l): Likewise.
48847         * math/libm-test.inc (j0_test): Add another test.
48848         (j1_test): Likewise.
48849         (y0_test): Likewise.
48850         (y1_test): Likewise.
48851         * sysdeps/i386/fpu/libm-test-ulps: Update.
48853 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48855         * Rules ($(objpfx)bench-%.c): Include code from a C source
48856         file.
48858 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48860         [BZ #15287]
48861         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48862         imaginary part 1.0 and real part less than 0.5 specially.
48863         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48864         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48865         * math/libm-test.inc (cacos_test): Add more tests.
48866         (casin_test): Likewise.
48867         (casinh_test): Likewise.
48868         * sysdeps/i386/fpu/libm-test-ulps: Update.
48869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48871 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48874         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48876 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48878         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48879         * config.make.in (config-cflags-sse4): Remove variable.
48880         (config-cflags-avx): Likewise.
48881         (config-cflags-sse2avx): Likewise.
48882         (config-cflags-novzeroupper): Likewise.
48883         (config-asflags-i686): Likewise.
48884         (have-mfma4): Likewise.
48885         (have-as-vis3): Likewise.
48886         (MIG): Likewise.
48887         * configure.in (MIG): Do not AC_SUBST.
48888         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48889         (libc_cv_cc_sse4): Do not AC_SUBST.
48890         (libc_cv_cc_avx): Likewise.
48891         (libc_cv_cc_sse2avx): Likewise.
48892         (libc_cv_cc_novzeroupper): Likewise.
48893         (libc_cv_cc_fma4): Likewise.
48894         (libc_cv_as_i686): Likewise.
48895         (libc_cv_sparc_as_vis3): Likewise.
48896         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48897         LIBC_CONFIG_VAR.
48898         (config-asflags-i686): Likewise.
48899         (config-cflags-avx): Likewise.
48900         (config-cflags-sse2avx): Likewise.
48901         (have-mfma4): Likewise.
48902         (config-cflags-novzeroupper): Likewise.
48903         * sysdeps/mach/configure.in (MIG): Likewise.
48904         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48905         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48906         LIBC_CONFIG_VAR.
48907         (config-cflags-avx): Likewise.
48908         (config-cflags-sse2avx): Likewise.
48909         (have-mfma4): Likewise.
48910         (config-cflags-novzeroupper): Likewise.
48911         * configure: Regenerated.
48912         * sysdeps/i386/configure: Likewise.
48913         * sysdeps/mach/configure: Likewise.
48914         * sysdeps/sparc/configure: Likewise.
48915         * sysdeps/x86_64/configure: Likewise.
48917 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48919         [BZ #14812]
48920         * locale/programs/localedef.c (options): Put N_ translation marker
48921         on argument names, not just descriptions.
48923 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48925         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48927 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48929         [BZ #14176]
48930         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48932 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48934         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48935         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48936         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48937         [!BEFORE_ABORT] (before_abort): New function.
48938         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48939         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48940         (writev_for_fatal): New function.
48941         (WRITEV_FOR_FATAL): New macro; call that.
48942         (backtrace_and_maps): New function.
48943         (BEFORE_ABORT): New macro; call that.
48944         (struct str_list): Type removed.
48945         (__libc_message, __libc_fatal): Functions removed.
48946         Include <sysdeps/posix/libc_fatal.c> instead.
48948 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48950         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48951         constants.
48952         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48953         double constants.
48955 2013-03-19  Andreas Schwab  <schwab@suse.de>
48957         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48958         * sysdeps/gnu/configure: Regenerate.
48960         * configure.in: Substitute libc_cv_rtlddir.
48961         * configure: Regenerate.
48962         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48963         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48964         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48965         * elf/Makefile (install-others, CFLAGS-interp.c)
48966         (ldso_install, common-ldd-rewrite): Likewise.
48967         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48968         $(inst_slibdir)/$(rtld-installed-name).
48969         * scripts/rellns-sh: Add -p option.
48970         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48971         for source.
48973 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48975         * manual/nptl.texi: Renamed to ...
48976         * manual/threads.texi: ... this.
48977         * manual/Makefile (chapters): Update.
48979 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48981         [BZ #14812]
48982         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48983         on argument names, not just descriptions.
48984         * malloc/memusagestat.c (options): Likewise.
48985         * nss/getent.c (options): Likewise.
48987 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48989         [BZ #14812]
48990         * iconv/iconv_prog.c (options): Put N_ translation marker
48991         on argument names, not just descriptions.
48992         * iconv/iconvconfig.c (options): Likewise.
48994 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48996         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48997         implementation which is faster on all x86_64 architectures.
48998         Tested on AMD, Intel Nehalem, SNB, IVB.
48999         * sysdeps/x86_64/strnlen.S: Likewise.
49001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49002         Remove all multiarch strlen and strnlen versions.
49003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49004         Remove strlen and strnlen related parts.
49006         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49007         Inline strlen part.
49008         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49010         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49011         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49012         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49013         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49014         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49015         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49017 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49019         * manual/memory.texi (Malloc Tunable Parameters):
49020         Sort parameters alphabetically. Add comments for missing entries.
49022 2013-03-17  David S. Miller  <davem@davemloft.net>
49024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49026 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49028         [BZ #15283]
49029         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49030         for arguments at most half maximum finite value.
49031         * math/libm-test.inc (j0_test): Add more tests.
49032         (j1_test): Likewise.
49033         (y0_test): Likewise.
49034         (y1_test): Likewise.
49035         * sysdeps/i386/fpu/libm-test-ulps: Update.
49036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49038         [BZ #14155]
49039         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49040         1 / x and functions P and Q for arguments above 0x1p256L.
49041         (__ieee754_y0l): Likewise.
49042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49043         (__ieee754_y1l): Likewise.
49044         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49045         (j1_test): Likewise.
49046         (y0_test): Likewise.
49047         (y1_test): Likewise.
49049 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49051         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49052         variable.
49054 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49056         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49057         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49058         zero since it's initialized to EXEC_PAGESIZE.
49060         * sysdeps/unix/sysv/linux/ldsodefs.h
49061         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49062         * sysdeps/generic/ldsodefs.h: ... here.
49064 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49066         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49068         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49069         math/test-snan.c.
49070         * math/test-snan.c: Renamed from
49071         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49072         * math/Makefile (tests): Add test-snan.
49073         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49074         test-powerpc-snan.
49076         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49077         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49078         functions.
49079         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49080         __builtin_nan family of functions.
49081         * math/libm-test.inc (initialize): Initialize qnan_value with
49082         __builtin_nan family of functions.
49083         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49084         Remove variables.
49085         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49086         Remove functions.
49087         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49088         storage class.  Initialize qNaN_var and sNaN_var with
49089         __builtin_nan and __builtin_nans families of functions,
49090         respectively.
49092         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49093         (sqrt_test): Remove duplicate test with qNaN input.
49094         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49095         (round_test, signbit_test, significand_test): Note missing +/-Inf
49096         as well as qNaN tests.
49098         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49099         qNaN_var.  Fix a few strings, too.
49100         * math/libm-test.inc (nan_value): Rename to qnan_value.
49101         * math/gen-libm-test.pl (%beautify): Adjust to that.
49102         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49103         * math/test-misc.c (main): Likewise.
49104         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49105         to __qnan_bytes, and __qnan_union, respectively.
49106         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49107         Likewise.
49108         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49109         and lqnanval, respectively.
49110         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49111         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49112         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49113         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49115         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49116         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49117         doubles.
49119         * math/test-misc.c (main): Fix copy'n'pastos.
49120         * misc/tst-efgcvt.c (special): Likewise.
49122         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49123         Remove declarations.
49125 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49127         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49128         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49129         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49130         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49132 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49134         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49135         macro to return vdso values correctly in IFUNC implementations.
49136         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49137         Optimization by using IFUNC.
49139 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49140             Richard Henderson  <rth@redhat.com>
49141             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49143         * Makefile.in (bench): New target.
49144         * NEWS: Mention the benchmark framework.
49145         * Rules (bench): Likewise.
49146         (binaries-bench): Generate binaries for functions to
49147         benchmark.
49148         * benchtests/Makefile: New makefile for benchmark tests.
49149         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49150         programs.
49151         * benchtests/exp-inputs: New input file for EXP function.
49152         * benchtests/pow-inputs: New input file for POW function.
49153         * scripts/bench.pl: New script to generate source files for
49154         benchmark programs.
49156 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49158         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49159         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49160         computations on mantissa.  Use macros for rounding and
49161         division.
49162         (denorm): Likewise.
49163         (__dbl_mp): Likewise.
49164         (add_magnitudes): Likewise.
49165         (sub_magnitudes): Likewise.
49166         (__mul): Likewise.
49167         (__sqr): Likewise.
49168         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49169         powers of two in terms of TWOPOW macro.
49170         (mp_no): Make type of mantissa as MANTISSA_T.
49171         [!RADIXI]: Define RADIXI.
49172         [!TWO52]: Define TWO52.
49173         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49175         * manual/nptl.texi (cindex): Modify threads to pthreads.
49177 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49179         * sysdeps/x86_64/preconfigure: Regenerated.
49181 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49183         [BZ #14155]
49184         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49185         0x1p28 and above.
49186         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49187         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49188         0x1p28 and above.
49189         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49190         * math/libm-test.inc (j0_test): Do not allow one spurious
49191         underflow exception.
49192         (y1_test): Likewise.
49194 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49196         * manual/Makefile (chapters): Add nptl.
49197         * manual/debug.texi (Debugging Support): Add link to Threads
49198         chapter.
49199         * manual/nptl.texi: New file.
49201         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49203 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49205         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49206         for non-NULL pointer before the memory validity test. Pointed
49207         out by Holger Brunck <holger.brunck@keymile.com>.
49209 2013-03-13  Andreas Schwab  <schwab@suse.de>
49211         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49212         instead of .os.
49214 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49216         * timezone/zic.c: Update from tzcode 2013b.
49218 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49220         * manual/install.texi (Configuring and compiling):
49221         Mention i686 and i586.
49222         * INSTALL: Regenerate.
49224 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49226         * sysdeps/init_array/elf-init.c: New file.
49227         * csu/elf-init.c
49228         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49229         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49231         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49232         __gmon_start__ as global, but as static with a .preinit_array pointer.
49233         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49234         * sysdeps/init_array/crti.S: New file, empty except for comments.
49235         * sysdeps/init_array/crtn.S: Likewise.
49237 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49239         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49240         definining bcopy.
49241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49242         Remove Prefer_SSE_for_memop.
49243         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49244         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49245         HAS_PREFER_SSE_FOR_MEMOP.
49246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49247         memset-x86-64.
49248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49249         Remove bzero, memset ifunc support.
49250         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49251         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49252         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49253         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49255 2013-03-11  Andreas Schwab  <schwab@suse.de>
49257         [BZ #15234]
49258         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49259         by SHLIB_COMPAT.
49260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49261         (GLIBC_2.16): Remove pthread_atfork.
49263 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49265         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49266         (ptestcases.h): Likewise.
49268 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49270         * Makeconfig ($(common-objpfx)config.status): Depend on
49271         sysdeps/*/preconfigure{,.in} too.
49273 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49275         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49276         (__free_hook): Use void * instead of __malloc_ptr_t.
49277         (__malloc_hook): Likewise.
49278         (__realloc_hook): Likewise.
49279         (__memalign_hook): Likewise.
49280         (__after_morecore_hook): Likewise.
49281         * malloc/arena.c (save_malloc_hook): Likewise.
49282         (save_free_hook): Likewise.
49283         * malloc/hooks.c (malloc_hook_ini): Likewise.
49284         (realloc_hook_ini): Likewise.
49285         (memalign_hook_ini): Likewise.
49286         * malloc/malloc.c (malloc_hook_ini): Likewise.
49287         (realloc_hook_ini): Likewise.
49288         (memalign_hook_ini): Likewise.
49289         (__free_hook): Likewise.
49290         (__malloc_hook): Likewise.
49291         (__realloc_hook): Likewise.
49292         (__memalign_hook): Likewise.
49293         (__libc_malloc): Likewise.
49294         (__libc_free): Likewise.
49295         (__libc_realloc): Likewise.
49296         (__libc_memalign): Likewise.
49297         (__libc_valloc): Likewise.
49298         (__libc_pvalloc): Likewise.
49299         (__libc_calloc): Likewise.
49300         (__posix_memalign): Likewise.
49301         * malloc/morecore.c (__sbrk): Likewise.
49302         (__default_morecore): Likewise.
49304         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49306         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49307         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49308         __malloc_ptrdiff_t.
49310         * malloc/malloc.h (__malloc_size_t): Remove macro.
49311         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49312         __malloc_size_t.
49313         (old_memalign_hook): Likewise.
49314         (old_realloc_hook): Likewise.
49315         (struct hdr): Likewise.
49316         (flood): Likewise.
49317         (mallochook): Likewise.
49318         (memalignhook): Likewise.
49319         (reallochook): Likewise.
49320         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49321         (tr_old_realloc_hook): Likewise.
49322         (tr_old_memalign_hook): Likewise.
49323         (tr_mallochook): Likewise.
49324         (tr_reallochook): Likewise.
49325         (tr_memalignhook): Likewise.
49327 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49330         default_ldbl_pack and using as default implementation.
49331         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49332         implementation.
49333         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49334         redundant definition.
49335         (ldbl_insert_mantissa): Likewise.
49336         (ldbl_canonicalize): Likewise.
49337         (ldbl_nearbyint): Likewise.
49338         (ldbl_pack): Rename to ldbl_pack_ppc.
49339         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49340         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49341         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49343 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49346         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49347         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49348         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49350         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49351         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49352         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49354 2013-03-07  Andreas Jaeger  <aj@suse.de>
49356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49357         bits/mman-linux.h.
49359 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49361         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49362         Include mpa.h and declare __MPEXP.
49363         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49365         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49367         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49368         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49369         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49371         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49372         (__slowpow): Use long double EXPL and LOGL functions to
49373         compute POW.
49374         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49375         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49376         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49377         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49378         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49379         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49382         intermediate variable to calculate exponent.
49383         (__sqr): Likewise.
49384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49385         Likewise.
49386         (__sqr): Likewise.
49388         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49389         [!NO__SQR]: Define __sqr.
49390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49391         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49392         sysdeps/ieee754/dbl-64/mpa.c.
49393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49395         [BZ #12723]
49396         * posix/Makefile (tests): Add tst-pathconf.
49397         * posix/tst-pathconf.c: New test case.
49398         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49399         _PC_PIPE_BUF.
49400         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49402 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49404         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49406 2013-03-06  Andreas Jaeger  <aj@suse.de>
49408         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49409         definition via __MAP_ANONYMOUS.
49411         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49412         it's not part of Linux headers.
49414         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49415         (MAP_HUGE_MASK): Define.
49417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49418         Define.
49419         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49421         Define.
49422         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49423         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49424         Define.
49425         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49427         Define.
49428         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49430         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49431         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49432         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49433         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49434         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49435         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49437         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49438         Handle f2fs.
49440         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49441         Handle f2fs and efivarfs.
49443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49444         f2fs.
49446         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49447         (EFIVARFS_MAGIC): Add.
49448         (F2FS_LINK_MAX): Add.
49450 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49452         * stdio-common/vfprintf.c: Replace __builtin_expect with
49453         __glibc_unlikely.
49455 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49457         [BZ #13550]
49458         * sysdeps/generic/bp-sym.h: Remove file.
49459         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49460         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49461         <bp-sym.h> and <bp-asm.h>.
49462         (__longjmp): Don't use BP_SYM.
49463         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49464         and <bp-asm.h>.
49465         (memcpy): Don't use BP_SYM.
49466         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49467         <bp-sym.h> and <bp-asm.h>.
49468         (memcpy): Don't use BP_SYM.
49469         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49470         <bp-asm.h>.
49471         (memcpy): Don't use BP_SYM.
49472         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49473         <bp-asm.h>.
49474         (memset): Don't use BP_SYM.
49475         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49476         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49477         (__bzero): Don't use BP_SYM.
49478         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49479         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49481         <bp-sym.h> and <bp-asm.h>.
49482         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49483         pointers.
49484         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49485         <bp-sym.h> and <bp-asm.h>.
49486         (memcpy): Don't use BP_SYM.
49487         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49488         <bp-sym.h> and <bp-asm.h>.
49489         (memset): Don't use BP_SYM.
49490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49492         (__bzero): Don't use BP_SYM.
49493         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49494         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49495         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49496         <bp-sym.h> and <bp-asm.h>.
49497         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49498         pointers.
49499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49500         <bp-sym.h> and <bp-asm.h>.
49501         (memcpy): Don't use BP_SYM.
49502         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49503         <bp-sym.h> and <bp-asm.h>.
49504         (memset): Don't use BP_SYM.
49505         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49506         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49507         (__bzero): Don't use BP_SYM.
49508         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49509         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49511         <bp-sym.h> and <bp-asm.h>.
49512         (__memchr): Don't use BP_SYM.
49513         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49514         <bp-sym.h> and <bp-asm.h>.
49515         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49516         pointers.
49517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49518         <bp-sym.h> and <bp-asm.h>.
49519         (memcpy): Don't use BP_SYM.
49520         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49521         <bp-sym.h> and <bp-asm.h>.
49522         (__mempcpy): Don't use BP_SYM.
49523         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49524         <bp-sym.h> and <bp-asm.h>.
49525         (__memrchr): Don't use BP_SYM.
49526         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49527         <bp-sym.h> and <bp-asm.h>.
49528         (memset): Don't use BP_SYM.
49529         (__bzero): Likewise.
49530         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49531         <bp-sym.h> and <bp-asm.h>.
49532         (__rawmemchr): Don't use BP_SYM.
49533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49534         <bp-sym.h> and <bp-asm.h>.
49535         (__STRCMP): Don't use BP_SYM.
49536         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49537         <bp-sym.h> and <bp-asm.h>.
49538         (strchr): Don't use BP_SYM.
49539         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49540         <bp-sym.h> and <bp-asm.h>.
49541         (__strchrnul): Don't use BP_SYM.
49542         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49543         <bp-sym.h> and <bp-asm.h>.
49544         (strlen): Don't use BP_SYM.
49545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49546         <bp-sym.h> and <bp-asm.h>.
49547         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49548         pointers.
49549         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49550         <bp-sym.h> and <bp-asm.h>.
49551         (__strnlen): Don't use BP_SYM.
49552         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49553         <bp-sym.h> and <bp-asm.h>.
49554         (__GI__setjmp): Don't use BP_SYM.
49555         (_setjmp): Likewise.
49556         (__sigsetjmp): Likewise.
49557         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49558         (L(start_addresses)): Don't use BP_SYM.
49559         (_start): Likewise.
49560         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49561         <bp-asm.h>.
49562         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49563         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49564         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49565         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49566         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49567         <bp-asm.h>.
49568         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49569         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49570         about bounded pointers.
49571         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49572         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49573         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49574         <bp-asm.h>.
49575         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49576         about bounded pointers.  Remove GKM FIXME comments.
49577         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49578         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49579         <bp-asm.h>.
49580         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49581         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49582         Remove GKM FIXME comments.
49583         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49584         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49585         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49586         <bp-asm.h>.
49587         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49588         about bounded pointers.  Remove GKM FIXME comment.
49589         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49590         and <bp-asm.h>.
49591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49592         pointers.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49594         <bp-sym.h> and <bp-asm.h>.
49595         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49597         <bp-sym.h> and <bp-asm.h>.
49598         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49599         comment.
49601 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49603         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49604         call free(NULL).
49606 2013-03-05  David S. Miller  <davem@davemloft.net>
49608         * po/es.po: Update from translation team.
49610 2013-03-05  Andreas Jaeger  <aj@suse.de>
49612         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49613         <bits/mman-linux.h>.
49614         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49615         is fine.
49616         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49617         <bits/mman-linux.h> to end of file.
49618         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49619         is fine.
49620         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49621         <bits/mman-linux.h> to end of file.
49622         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49623         is fine.
49624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49625         <bits/mman-linux.h> to end of file.
49627         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49628         (MCL_CURRENT, MCL_FUTURE): Define here.
49630 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49632         [BZ #15232]
49633         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49634         attribute_hidden.
49635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49637 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49639         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49640         fourth parameter needed for rt_sigprocmask syscall.
49641         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49642         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49643         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49644         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49645         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49646         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49648 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49650         [BZ #13550]
49651         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49652         comment about bounded pointers.
49653         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49654         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49656 2013-03-04  Andreas Jaeger  <aj@suse.de>
49658         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49659         common definitions.
49661         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49662         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49663         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49664         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49665         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49668 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49670         [BZ #15055]
49671         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49672         __ieee754_sqrl instead of __sqrl.
49674 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49676         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49677         * sysdeps/powerpc/fpu_control.h: ... here.
49678         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49679         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49680         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49681         * sysdeps/powerpc/bits/mathinline.h: ... here.
49683 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49685         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49686         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49687         to just [NEED_DL_SYSINFO_DSO].
49688         * elf/dl-support.c: Likewise.
49689         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49690         * elf/rtld.c (dl_main): Likewise.
49691         * elf/setup-vdso.h (setup_vdso): Likewise.
49692         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49693         * sysdeps/unix/sysv/linux/dl-sysdep.c
49694         (_dl_discover_osversion): Likewise.
49696 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49698         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49699         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49701 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49703         * NEWS: Mention libm performance improvements and non-x86 PI
49704         futex support.
49706         * csu/libc-start.c (__pthread_initialize_minimal): Change
49707         function arguments.
49708         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49710 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49712         [BZ #13550]
49713         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49714         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49715         <bp-sym.h> and <bp-asm.h>.
49716         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49718         and <bp-asm.h>.
49719         (memcpy): Don't use BP_SYM.
49720         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49721         <bp-asm.h>.
49722         (__mpn_add_n): Don't use BP_SYM.
49723         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49724         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49725         and <bp-asm.h>.
49726         (__mpn_addmul_1): Don't use BP_SYM.
49727         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49728         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49729         <bp-sym.h>.
49730         (_setjmp): Don't use BP_SYM.
49731         (__novmx_setjmp): Likewise.
49732         (__GI__setjmp): Likewise.
49733         (__vmx_setjmp): Likewise.
49734         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49735         <bp-sym.h>.
49736         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49737         (__bzero): Don't use BP_SYM.
49738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49741         <bp-sym.h> and <bp-asm.h>.
49742         (memcpy): Don't use BP_SYM.
49743         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49744         <bp-sym.h> and <bp-asm.h>.
49745         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49746         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49747         <bp-sym.h> and <bp-asm.h>.
49748         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49749         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49750         <bp-asm.h>.
49751         (__mpn_lshift): Don't use BP_SYM.
49752         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49753         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49754         <bp-asm.h>.
49755         (memset): Don't use BP_SYM.
49756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49758         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49759         <bp-asm.h>.
49760         (__mpn_mul_1): Don't use BP_SYM.
49761         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49762         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49763         <bp-sym.h> and <bp-asm.h>.
49764         (memcmp): Don't use BP_SYM.
49765         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49766         <bp-sym.h> and <bp-asm.h>.
49767         (memcpy): Don't use BP_SYM.
49768         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49769         <bp-sym.h> and <bp-asm.h>.
49770         (memset): Don't use BP_SYM.
49771         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49772         <bp-sym.h> and <bp-asm.h>.
49773         (strncmp): Don't use BP_SYM.
49774         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49775         <bp-sym.h> and <bp-asm.h>.
49776         (memcpy): Don't use BP_SYM.
49777         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49778         <bp-sym.h> and <bp-asm.h>.
49779         (memset): Don't use BP_SYM.
49780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49781         <bp-sym.h> and <bp-asm.h>.
49782         (__memchr): Don't use BP_SYM.
49783         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49784         <bp-sym.h> and <bp-asm.h>.
49785         (memcmp): Don't use BP_SYM.
49786         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49787         <bp-sym.h> and <bp-asm.h>.
49788         (memcpy): Don't use BP_SYM.
49789         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49790         <bp-sym.h> and <bp-asm.h>.
49791         (__mempcpy): Don't use BP_SYM.
49792         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49793         <bp-sym.h> and <bp-asm.h>.
49794         (__memrchr): Don't use BP_SYM.
49795         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49796         <bp-sym.h> and <bp-asm.h>.
49797         (memset): Don't use BP_SYM.
49798         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49799         <bp-sym.h> and <bp-asm.h>.
49800         (__rawmemchr): Don't use BP_SYM.
49801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49802         <bp-sym.h> and <bp-asm.h>.
49803         (__STRCMP): Don't use BP_SYM.
49804         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49805         <bp-sym.h> and <bp-asm.h>.
49806         (strchr): Don't use BP_SYM.
49807         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49808         <bp-sym.h> and <bp-asm.h>.
49809         (__strchrnul): Don't use BP_SYM.
49810         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49811         <bp-sym.h> and <bp-asm.h>.
49812         (strlen): Don't use BP_SYM.
49813         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49814         <bp-sym.h> and <bp-asm.h>.
49815         (strncmp): Don't use BP_SYM.
49816         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49817         <bp-sym.h> and <bp-asm.h>.
49818         (__strnlen): Don't use BP_SYM.
49819         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49820         <bp-asm.h>.
49821         (__mpn_rshift): Don't use BP_SYM.
49822         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49823         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49824         <bp-sym.h> and <bp-asm.h>.
49825         (__sigsetjmp): Don't use BP_SYM.
49826         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49827         (L(start_addresses)): Don't use BP_SYM.
49828         (_start): Likewise.
49829         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49830         <bp-asm.h>.
49831         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49832         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49833         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49834         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49835         <bp-asm.h>.
49836         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49837         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49838         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49839         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49840         <bp-asm.h>.
49841         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49842         comments.
49843         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49844         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49845         <bp-asm.h>.
49846         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49847         FIXME comments.
49848         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49849         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49850         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49851         <bp-asm.h>.
49852         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49853         comment.
49854         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49855         and <bp-asm.h>.
49856         (strncmp): Don't use BP_SYM,
49857         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49858         <bp-asm.h>.
49859         (__mpn_sub_n): Don't use BP_SYM.
49860         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49861         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49862         and <bp-asm.h>.
49863         (__mpn_submul_1): Don't use BP_SYM.
49864         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49866         <bp-sym.h> and <bp-asm.h>.
49867         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49869         <bp-sym.h> and <bp-asm.h>.
49870         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49871         comment.
49873 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49876         Use ZK to minimize writes to Z.
49877         (sub_magnitudes): Simplify code a bit.
49878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49879         Use ZK to minimize writes to Z.
49880         (sub_magnitudes): Simplify code a bit.
49882 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49884         * csu/gmon-start.c: Add special exception to license text.
49886 2013-02-27  Richard Henderson  <rth@redhat.com>
49888         * scripts/config.guess: Update from config.git.
49889         * scripts/config.sub: Likewise.
49891 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49893         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49895         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49897         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49899         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49901         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49903 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49905         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49906         [$(build-shared = yes].
49908 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49910         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49911         (__mul): Reduce iterations for calculating mantissa.
49913         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49914         MPTWO.
49915         (__mpranred): Likewise.
49917         [BZ #15160]
49918         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49919         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49921 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49923         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49924         Define __attribute__.
49926 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49928         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49929         unused.
49930         * posix/regex_internal.h (__attribute): Remove.
49931         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49932         (re_string_context_at): Likewise.
49933         (bitset_not): Use __attribute__ and mark function as possibly
49934         unused.
49935         (bitset_merge): Likewise.
49936         (bitset_mask): Likewise.
49937         (re_string_char_size_at): Likewise.
49938         (re_string_wchar_at): Likewise.
49939         (re_string_elem_size_at): Likewise.
49941 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49943         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49944         code.
49945         (cc32): Likewise.
49947         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49948         (__acr): Likewise.
49949         (__cpy): Likewise.
49950         (norm): Likewise.
49951         (denorm): Likewise.
49952         (__dbl_mp): Likewise.
49953         (add_magnitudes): Likewise.
49954         (sub_magnitudes): Likewise.
49955         (__mul): Likewise.
49956         (__inv): Likewise.
49958         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49959         style.
49961         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49962         style.
49964         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49965         code.
49967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49968         up changes with default code.
49969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49970         Likewise.
49972 2013-02-24  Allan McRae  <allan@archlinux.org>
49974         * manual/socket.texi (The Internet Namespace): Order menu items
49975         to match that in the file.
49977         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49978         node listing of the info page menu.
49980 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #13550]
49983         * sysdeps/i386/bp-asm.h: Remove file.
49984         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49985         (PARMS): Do not use macros from bp-asm.h.
49986         (S1): Likewise.
49987         (S2): Likewise.
49988         (SIZE): Likewise.
49989         (__mpn_add_n): Do not use BP_SYM
49990         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49991         "bp-asm.h".
49992         (PARMS): Do not use macros from bp-asm.h.
49993         (S1): Likewise.
49994         (SIZE): Likewise.
49995         (__mpn_addmul_1): Do not use BP_SYM
49996         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49997         "bp-asm.h".
49998         (PARMS): Do not use macros from bp-asm.h.
49999         (SIGMSK): Likewise.
50000         (_setjmp): Likewise.  Do not use BP_SYM.
50001         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50002         "bp-asm.h".
50003         (PARMS): Do not use macros from bp-asm.h.
50004         (SIGMSK): Likewise.
50005         (setjmp): Likewise.  Do not use BP_SYM.
50006         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50007         "bp-asm.h".
50008         (PARMS): Do not use macros from bp-asm.h.
50009         (__frexp): Do not use BP_SYM.
50010         (frexp): Likewise.
50011         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50012         "bp-asm.h".
50013         (PARMS): Do not use macros from bp-asm.h.
50014         (__frexpf): Do not use BP_SYM.
50015         (frexpf): Likewise.
50016         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50017         "bp-asm.h".
50018         (PARMS): Do not use macros from bp-asm.h.
50019         (__frexpl): Do not use BP_SYM.
50020         (frexpl): Likewise.
50021         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50022         "bp-asm.h".
50023         (PARMS): Do not use macros from bp-asm.h.
50024         (__remquo): Do not use BP_SYM.
50025         (remquo): Likewise.
50026         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50027         "bp-asm.h".
50028         (PARMS): Do not use macros from bp-asm.h.
50029         (__remquof): Do not use BP_SYM.
50030         (remquof): Likewise.
50031         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50032         "bp-asm.h".
50033         (PARMS): Do not use macros from bp-asm.h.
50034         (__remquol): Do not use BP_SYM.
50035         (remquol): Likewise.
50036         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50037         "bp-asm.h".
50038         (PARMS): Do not use macros from bp-asm.h.
50039         (DEST): Likewise.
50040         (SRC): Likewise.
50041         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50042         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50043         "bp-asm.h".
50044         (PARMS): Do not use macros from bp-asm.h.
50045         (strlen): Do not use BP_SYM.
50046         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50047         "bp-asm.h".
50048         (PARMS): Do not use macros from bp-asm.h.
50049         (S1): Likewise.
50050         (S2): Likewise.
50051         (SIZE): Likewise.
50052         (__mpn_add_n): Do not use BP_SYM.
50053         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50054         "bp-asm.h".
50055         (PARMS): Do not use macros from bp-asm.h.
50056         (S1): Likewise.
50057         (SIZE): Likewise.
50058         (__mpn_addmul_1): Do not use BP_SYM.
50059         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50060         weak_alias.
50061         (bzero): Likewise.
50062         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50063         "bp-asm.h".
50064         (PARMS): Do not use macros from bp-asm.h.
50065         (S): Likewise.
50066         (SIZE): Likewise.
50067         (__mpn_lshift): Do not use BP_SYM.
50068         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50069         "bp-asm.h".
50070         (PARMS): Do not use macros from bp-asm.h.
50071         (DEST): Likewise.
50072         (SRC): Likewise.
50073         (LEN): Likewise.
50074         (memcpy): Likewise.  Do not use BP_SYM.
50075         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50076         libc_hidden_def and weak_alias.
50077         (mempcpy): Do not use BP_SYM in weak_alias.
50078         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50079         "bp-asm.h".
50080         (PARMS): Do not use macros from bp-asm.h.
50081         (DEST): Likewise.
50082         (LEN): Likewise.
50083         [!BZERO_P] (CHR): Likewise.
50084         (memset): Likewise.  Do not use BP_SYM.
50085         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50086         "bp-asm.h".
50087         (PARMS): Do not use macros from bp-asm.h.
50088         (S1): Likewise.
50089         (SIZE): Likewise.
50090         (__mpn_mul_1): Do not use BP_SYM.
50091         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50092         "bp-asm.h".
50093         (PARMS): Do not use macros from bp-asm.h.
50094         (S): Likewise.
50095         (SIZE): Likewise.
50096         (__mpn_rshift): Do not use BP_SYM.
50097         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50098         "bp-asm.h".
50099         (PARMS): Do not use macros from bp-asm.h.
50100         (STR): Likewise.
50101         (CHR): Likewise.
50102         (strchr): Likewise.  Do not use BP_SYM.
50103         (index): Do not use BP_SYM in weak_alias.
50104         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50105         "bp-asm.h".
50106         (PARMS): Do not use macros from bp-asm.h.
50107         (DEST): Likewise.
50108         (SRC): Likewise.
50109         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50110         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50111         "bp-asm.h".
50112         (PARMS): Do not use macros from bp-asm.h.
50113         (strlen): Do not use BP_SYM.
50114         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50115         "bp-asm.h".
50116         (PARMS): Do not use macros from bp-asm.h.
50117         (S1): Likewise.
50118         (S2): Likewise.
50119         (SIZE): Likewise.
50120         (__mpn_sub_n): Do not use BP_SYM.
50121         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50122         "bp-asm.h".
50123         (PARMS): Do not use macros from bp-asm.h.
50124         (S1): Likewise.
50125         (SIZE): Likewise.
50126         (__mpn_submul_1): Do not use BP_SYM.
50127         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50128         "bp-asm.h".
50129         (PARMS): Do not use macros from bp-asm.h.
50130         (S1): Likewise.
50131         (S2): Likewise.
50132         (SIZE): Likewise.
50133         (__mpn_add_n): Do not use BP_SYM.
50134         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50135         weak_alias.
50136         (bzero): Likewise.
50137         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50138         "bp-asm.h".
50139         (PARMS): Do not use macros from bp-asm.h.
50140         (BLK2): Likewise.
50141         (LEN): Likewise.
50142         (memcmp): Do not use BP_SYM.
50143         (bcmp): Do not use BP_SYM in weak_alias.
50144         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50145         "bp-asm.h".
50146         (PARMS): Do not use macros from bp-asm.h.
50147         (DEST): Likewise.
50148         (SRC): Likewise.
50149         (LEN): Likewise.
50150         (memcpy): Likewise.  Do not use BP_SYM.
50151         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50152         "bp-asm.h".
50153         (PARMS): Do not use macros from bp-asm.h.
50154         (DEST): Likewise.
50155         (SRC): Likewise.
50156         (LEN): Likewise.
50157         (memmove): Likewise.  Do not use BP_SYM.
50158         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50159         "bp-asm.h".
50160         (PARMS): Do not use macros from bp-asm.h.
50161         (DEST): Likewise.
50162         (SRC): Likewise.
50163         (LEN): Likewise.
50164         (__mempcpy): Likewise.  Do not use BP_SYM.
50165         (mempcpy): Do not use BP_SYM in weak_alias.
50166         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50167         "bp-asm.h".
50168         (PARMS): Do not use macros from bp-asm.h.
50169         (DEST): Likewise.
50170         (LEN): Likewise.
50171         [!BZERO_P] (CHR): Likewise.
50172         (memset): Likewise.  Do not use BP_SYM.
50173         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50174         "bp-asm.h".
50175         (PARMS): Do not use macros from bp-asm.h.
50176         (STR2): Likewise.
50177         (strcmp): Do not use BP_SYM.
50178         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50179         "bp-asm.h".
50180         (PARMS): Do not use macros from bp-asm.h.
50181         (STR): Likewise.
50182         (DELIM): Likewise.
50183         [USE_AS_STRTOK_R] (SAVE): Likewise.
50184         (FUNCTION): Likewise.  Do not use BP_SYM.
50185         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50186         aliases.
50187         (strtok_r): Likewise.
50188         (__GI___strtok_r): Likewise.
50189         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50190         (PARMS): Do not use macros from bp-asm.h.
50191         (S): Likewise.
50192         (SIZE): Likewise.
50193         (__mpn_lshift): Do not use BP_SYM.
50194         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50195         (PARMS): Do not use macros from bp-asm.h.
50196         (STR): Likewise.
50197         (CHR): Likewise.
50198         (__memchr): Do not use BP_SYM.
50199         (memchr): Do not use BP_SYM in weak_alias.
50200         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50201         (PARMS): Do not use macros from bp-asm.h.
50202         (BLK2): Likewise.
50203         (LEN): Likewise.
50204         (memcmp): Do not use BP_SYM.
50205         (bcmp): Do not use BP_SYM in weak_alias.
50206         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50207         (PARMS): Do not use macros from bp-asm.h.
50208         (S1): Likewise.
50209         (SIZE): Likewise.
50210         (__mpn_mul_1): Do not use BP_SYM.
50211         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50212         "bp-asm.h".
50213         (PARMS): Do not use macros from bp-asm.h.
50214         (STR): Likewise.
50215         (CHR): Likewise.
50216         (__rawmemchr): Do not use BP_SYM.
50217         (rawmemchr): Do not use BP_SYM in weak_alias.
50218         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50219         (PARMS): Do not use macros from bp-asm.h.
50220         (S): Likewise.
50221         (SIZE): Likewise.
50222         (__mpn_rshift): Do not use BP_SYM.
50223         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50224         (PARMS): Do not use macros from bp-asm.h.
50225         (SIGMSK): Likewise.
50226         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50227         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50228         (_start): Do not use BP_SYM.
50229         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50230         (PARMS): Do not use macros from bp-asm.h.
50231         (DEST): Likewise.
50232         (SRC): Likewise.
50233         (__stpcpy): Likewise.  Do not use BP_SYM.
50234         (stpcpy): Do not use BP_SYM in weak_alias.
50235         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50236         "bp-asm.h".
50237         (PARMS): Do not use macros from bp-asm.h.
50238         (DEST): Likewise.
50239         (SRC): Likewise.
50240         (LEN): Likewise.
50241         (__stpncpy): Likewise.  Do not use BP_SYM.
50242         (stpncpy): Do not use BP_SYM in weak_alias.
50243         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50244         (PARMS): Do not use macros from bp-asm.h.
50245         (STR): Likewise.
50246         (CHR): Likewise.
50247         (strchr): Likewise.  Do not use BP_SYM.
50248         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50249         "bp-asm.h".
50250         (PARMS): Do not use macros from bp-asm.h.
50251         (STR): Likewise.
50252         (CHR): Likewise.
50253         (__strchrnul): Likewise.  Do not use BP_SYM.
50254         (strchrnul): Do not use BP_SYM in weak_alias.
50255         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50256         "bp-asm.h".
50257         (PARMS): Do not use macros from bp-asm.h.
50258         (STOP): Likewise.
50259         (strcspn): Do not use BP_SYM.
50260         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50261         "bp-asm.h".
50262         (PARMS): Do not use macros from bp-asm.h.
50263         (STR): Likewise.
50264         (STOP): Likewise.
50265         (strpbrk): Likewise.  Do not use BP_SYM.
50266         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50267         "bp-asm.h".
50268         (PARMS): Do not use macros from bp-asm.h.
50269         (STR): Likewise.
50270         (CHR): Likewise.
50271         (strrchr): Likewise.  Do not use BP_SYM.
50272         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50273         (PARMS): Do not use macros from bp-asm.h.
50274         (SKIP): Likewise.
50275         (strspn): Do not use BP_SYM.
50276         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50277         (PARMS): Do not use macros from bp-asm.h.
50278         (STR): Likewise.
50279         (DELIM): Likewise.
50280         (SAVE): Likewise.
50281         (FUNCTION): Likewise.  Do not use BP_SYM.
50282         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50283         aliases.
50284         (strtok_r): Likewise.
50285         (__GI___strtok_r): Likewise.
50286         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50287         (PARMS): Do not use macros from bp-asm.h.
50288         (S1): Likewise.
50289         (S2): Likewise.
50290         (SIZE): Likewise.
50291         (__mpn_sub_n): Do not use BP_SYM.
50292         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50293         "bp-asm.h".
50294         (PARMS): Do not use macros from bp-asm.h.
50295         (S1): Likewise.
50296         (SIZE): Likewise.
50297         (__mpn_submul_1): Do not use BP_SYM.
50298         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50299         <bp-sym.h>.
50300         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50301         and <bp-asm.h>.
50302         (PARMS): Do not use macros from bp-asm.h.
50303         (FLAGS): Likewise.
50304         (PTID): Likewise.
50305         (TLS): Likewise.
50306         (CTID): Likewise.
50307         (__clone): Do not use BP_SYM.
50308         (clone): Do not use BP_SYM in weak_alias.
50309         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50310         and <bp-asm.h>.
50311         (PARMS): Do not use macros from bp-asm.h.
50312         (LEN): Likewise.
50313         (__mmap64): Do not use BP_SYM.
50314         (mmap64): Do not use BP_SYM in weak_alias.
50315         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50316         <bp-sym.h> and <bp-asm.h>.
50317         (PARMS): Do not use macros from bp-asm.h.
50318         (__posix_fadvise64_l64): Do not use BP_SYM.
50319         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50320         (PARMS): Do not use macros from bp-asm.h.
50321         (NSOPS): Likewise.
50322         (semtimedop): Do not use BP_SYM.
50323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50324         and <bp-asm.h>.
50326 2013-02-21  Allan McRae  <allan@archlinux.org>
50328         * manual/message.texi (Charset conversion in gettext):
50329         Move @end statement to beginning of line.
50331 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50334         static.
50335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50336         Likewise.
50338         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50339         (denorm): Likewise.
50340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50343 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50345         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50346         tail-call to the resolved function if pltexit isn't needed.
50348 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50351         or Y being zero as being unlikely.
50352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50353         Likewise.
50355 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50357         * manual/nss.texi (System Databases and Name Service Switch):
50358         Remove frobnicate @pxref.
50360 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50362         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50363         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50365 2013-02-20  Petr Machata  <pmachata@redhat.com>
50367         * elf/elf.h (R_ARM_TARGET1): New macro.
50368         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50369         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50370         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50371         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50372         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50373         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50374         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50375         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50376         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50377         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50378         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50379         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50380         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50381         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50382         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50383         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50384         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50385         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50386         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50387         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50388         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50389         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50390         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50391         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50392         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50393         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50394         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50395         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50396         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50397         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50398         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50399         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50400         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50401         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50402         (R_ARM_THM_GOT_BREL12): Likewise.
50403         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50404         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50405         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50406         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50407         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50408         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50409         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50410         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50411         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50413 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50415         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50416         __attribute_used__ to __attribute__ ((unused)).
50418 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50420         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50421         powerpc mpa.c.
50422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50423         comment formatting.
50424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50426 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50428         [BZ #13550]
50429         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50430         Remove macro.
50431         (ENTER): Remove both macro definitions.
50432         (LEAVE): Likewise.
50433         (CHECK_BOUNDS_LOW): Likewise.
50434         (CHECK_BOUNDS_HIGH): Likewise.
50435         (CHECK_BOUNDS_BOTH): Likewise.
50436         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50437         (RETURN_BOUNDED_POINTER): Likewise.
50438         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50439         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50440         (POP_ERRNO_LOCATION_RETURN): Likewise.
50441         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50442         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50443         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50444         macros.
50445         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50446         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50447         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50448         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50449         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50450         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50451         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50452         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50453         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50454         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50455         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50456         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50457         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50458         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50459         removed macros.
50460         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50461         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50462         macros.
50463         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50464         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50465         * sysdeps/i386/i586/memset.S (memset): Likewise.
50466         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50467         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50468         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50469         macros.
50470         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50471         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50472         Change uses of L(2) to L(out).
50473         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50474         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50475         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50476         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50477         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50478         removed macros.
50479         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50480         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50481         macros.
50482         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50483         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50484         (RETURN): Do not use macro LEAVE.
50485         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50486         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50487         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50488         * sysdeps/i386/i686/memset.S (memset): Likewise.
50489         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50490         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50491         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50492         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50493         Likewise.
50494         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50495         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50496         L(1_2) and L(1_3) into L(1).
50497         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50498         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50499         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50500         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50501         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50502         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50503         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50504         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50505         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50506         macros.
50507         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50508         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50509         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50510         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50511         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50512         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50513         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50514         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50515         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50516         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50517         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50518         * sysdeps/i386/strspn.S (strspn): Likewise.
50519         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50520         conditional code.
50521         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50522         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50523         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50524         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50525         L(1_3) into L(1_1).
50526         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50527         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50528         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50529         macros.
50530         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50532 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50534         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50535         macro.
50537 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         * math/atest-exp.c (exp_mpn): Remove ROUND.
50540         * math/atest-exp2.c (exp_mpn): Likewise.
50541         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50543         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50544         * stdlib/tst-tls-atexit-lib.c: Likewise.
50545         * stdlib/tst-tls-atexit.c: Likewise.
50547 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50549         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50550         and __attribute_alloc_size__.
50552 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50554         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50555         __attribute_alloc_size__.
50556         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50557         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50559 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50561         * include/programs/xmalloc.h: New file.
50562         * catgets/gencat.c: Include it.
50563         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50564         * elf/pldd.c: Likewise.
50565         * iconv/iconv_charmap.c: Likewise.
50566         * iconv/iconvconfig.c: Likewise.
50567         * iconv/strtab.c: Likewise.
50568         * locale/programs/locale.c: Likewise.
50569         * locale/programs/localedef.h: Likewise.
50570         * locale/programs/simple-hash.c: Likewise.
50571         * nscd/nscd.h: Likewise.
50572         * nss/makedb.c: Likewise.
50573         * sysdeps/generic/ldconfig.h: Likewise.
50575 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50577         * Versions.def: Add GLIBC_2.18.
50578         * include/link.h (struct link_map): New member l_tls_dtor_count.
50579         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50580         (__call_tls_dtors): Likewise.
50581         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50582         __cxa_thread_atexit_impl.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50584         Likewise.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50586         Likewise.
50587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50588         Likewise.
50589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50590         Likewise.
50591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50593         Likewise.
50594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50595         Likewise.
50596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50598         Likewise.
50599         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50600         (tests): Add test case tst-tls-atexit.
50601         (modules-names): Add shared library for tst-tls-atexit.
50602         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50603         (GLIBC_PRIVATE): Add __call_tls_dtors.
50604         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50605         for libstdc++.
50606         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50607         * stdlib/tst-tls-atexit.c: New test case.
50608         * stdlib/tst-tls-atexit-lib.c: New test case.
50610         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50612         * elf/Versions (ld): Add _dl_find_dso_for_object.
50613         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50614         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50615         (dl_open_worker): Use _dl_find_dso_for_object.
50616         * elf/dl-sym.c (do_sym): Likewise.
50617         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50619 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50621         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50622         Syntactic changes only.
50623         (_dl_runtime_profile): Do a tail-call to the resolved function.
50625 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50627         [BZ #13550]
50628         * sysdeps/x86_64/bp-asm.h: Remove file.
50629         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50630         <bp-sym.h> and <bp-asm.h>.
50631         (__clone): Do not use BP_SYM.
50632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50633         <bp-sym.h> and <bp-asm.h>.
50634         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50635         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50636         "bp-asm.h".
50637         (_setjmp): Do not use BP_SYM.
50638         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50639         "bp-asm.h".
50640         (setjmp): Do not use BP_SYM.
50641         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50642         libc_hidden_def.
50643         (mempcpy): Do not use BP_SYM in weak_alias.
50644         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50645         "bp-asm.h".
50646         (strchr): Do not use BP_SYM.
50647         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50648         "bp-asm.h".
50649         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50650         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50651         (_start): Do not use BP_SYM.
50652         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50653         "bp-asm.h".
50654         (strcat): Do not use BP_SYM.
50655         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50656         "bp-asm.h".
50657         (STRCMP): Do not use BP_SYM.
50658         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50659         "bp-asm.h".
50660         (STRCPY): Do not use BP_SYM.
50661         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50662         "bp-asm.h".
50663         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50664         "bp-asm.h".
50665         (FUNCTION): Do not use BP_SYM.
50666         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50667         weak_alias.
50668         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50670 2013-02-17  Andreas Jaeger  <aj@suse.de>
50672         * time/Versions: Sort entries.
50673         * string/Versions: Likewise.
50674         * resolv/Versions: Likewise.
50675         * posix/Versions: Likewise.
50676         * iconv/Versions: Likewise.
50677         * elf/Versions: Likewise.
50678         * wcsmbs/Versions: Likewise.
50680 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50682         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50683         loop termination condition.
50685         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50686         variable to calculate EZ.
50687         (__sqr): Likewise.
50689         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50690         the lower precision input.
50692 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50694         [BZ #13550]
50695         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50696         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50697         (run-via-rtld-prefix): Do not handle %-bp tests.
50698         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50699         (all-object-suffixes): Remove .ob.
50700         (bppfx): Remove variable.
50701         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50702         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50703         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50704         [$(build-bounded) = yes] (libtype.ob): Likewise.
50705         * Makerules (elide-routines.ob): Remove variable.
50706         (do-tests-clean): Do not handle *-bp.out.
50707         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50708         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50709         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50710         (tests): Do not include $(tests-bp.out).
50711         (xtests): Do not include $(xtests-bp.out).
50712         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50713         [$(build-bounded) = yes] ($(addprefix
50714         $(objpfx),$(binaries-bounded))): Remove rule.
50715         ($(objpfx)%-bp.out): Remove rule.
50716         * config.make.in (build-bounded): Remove variable.
50717         * crypt/Makefile [$(build-bounded) = yes]
50718         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50719         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50720         append to variable.
50721         [$(build-bounded) = yes] (install-lib): Likewise.
50722         [$(build-bounded) = yes] (generated): Likewise.
50723         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50724         Remove rule.
50725         * intl/Makefile [$(build-bounded) = yes]
50726         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50727         * math/Makefile [$(build-bounded) = yes]
50728         ($(tests:%=$(objpfx)%-bp): Likewise.
50729         * misc/Makefile [$(build-bounded) = yes]
50730         ($(objpfx)tst-tsearch-bp): Likewise.
50731         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50732         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50733         Remove dependency.
50734         * string/Makefile (o-objects.ob): Remove variable.
50735         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50736         (CFLAGS-.ob): Remove variable.
50737         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50738         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50739         both definitions of variable.
50740         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50741         (ASFLAGS-.ob): Remove variable.
50743 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50745         [BZ #13550]
50746         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50747         Remove __BOUNDED_POINTERS__ from condition.
50748         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50749         * string/bits/string2.h [!__NO_STRING_INLINES &&
50750         !__BOUNDED_POINTERS__]: Likewise.
50751         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50752         Likewise.
50753         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50754         Remove conditional code.
50755         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50756         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50757         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50758         condition.
50760         [BZ #13550]
50761         * csu/libc-start.c: Do not include <bp-sym.h>.
50762         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50763         * elf/dl-open.c: Do not include <bp-sym.h>.
50764         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50765         * math/fegetenv.c: Do not include <bp-sym.h>.
50766         (fegetenv): Do not use BP_SYM in versioned symbols.
50767         * nptl/sysdeps/pthread/bits/libc-lockP.h
50768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50769         <bp-sym.h>.
50770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50771         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50773         (__pthread_mutex_destroy): Likewise.
50774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50775         (__pthread_mutex_lock): Likewise.
50776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50777         (__pthread_mutex_trylock): Likewise.
50778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50779         (__pthread_mutex_unlock): Likewise.
50780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50781         (__pthread_mutexattr_init): Likewise.
50782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50783         (__pthread_mutexattr_destroy): Likewise.
50784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50785         (__pthread_mutexattr_settype): Likewise.
50786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50787         (__pthread_rwlock_init): Likewise.
50788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50789         (__pthread_rwlock_destroy): Likewise.
50790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50791         (__pthread_rwlock_rdlock): Likewise.
50792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50793         (__pthread_rwlock_tryrdlock): Likewise.
50794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50795         (__pthread_rwlock_wrlock): Likewise.
50796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50797         (__pthread_rwlock_trywrlock): Likewise.
50798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50799         (__pthread_rwlock_unlock): Likewise.
50800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50801         (__pthread_key_create): Likewise.
50802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50803         (__pthread_setspecific): Likewise.
50804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50805         (__pthread_getspecific): Likewise.
50806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50807         Likewise.
50808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50809         (_pthread_cleanup_push_defer): Likewise.
50810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50811         (_pthread_cleanup_pop_restore): Likewise.
50812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50813         (pthread_setcancelstate): Likewise.
50814         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50815         <bp-sym.h>.
50816         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50817         (memchr): Do not use BP_SYM in weak_alias.
50818         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50819         (fegetenv): Do not use BP_SYM in versioned symbols.
50820         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50821         (fesetenv): Do not use BP_SYM in versioned symbols.
50822         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50823         (feupdateenv): Do not use BP_SYM in versioned symbols.
50824         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50825         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50826         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50827         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50828         (open64): Do not use BP_SYM in weak_alias.
50829         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50830         (fegetenv): Do not use BP_SYM in versioned symbols.
50831         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50832         (fesetenv): Do not use BP_SYM in versioned symbols.
50833         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50834         (feupdateenv): Do not use BP_SYM in versioned symbols.
50835         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50836         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50837         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50838         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50839         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50840         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50841         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50842         <bp-sym.h>.
50843         (__libc_start_main): Do not use BP_SYM.
50845 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50848         redundant return line.
50849         (norm): Likewise.
50850         (denorm): Likewise.
50851         (dbl_mp): Likewise.
50852         (sub_magnitudes): Likewise.
50853         (__add): Likewise.
50854         (__sub): Likewise.
50855         (__mul): Likewise.
50856         (__inv): Likewise.
50857         (__dvd): Likewise.
50858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50859         (norm): Likewise.
50860         (denorm): Likewise.
50861         (dbl_mp): Likewise.
50862         (sub_magnitudes): Likewise.
50863         (__add): Likewise.
50864         (__sub): Likewise.
50865         (__mul): Likewise.
50866         (__inv): Likewise.
50867         (__dvd): Likewise.
50869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50870         instead of __mul.
50871         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50872         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50873         (cc32): Likewise.
50875         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50876         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50878         of __mul for squares.
50879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50880         function
50881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50882         Likewise.
50883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50884         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50886 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50888         [BZ #13550]
50889         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50890         code.
50891         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50892         prototype or function definition.  Rename ubp_* variables and
50893         parameters.  Remove argv definitions conditional on
50894         [__BOUNDED_POINTERS__].
50895         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50896         * elf/dl-runtime.c (_dl_fixup): Likewise.
50897         * include/set-hooks.h (RUN_HOOK): Likewise.
50898         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50899         definition.
50900         * string/strcpy.c (strcpy): Do not use __unbounded.
50901         * sysdeps/generic/frame.h (struct layout): Likewise.
50902         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50903         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50904         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50905         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50906         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50907         (__backtrace): Likewise.
50908         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50909         use __ptrvalue.
50910         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50911         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50912         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50913         Likewise.
50914         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50915         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50916         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50917         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50918         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50919         Do not use __unbounded.
50920         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50921         Rename __unboundedrlimits parameter to rlimits in prototype.
50922         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50923         Do not use __unbounded.
50924         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50925         not use __ptrvalue.
50926         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50927         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50928         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50929         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50930         __ptrvalue or __unbounded.
50931         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50932         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50933         use __unbounded.
50934         (__new_msgctl): Do not use __ptrvalue.
50935         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50936         __unbounded.
50937         (__libc_msgrcv): Do not use __ptrvalue.
50938         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50939         startup_info): Do not use __unbounded.
50940         (__libc_start_main): Likewise.  Rename ubp_* variables and
50941         parameters.  Remove argv definitions conditional on
50942         [__BOUNDED_POINTERS__].
50943         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50944         __ptrvalue.
50945         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50946         use __unbounded.
50947         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50948         or __ptrvalue.
50949         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50950         use __unbounded.
50951         (__new_shmctl): Do not use __ptrvalue.
50952         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50953         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50954         Likewise.
50955         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50957         (__libc_sigaction): Likewise.
50958         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50959         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50960         Likewise.
50961         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50963 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50965         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50967         * string/mempcpy.c: Implement by calling memcpy.
50969 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50974         evaluation.
50976         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50977         values in the mantissa.
50979         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50980         minimize writes to Z.
50981         (sub_magnitudes): Simplify code a bit.
50983 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50985         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50986         from the message.  The linker prefixes all warnings with that already.
50988 2013-02-12  Andreas Schwab  <schwab@suse.de>
50990         [BZ #15078]
50991         * posix/regexec.c (extend_buffers): Add parameter min_len.
50992         (check_matching): Pass minimum needed length.
50993         (clean_state_log_if_needed): Likewise.
50994         (get_subexp): Likewise.
50995         * posix/Makefile (tests): Add bug-regex34.
50996         (bug-regex34-ENV): Define.
50997         * posix/bug-regex34.c: New file.
50999         [BZ #11561]
51000         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51001         elements compare against the byte sequence of it, not its name.
51002         * posix/Makefile (tests): Add bug-regex35.
51003         (bug-regex35-ENV): Define.
51004         * posix/bug-regex35.c: New file.
51006 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51008         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51009         comment.
51010         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51011         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51012         (CHECK_EOL): Add undef.
51014 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51016         * bits/stdlib-bsearch.h: New file.
51017         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51018         * stdlib/stdlib.h: Likewise.
51020 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51022         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51023         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51024         declaration.
51025         * manual/search.texi (Array Search Function): Add missing const in
51026         lfind prototype.
51027         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51028         declaration to use rlim_t.
51029         (Basic Scheduling Functions): Remove erroneous const from
51030         sched_getparam prototype.  Remove erroneous * from
51031         sched_get_priority_max and sched_get_priority_min prototypes.
51032         (Resource Usage): Fix summary @comment on vtimes to refer to
51033         sys/vtimes.h rather than vtimes.h.
51034         Add missing *s in vtimes prototype.
51035         (Limits on Resources): Fix ulimit prototype to return long int.
51036         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51037         prototypes to use long int rather than double.
51038         (BSD Random): Fix initstate and setstate to use char *, not void *.
51039         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51040         prototype to make second argument 'struct aiocb64 *const[]'.
51041         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51042         (Status of AIO Operations): Remove erroneous const in aio_return and
51043         aio_return64 prototypes.
51044         (Synchronizing I/O): Fix sync prototype to return void.
51045         * manual/startup.texi (Suboptions): Remove an erroneous const in
51046         getsubopt prototype.
51047         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51048         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51049         use size_t rather than int.
51050         (Scanning All Users): Likewise for getpwent_r.
51051         (Setting Groups): Add missing const to setgroups prototype.
51052         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51053         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51054         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51055         'const void *' rather than 'const char *'.
51056         (Host Address Functions): Likewise for inet_ntop.
51057         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51058         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51059         ssize_t for return value.
51060         (Sending Data): Likewise for send, sendto, sendmsg.
51061         (Socket Option Functions): Add a missing const in setsockopt prototype.
51062         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51063         use wchar_t for the argument.
51064         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51065         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51066         take no arguments.
51067         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51068         double/float/long double for second argument.
51069         Fix return types of significand, significandf, significandl.
51070         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51071         argument in fchmod prototype.
51072         (File Owner): Use uid_t and gid_t in fchown prototype.
51073         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51074         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51075         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51076         use 'const struct dirent **' as argument types to CMP function pointer
51077         argument.
51078         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51079         (File Times): Fix summary magic @comment for struct utimbuf and utime
51080         to refer to utime.h, not time.h.
51081         * manual/string.texi (Argz Functions): Add missing const in
51082         argz_extract and argz_next prototypes.
51083         (Finding Tokens in a String): Likewise for basename.
51084         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51085         (Copying and Concatenation): Fix typo in wmemmove prototype.
51086         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51087         (Signal Stack): Remove erroneous const in sigstack prototype.
51088         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51089         prototype.
51090         (Simple Calendar Time): Likewise for stime.
51091         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51092         prototype.
51093         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51094         say sys/sysctl.h instead.
51095         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51096         and vsyslog prototypes.
51098 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51100         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51101         Remove.
51103 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51105         * misc/sys/mman.h: Fix typo in mremap comment.
51107 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51109         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51110         the '\0' terminator.
51112 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51114         [BZ #13550]
51115         * debug/segfault.c: Don't include <bp-checks.h>.
51116         * sysdeps/generic/bp-checks.h: Remove file.
51117         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51118         (__GETDENTS): Don't use CHECK_N.
51119         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51120         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51121         (__getgroups): Don't use CHECK_N.
51122         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51123         (setgroups): Don't use CHECK_N.
51124         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51125         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51126         (__libc_msgrcv): Don't use CHECK_N.
51127         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51128         (__libc_msgsnd): Don't use CHECK_N.
51129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51130         <bp-checks.h>.
51131         (__libc_pread): Don't use CHECK_N.
51132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51133         include <bp-checks.h>.
51134         (__libc_pread64): Don't use CHECK_N.
51135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51136         include <bp-checks.h>.
51137         (__libc_pwrite): Don't use CHECK_N.
51138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51139         include <bp-checks.h>.
51140         (__libc_pwrite64): Don't use CHECK_N.
51141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51142         <bp-checks.h>.
51143         (__libc_pread): Don't use CHECK_N.
51144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51145         include <bp-checks.h>.
51146         (__libc_pread64): Don't use CHECK_N.
51147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51148         include <bp-checks.h>.
51149         (__libc_pwrite): Don't use CHECK_N.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51151         include <bp-checks.h>.
51152         (__libc_pwrite64): Don't use CHECK_N.
51153         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51154         (do_pread): Don't use CHECK_N.
51155         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51156         (do_pread64): Don't use CHECK_N.
51157         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51158         (do_pwrite): Don't use CHECK_N.
51159         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51160         (do_pwrite64): Don't use CHECK_N.
51161         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51162         (__libc_readv): Don't use CHECK_N.
51163         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51164         (semop): Don't use CHECK_N.
51165         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51166         <bp-checks.h>.
51167         (semtimedop): Don't use CHECK_N.
51168         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51169         (__libc_pread): Don't use CHECK_N.
51170         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51171         <bp-checks.h>.
51172         (__libc_pread64): Don't use CHECK_N.
51173         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51174         <bp-checks.h>.
51175         (__libc_pwrite): Don't use CHECK_N.
51176         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51177         <bp-checks.h>.
51178         (__libc_pwrite64): Don't use CHECK_N.
51179         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51180         <bp-checks.h>.
51181         (__libc_msgrcv): Don't use CHECK_N.
51182         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51183         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51184         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51185         (__libc_writev): Don't use CHECK_N.
51187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51189         * string/strcpy.c: Removed unused variable.
51191         * Makeconfig (+sysdep-includes): Define with := rather than =.
51192         Use an existing include/ subdir of each sysdeps dir before it.
51194 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51196         * nscd/connection.c (register_traced_file): Comment function.
51197         [HAVE_INOTIFY] (union __inev): Define.
51198         [HAVE_INOTIFY] (inotify_check_files): New function.
51199         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51200         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51201         clear_db_cache.
51202         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51204 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51206         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51207         loaded if not already and that a failure is permanent.
51209 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51211         [BZ #15006]
51212         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51213         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51215 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51217         [BZ #13550]
51218         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51219         (CHECK_1_NULL_OK): Likewise.
51220         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51221         (__fxstat): Do not use CHECK_1.
51222         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51223         <bp-checks.h>.
51224         (___fxstat64): Do not use CHECK_1.
51225         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51226         <bp-checks.h>.
51227         (__fxstatat): Do not use CHECK_1.
51228         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51229         <bp-checks.h>.
51230         (__fxstatat64): Do not use CHECK_1.
51231         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51232         <bp-checks.h>.
51233         (__fxstat): Do not use CHECK_1.
51234         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51235         <bp-checks.h>.
51236         (__fxstatat): Do not use CHECK_1.
51237         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51238         <bp-checks.h>.
51239         (__getresgid): Do not use CHECK_1.
51240         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51241         <bp-checks.h>.
51242         (__getresuid): Do not use CHECK_1.
51243         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51244         <bp-checks.h>.
51245         (__lxstat): Do not use CHECK_1.
51246         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51247         <bp-checks.h>.
51248         (__old_msgctl): Do not use CHECK_1.
51249         (__new_msgctl): Likewise.
51250         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51251         <bp-checks.h>.
51252         (__new_setrlimit): Do not use CHECK_1.
51253         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51254         <bp-checks.h>.
51255         (__old_shmctl): Do not use CHECK_1.
51256         (__new_shmctl): Likewise.
51257         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51258         <bp-checks.h>.
51259         (__xstat): Do not use CHECK_1.
51260         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51261         (__lxstat): Do not use CHECK_1.
51262         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51263         <bp-checks.h>.
51264         (___lxstat64): Do not use CHECK_1.
51265         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51266         (__old_msgctl): Do not use CHECK_1.
51267         (__new_msgctl): Likewise.
51268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51269         <bp-checks.h>.
51270         (__gettimeofday): Do not use CHECK_1.
51271         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51272         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51273         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51274         <bp-checks.h>.
51275         (__gettimeofday): Do not use CHECK_1.
51276         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51277         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51278         (__new_shmctl): Do not use CHECK_1.
51279         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51280         <bp-checks.h>.
51281         (do_sigtimedwait): Do not use CHECK_1.
51282         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51283         <bp-checks.h>.
51284         (do_sigwaitinfo): Do not use CHECK_1.
51285         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51286         <bp-checks.h>.
51287         (msgctl): Do not use CHECK_1.
51288         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51289         <bp-checks.h>.
51290         (shmctl): Do not use CHECK_1.
51291         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51292         (ustat): Do not use CHECK_1.
51293         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51294         <bp-checks.h>.
51295         (__fxstat): Do not use CHECK_1.
51296         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51297         <bp-checks.h>.
51298         (__fxstatat): Do not use CHECK_1.
51299         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51300         <bp-checks.h>.
51301         (__lxstat): Do not use CHECK_1.
51302         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51303         <bp-checks.h>.
51304         (__xstat): Do not use CHECK_1.
51305         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51306         (__xstat): Do not use CHECK_1.
51307         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51308         (___xstat64): Do not use CHECK_1.
51310         [BZ #13550]
51311         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51312         definitions.
51313         (CHECK_BOUNDS_HIGH): Likewise.
51314         * string/strcpy.c: Do not include <bp-checks.h>.
51315         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51317 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51319         * nscd/nscd-client.h (__nscd_drop_map_ref):
51320         Add __attribute__ ((unused)).
51321         * nis/nss-nisplus.h (niserr2nss): Likewise.
51323         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51324         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51326         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51327         Remove inline keyword.
51328         * include/rounding-mode.h (round_away): Likewise.
51329         * libio/wfileops.c (adjust_wide_data): Likewise.
51330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51331         (__m128i_strloadu_tolower): Likewise.
51332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51333         (__m128i_strloadu_tolower): Likewise.
51334         * time/mktime.c (ydhms_diff): Likewise.
51335         * locale/elem-hash.h (elem_hash): Likewise.
51336         * locale/setlocale.c (setdata): Likewise.
51337         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51338         (re_string_wchar_at): Likewise.
51339         (bitset_not, bitset_merge, bitset_mask): Likewise.
51340         [!(__GNUC__ > 3)] (inline): Remove macro.
51341         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51342         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51343         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51344         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51345         * string/memcmp.c (memcmp_bytes): Likewise.
51346         * locale/programs/locarchive.c (compute_hashval): Likewise.
51347         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51348         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51349         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51350         * nss/getent.c (print_rpc, print_protocols): Likewise.
51351         (print_passwd, print_group, print_aliases): Likewise.
51352         * nis/nss-nisplus.h (niserr2nss): Likewise.
51353         * nscd/connections.c (restart_p): Likewise.
51354         Change return type to bool.
51356 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51358         * Makeconfig (all-Depend-files): Add existing
51359         $(sorted-subdirs:=/Depend) files.
51360         (all-subdirs): Remove nss.
51361         * sysdeps/unix/inet/Subdirs: Add it here instead.
51362         * hesiod/Depend: New file.
51364         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51365         instead of calling alloca.
51367         * io/lseek.c (__lseek): Rename to __libc_lseek.
51368         Define __lseek as an alias.
51370         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51372 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51374         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51375         else clause and remove check for non-standard endianness.
51377 2013-02-04  David S. Miller  <davem@davemloft.net>
51379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51381 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51383         [BZ #13550]
51384         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51385         (__ubp_memchr): Remove prototype.
51386         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51387         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51388         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51389         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51390         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51391         Remove alias.
51392         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51393         (__ubp_memchr): Likewise.
51394         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51395         (__ubp_memchr): Likewise.
51396         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51397         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51398         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51399         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51400         CHECK_STRING.
51401         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51402         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51403         (__getcwd): Do not use CHECK_STRING.
51404         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51405         <bp-checks.h>.
51406         (__real_chown): Do not use CHECK_STRING.
51407         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51408         <bp-checks.h>.
51409         (fchownat): Do not use CHECK_STRING.
51410         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51411         CHECK_STRING.
51412         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51413         <bp-checks.h>.
51414         (__lchown): Do not use CHECK_STRING.
51415         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51416         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51417         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51418         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51420         include <bp-checks.h>.
51421         (truncate64): Do not use CHECK_STRING.
51422         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51423         <bp-checks.h>.
51424         (__real_chown): Do not use CHECK_STRING.
51425         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51426         <bp-checks.h>.
51427         (__lchown): Do not use CHECK_STRING.
51428         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51429         <bp-checks.h>.
51430         (__chown): Do not use CHECK_STRING.
51431         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51432         <bp-checks.h>.
51433         (truncate64): Do not use CHECK_STRING.
51434         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51435         Likewise.
51436         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51437         (__xmknod): Do not use CHECK_STRING.
51438         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51439         <bp-checks.h>.
51440         (__xmknodat): Do not use CHECK_STRING.
51441         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51442         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51444 2013-02-04  Andreas Schwab  <schwab@suse.de>
51446         [BZ #14142]
51447         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51448         * include/netdb.h: Likewise for h_errno.
51449         * elf/tst-stackguard1.c: Include <tls.h>.
51451 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51453         * elf/link.h (struct link_map): Extend the l_addr comment.
51454         * include/link.h (struct link_map): Likewise.
51456 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51458         [BZ #13550]
51459         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51460         (BOUNDED_1): Remove macro.
51461         * debug/backtrace.c: Don't include <bp-checks.h>.
51462         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51463         (__backtrace): Likewise.
51464         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51465         <bp-checks.h>.
51466         (__backtrace): Don't use BOUNDED_1.
51467         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51468         <bp-checks.h>.
51469         (__backtrace): Don't use BOUNDED_1.
51470         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51471         (__backtrace): Don't use BOUNDED_1.
51472         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51473         (shmat): Don't use BOUNDED_N.
51475 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51477         [BZ #13550]
51478         * sysdeps/generic/bp-start.h: Remove file.
51479         * csu/libc-start.c: Don't include <bp-start.h>.
51480         (LIBC_START_MAIN): Set up __environ directly instead of using
51481         INIT_ARGV_and_ENVIRON.
51482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51483         <bp-start.h>.
51485         [BZ #13550]
51486         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51487         definitions.
51488         (CHECK_FCNTL): Likewise.
51489         (CHECK_N_PAGES): Likewise.
51491         [BZ #13550]
51492         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51493         definitions.
51494         (CHECK_SIGSET_NULL_OK): Likewise.
51495         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51496         <bp-checks.h>.
51497         (sigpending): Don't use CHECK_SIGSET.
51498         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51499         <bp-checks.h>.
51500         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51501         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51502         <bp-checks.h>.
51503         (do_sigsuspend): Don't use CHECK_SIGSET.
51504         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51505         use CHECK_SIGSET.
51506         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51507         (do_sigwait): Don't use CHECK_SIGSET.
51508         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51509         use CHECK_SIGSET.
51510         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51511         include <bp-checks.h>.
51512         (sigpending): Don't use CHECK_SIGSET.
51513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51514         include <bp-checks.h>.
51515         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51516         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51517         <bp-checks.h>.
51518         (sigpending): Don't use CHECK_SIGSET.
51519         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51520         <bp-checks.h>.
51521         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51523         [BZ #13550]
51524         * sysdeps/generic/bp-semctl.h: Remove file.
51525         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51526         <bp-checks.h> and <bp-semctl.h>.
51527         (__old_semctl): Don't use CHECK_SEMCTL.
51528         (__new_semctl): Likewise.
51529         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51530         and <bp-semctl.h>.
51531         (__old_semctl): Don't use CHECK_SEMCTL.
51532         (__new_semctl): Likewise.
51533         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51534         <bp-checks.h> and <bp-semctl.h>.
51535         (__old_semctl): Don't use CHECK_SEMCTL.
51536         (__new_semctl): Likewise.
51537         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51538         <bp-checks.h> and <bp-semctl.h>.
51539         (semctl): Don't use CHECK_SEMCTL.
51541         [BZ #13550]
51542         * Makerules (elide-bp-thunks): Remove variable.
51543         (elide-routines.oS): Don't use $(elide-bp-thunks).
51544         (elide-routines.os): Likewise.
51545         (elide-routines.o): Likewise.
51546         (elide-routines.op): Likewise.
51547         (elide-routines.og): Likewise.
51548         (objects): Don't use $(bp-thunks).
51549         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51550         include.
51551         (common-generated): Do not add s-proto-bp.d.
51552         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51553         (int): Likewise.
51554         (typ): Likewise.
51555         Do not generate makefile rules for bounded-pointer thunks.
51556         * sysdeps/generic/bp-thunks.h: Remove file.
51557         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51558         * sysdeps/unix/s-proto-bp.S: Likewise.
51560         [BZ #15062]
51561         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51562         parts of result separately when argument is not close to line from
51563         -i to i and one part of argument is small.
51564         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51565         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51566         * math/libm-test.inc (cacos_test): Add more tests.
51567         (casin_test): Likewise.
51568         (casinh_test): Likewise.
51569         * sysdeps/i386/fpu/libm-test-ulps: Update.
51570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51572 2013-01-31  David S. Miller  <davem@davemloft.net>
51574         * po/de.po: Update from translation team.
51576 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51578         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51580 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51582         * configure.in (_AC_PROG_CC_C89): New definition.
51583         * configure: Regenerate.
51585         * configure.in (AC_PROG_CPP): New definition.
51586         * configure: Regenerate.
51588 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51590         * debug/tst-backtrace.h: New file.
51591         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51592         (ret): Remove variable.
51593         (x): Likewise.
51594         (FAIL): Remove macro.
51595         (NO_INLINE): Likewise.
51596         (fn1): Use match function instead of strstr.
51597         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51598         (ret): Remove variable.
51599         (x): Likewise.
51600         (FAIL): Remove macro.
51601         (NO_INLINE): Likewise.
51602         (fn): Use match function instead of strstr.
51603         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51604         (ret): Remove variable.
51605         (x): Likewise.
51606         (FAIL): Remove macro.
51607         (NO_INLINE): Likewise.
51608         (handle_signal): Use match function instead of strstr.
51609         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51610         (ret): Remove variable.
51611         (x): Likewise.
51612         (FAIL): Remove macro.
51613         (NO_INLINE): Likewise.
51614         (handle_signal): Use match function instead of strstr.
51616 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51618         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51620 2013-01-23  David S. Miller  <davem@davemloft.net>
51622         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51623         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51624         argument of CAS if possible.
51625         * sysdeps/sparc/sparc64/bits/atomic.h
51626         (__arch_compare_and_exchange_val_32_acq): Likewise.
51627         (__arch_compare_and_exchange_val_64_acq): Likewise.
51629 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51631         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51632         * sysdeps/posix/ulimit.c: ... this.
51633         Include <limits.h>.
51634         * sysdeps/unix/bsd/ulimit.c: Remove file.
51636 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51638         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51639         (LDFLAGS-tst-array5): Likewise.
51641 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51643         [BZ #15036]
51644         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51645         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51646         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51647         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51649 2013-01-21  David S. Miller  <davem@davemloft.net>
51651         * sysdeps/sparc/backtrace.c: New file.
51652         * sysdeps/sparc/sparc32/backtrace.h: New file.
51653         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51654         * sysdeps/sparc/sparc64/backtrace.h: New file.
51655         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51656         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51657         -funwind-tables.
51659 2013-01-21  Andreas Schwab  <schwab@suse.de>
51661         [BZ #15020]
51662         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51663         closed its stdout.
51665 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51668         "mpa2.h".
51669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51671 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51672             Mark Mitchell  <mark@codesourcery.com>
51673             Tom de Vries  <tom@codesourcery.com>
51674             Paul Pluzhnikov  <ppluzhnikov@google.com>
51676         * debug/tst-backtrace2.c: New file.
51677         * debug/tst-backtrace3.c: Likewise.
51678         * debug/tst-backtrace4.c: Likewise.
51679         * debug/tst-backtrace5.c: Likewise.
51680         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51681         (CFLAGS-tst-backtrace3.c): Likewise.
51682         (CFLAGS-tst-backtrace4.c): Likewise.
51683         (CFLAGS-tst-backtrace5.c): Likewise.
51684         (LDFLAGS-tst-backtrace2): Likewise.
51685         (LDFLAGS-tst-backtrace3): Likewise.
51686         (LDFLAGS-tst-backtrace4): Likewise.
51687         (LDFLAGS-tst-backtrace5): Likewise.
51688         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51689         tst-backtrace4 and tst-backtrace5.
51691 2013-01-18  Anton Blanchard  <anton@samba.org>
51692             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51694         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51695         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51696         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51697         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51699         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51700         "+r" and remove output regs list as redundant.  Add explicit inline
51701         asm to specify register of return val to work around compiler codegen
51702         bug.  Remove (int) cast on return value.  Add return type parameter to
51703         use in macro so that this macro does not truncate return value for
51704         64-bit values.
51705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51706         pass to INTERNAL_VSYSCALL_NCS.
51707         (INLINE_VSYSCALL): Add 'long int' as return type to
51708         INTERNAL_VSYSCALL_NCS macro invocation.
51709         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51710         INTERNAL_VSYSCALL_NCS macro invocation.
51711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51713 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51715         [BZ #14496]
51716         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51717         Fix application of SIMD FP exception mask.
51719         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51720         mp_no from a power of two.
51721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51722         __mpexp_twomm1.  Use __pow_mp.
51724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51725         multiplication.
51727 2013-01-17  David S. Miller  <davem@davemloft.net>
51729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51731 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51733         [BZ #15023]
51734         * include/complex.h: Condition contents on [!_COMPLEX_H].
51735         (__kernel_casinhf): New prototype.
51736         (__kernel_casinh): Likewise.
51737         (__kernel_casinhl): Likewise.
51738         * math/Makefile (libm_calls): Add k_casinh.
51739         * math/k_casinh.c: New file.
51740         * math/k_casinhf.c: Likewise.
51741         * math/k_casinhl.c: Likewise.
51742         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51743         finite nonzero arguments.
51744         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51745         finite nonzero arguments.
51746         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51747         finite nonzero arguments.
51748         * math/s_casinh.c: Do not include <float.h>.
51749         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51750         * math/s_casinhf.c: Do not include <float.h>.
51751         (__casinhf): Move code for finite nonzero arguments to
51752         k_casinhf.c.
51753         * math/s_casinhl.c: Do not include <float.h>.
51754         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51755         redefine.
51756         (__casinhl): Move code for finite nonzero arguments to
51757         k_casinhl.c.
51758         * math/libm-test.inc (cacos_test): Add more tests.
51759         * sysdeps/i386/fpu/libm-test-ulps: Update.
51760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51762 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51764         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51765         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51766         [!HAVE_MREMAP]: Remove [defined linux] case.
51767         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51769 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51771         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51773 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51775         * elf/elf.h (R_386_SIZE32): New relocation.
51776         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51777         R_386_SIZE32.
51778         (elf_machine_rela): Likewise.
51779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51780         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51782 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51784         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51785         (FP_FAST_FMA): Do not define.
51786         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51787         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51788         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51789         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51790         !_SOFT_FLOAT]: Likewise.
51791         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51792         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51793         value.
51794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51795         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51796         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51797         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51798         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51799         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51800         file.
51802 2013-01-16  Andreas Schwab  <schwab@suse.de>
51804         [BZ #14327]
51805         * include/stdlib.h (__mktemp): Add declaration.
51806         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51807         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51809 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51811         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51812         definitions.
51813         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51814         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51815         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51816         definitions here.
51817         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51818         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51819         definitions.
51820         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51821         and ONE.
51822         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51823         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51824         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51825         definitions.
51826         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51827         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51828         definitions.
51829         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51831         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51833 2013-01-15  David S. Miller  <davem@davemloft.net>
51835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51836         trunc{,f} to libm-sysdep_routes.
51837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51839         file.
51840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51842         file.
51843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51844         file.
51845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51847         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51848         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51849         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51850         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51851         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51852         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51855         nearbyint{,f} to libm-sysdep_routes.
51856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51858         New file.
51859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51860         file.
51861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51862         New file.
51863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51864         file.
51865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51867         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51868         file.
51869         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51870         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51871         file.
51872         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51873         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51874         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51876         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51877         libc_feholdexcept and libc_fesetenv.
51879 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51881         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51883 2013-01-14  David S. Miller  <davem@davemloft.net>
51885         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51886         (SPARC_ASM_VIS2_IFUNC): Likewise.
51887         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51889         use of 'siam' instruction.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51891         Likewise.
51892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51893         Likewise.
51894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51895         Likewise.
51896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51901         file.
51902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51903         file.
51904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51905         file.
51906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51907         file.
51908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51913         new VIS2 routines.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51917         Likewise.
51918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51923         routines to libm-sysdep_routines.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51927         fdim/fdimf to libm-sysdep_routines.
51928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51929         file.
51930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51932         file.
51933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51936         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51937         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51938         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51939         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51941 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51943         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51944         to optimize copies.
51946         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51951         local variable MPTWO.
51952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51953         Likewise.
51955 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51957         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51958         GLOB_NOESCAPE.
51960 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51962         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51964 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51966         * manual/pattern.texi (glob_t): Document gl_flags.
51967         (glob64_t): Likewise.
51969 2013-01-11  David S. Miller  <davem@davemloft.net>
51971         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51972         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51973         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51974         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51975         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51976         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51977         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51978         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51979         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51980         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51981         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51982         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51983         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51985         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51986         sparc V9 rather than using V8 code.
51987         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51988         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51990         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51991         Move to...
51992         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51993         Here.
51995 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51997         [BZ #14941]
51998         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51999         not in the main loop.
52000         * configure: Regenerated.
52002 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52004         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52005         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52006         to just #else.
52007         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52008         [!__GLIBC_HAVE_LONG_LONG] case.
52009         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52010         condition to just #else.
52011         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52012         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52013         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52014         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52015         unconditional.
52016         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52017         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52018         #elif condition to just #else.
52019         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52020         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52021         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52022         #elif condition to just #else.
52024 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52026         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52027         (EF_MIPS_ARCH_64): Fix value.
52028         (EF_MIPS_ARCH_32R2): New.
52029         (EF_MIPS_ARCH_64R2): New.
52031 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52033         * Makeconfig (+link-pie-before-libc): New.
52034         (+link-pie-after-libc): Likewise.
52035         (+link-pie-tests): Likewise.
52036         (+link-pie): Rewritten.
52037         (link-before-libc): Remove $(config-LDFLAGS).
52038         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52039         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52040         (config-LDFLAGS): Renamed to ...
52041         (rtld-LDFLAGS): This.
52042         (rtld-tests-LDFLAGS): New macro.
52043         (link-libc-rpath-link): Likewise.
52044         (link-libc-tests-rpath-link): Likewise.
52045         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52046         (link-libc): Prepand $(link-libc-rpath-link).
52047         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52048         (test-program-prefix): New macro.
52049         (test-via-rtld-prefix): Likewise.
52050         (test-program-cmd): Likewise.
52051         (host-test-program-cmd): Likewise.
52052         * Makefile ($(common-objpfx)testrun.sh): Replace
52053         $(run-program-prefix) with $(test-program-prefix).
52054         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52055         $(rtld-LDFLAGS).
52056         ($(common-objpfx)shlib.lds): Likewise.
52057         (build-module-helper): Likewise.
52058         ($(common-objpfx)format.lds): Likewise.
52059         * Rules (binaries-pie-tests): New.
52060         (binaries-pie-notests): Likewise.
52061         (binaries-pie): Rewritten.
52062         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52063         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52064         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52065         (make-test-out): Replace $(host-built-program-cmd) with
52066         $(host-test-program-cmd).
52067         * config.make.in (build-hardcoded-path-in-tests): New variable.
52068         * configure.in (--enable-hardcoded-path-in-tests): New configure
52069         option.
52070         (hardcoded_path_in_tests): New AC_SUBST.
52071         * configure: Regenerated.
52072         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52073         $(built-program-cmd) with $(test-program-cmd).
52074         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52075         (test_program_cmd): This.
52076         * elf/Makefile ($(objpfx)order.out): Run test with
52077         $(test-program-prefix).
52078         ($(objpfx)order2.out): Likewise.
52079         ($(objpfx)tst-initorder.out): Likewise.
52080         ($(objpfx)tst-initorder2.out): Likewise.
52081         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52082         $(test-program-cmd).
52083         ($(objpfx)tst-array1-static.out): Likewise.
52084         ($(objpfx)tst-array2.out): Likewise.
52085         ($(objpfx)tst-array3.out): Likewise.
52086         ($(objpfx)tst-array4.out): Likewise.
52087         ($(objpfx)tst-array5.out): Likewise.
52088         ($(objpfx)tst-array5-static.out): Likewise.
52089         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52090         $(test-program-cmd).
52091         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52092         $(run-program-prefix) with $(test-program-prefix).
52093         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52094         (test_program_prefix): This.
52095         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52096         $(run-program-prefix) with $(test-program-prefix).
52097         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52098         (test_program_prefix): This.
52099         * iconvdata/tst-tables.sh: Likewise.
52100         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52101         $(run-program-prefix) with $(test-program-prefix).
52102         ($(objpfx)tst-translit.out): Likewise.
52103         ($(objpfx)tst-gettext2.out): Likewise.
52104         ($(objpfx)tst-gettext4.out): Likewise.
52105         ($(objpfx)tst-gettext6.out): Likewise.
52106         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52107         (test_program_prefix): This.
52108         * intl/tst-gettext2.sh: Likewise.
52109         * intl/tst-gettext4.sh  Likewise.
52110         * intl/tst-gettext6.sh: Likewise.
52111         * intl/tst-translit.sh: Likewise.
52112         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52113         with $(test-program-cmd).
52114         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52115         $(run-program-prefix) with $(test-program-prefix).
52116         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52117         (test_program_prefix): This.
52118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52119         $(run-program-prefix) with $(test-program-prefix).
52120         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52121         (test_program_prefix): This.
52122         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52123         * posix/Makefile ($(objpfx)globtest.out): Replace
52124         $(run-via-rtld-prefix) and $(test-wrapper) with
52125         $(test-program-prefix) and $(test-via-rtld-prefix).
52126         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52127         $(test-program-prefix).
52128         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52129         $(host-test-program-cmd).
52130         (tst-spawn-ARGS): Likewise.
52131         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52132         $(test-program-prefix).
52133         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52134         (test_via_rtld_prefix): This.
52135         (test_wrapper): Renamed to ...
52136         (test_program_prefix): This.
52137         (run_program_prefix): Replaced by test_program_prefix.
52138         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52139         (test_program_prefix): This.
52140         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52141         with $(host-test-program-cmd).
52142         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52143         $(run-program-prefix) with $(test-program-prefix).
52144         ($(objpfx)tst-printf.out): Likewise.
52145         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52146         $(test-program-cmd).
52147         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52148         (test_program_prefix): This.
52149         * stdio-common/tst-unbputc.sh: Likewise.
52150         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52151         $(run-program-prefix) with $(test-program-prefix).
52152         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52153         (test_program_prefix): This.
52154         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52155         $(built-program-cmd) with $(test-program-cmd).
52157 2013-01-11  Andreas Jaeger  <aj@suse.de>
52159         [BZ #15003]
52160         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52161         value. Sync with Linux 3.7.
52163 2013-01-10  David S. Miller  <davem@davemloft.net>
52165         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52166         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52167         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52169 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52171         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52172         never set.
52173         * configure: Regenerated.
52175 2013-01-10  David S. Miller  <davem@davemloft.net>
52177         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52178         sparc V9 rather than using V8 code.
52179         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52180         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52182 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52184         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52185         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52186         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52187         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52188         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52189         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52190         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52191         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52192         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52193         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52194         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52195         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52196         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52197         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52198         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52199         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52200         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52201         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52202         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52203         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52204         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52205         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52206         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52207         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52208         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52209         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52210         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52212 2013-01-10  David S. Miller  <davem@davemloft.net>
52214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52216 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52218         * posix/Makefile (tests-static): New variable.
52219         (tests): Add $(tests-static).
52220         (tst-exec-static-ARGS): New variable.
52221         (tst-spawn-static-ARGS): Likewise.
52222         * posix/tst-exec-static.c: New file.
52223         * posix/tst-spawn-static.c: Likewise.
52224         * posix/tst-exec.c: Support run directly.
52225         * posix/tst-spawn.c: Likewise.
52227 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52229         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52230         long.
52231         * math/bits/mathcalls.h (llrint): Likewise.
52232         (llround): Likewise.
52233         * stdlib/stdlib.h (struct drand48_data): Likewise.
52234         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52235         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52236         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52237         Likewise.
52238         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52239         Likewise.
52240         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52241         (elf_greg_t): Likewise.
52242         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52243         (__jmp_buf): Likewise.
52244         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52245         definitions.
52246         (llrint): Likewise, for all definitions.
52247         (llrintl): Likewise.
52249         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52250         Remove [__GNUC__] condition.
52251         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52252         condition to just [__USE_ISOC99].
52253         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52255 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52257         [BZ #14200]
52258         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52259         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52260         defined.
52261         (_POSIX_V6_ILP32_OFF32): Likewise.
52262         (_XBS5_ILP32_OFF32): Likewise.
52263         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52264         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52266 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52268         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52271         doubles __mpexp_twomm1.  Adjust usage.
52272         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52273         Remove.
52275 2013-01-10  Andreas Schwab  <schwab@suse.de>
52277         [BZ #14964]
52278         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52279         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52281 2013-01-09  David S. Miller  <davem@davemloft.net>
52283         [BZ #15003]
52284         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52285         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52286         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52287         (TCP_FASTOPEN): Define.
52288         (tcp_repair_opt): New structure.
52289         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52290         enum values.
52291         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52292         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52293         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52294         (tcp_cookie_transactions): New structure.
52296 2013-01-09  Anton Blanchard  <anton@samba.org>
52298         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52299         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52300         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52301         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52303 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52305         * include/features.h (__USE_ANSI): Remove.
52307 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52309         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52311         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52313 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52315         * sysdeps/s390/fpu/libm-test-ulps: Update.
52317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52319         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52320         (__acr): Likewise.
52321         (__cpy): Likewise.
52322         (norm): Likewise.
52323         (denorm): Likewise.
52324         (__mp_dbl): Likewise.
52325         (__dbl_mp): Likewise.
52326         (add_magnitudes): Likewise.
52327         (sub_magnitudes): Likewise.
52328         (__add): Likewise.
52329         (__sub): Likewise.
52330         (__mul): Likewise.
52331         (__inv): Likewise.
52332         (__dvd): Likewise.
52333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52334         (__acr): Likewise.
52335         (__cpy): Likewise.
52336         (norm): Likewise.
52337         (denorm): Likewise.
52338         (__mp_dbl): Likewise.
52339         (__dbl_mp): Likewise.
52340         (add_magnitudes): Likewise.
52341         (sub_magnitudes): Likewise.
52342         (__add): Likewise.
52343         (__sub): Likewise.
52344         (__mul): Likewise.
52345         (__inv): Likewise.
52346         (__dvd): Likewise.
52347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52348         (__acr): Likewise.
52349         (__cpy): Likewise.
52350         (norm): Likewise.
52351         (denorm): Likewise.
52352         (__mp_dbl): Likewise.
52353         (__dbl_mp): Likewise.
52354         (add_magnitudes): Likewise.
52355         (sub_magnitudes): Likewise.
52356         (__add): Likewise.
52357         (__sub): Likewise.
52358         (__mul): Likewise.
52359         (__inv): Likewise.
52360         (__dvd): Likewise.
52362 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52364         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52365         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52366         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52367         2 && __USE_EXTERN_INLINES]: Likewise.
52369 2013-01-08  Andreas Jaeger  <aj@suse.de>
52371         [BZ# 14985]
52372         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52373         Remove.
52374         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52375         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52377 2013-01-07  Anton Blanchard  <anton@samba.org>
52379         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52380         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52381         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52382         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52383         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52384         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52385         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52386         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52388         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52389         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52390         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52391         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52392         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52393         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52394         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52395         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52396         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52397         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52398         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52399         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52400         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52401         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52402         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52403         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52404         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52405         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52406         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52407         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52408         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52409         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52412         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52413         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52414         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52415         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52416         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52417         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52418         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52419         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52420         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52421         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52423 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52425         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52426         (__MALLOC_PMT): Likewise.
52427         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52428         [__GNUC__], only on [_LIBC].
52429         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52430         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52431         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52432         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52433         forward declaration.
52434         (realloc_hook_ini): Likewise.
52435         (memalign_hook_ini): Likewise.
52436         (__libc_memalign): Do not use __MALLOC_PMT in variable
52437         declaration.
52438         (__libc_valloc): Likewise.
52439         (__libc_pvalloc): Likewise.
52440         (__libc_calloc): Likewise.
52441         (__posix_memalign): Likewise.
52443         [BZ #14996]
52444         * math/s_casinh.c: Include <float.h>.
52445         (__casinh): Do not do computation with squaring and square root
52446         for large arguments.
52447         * math/s_casinhf.c: Include <float.h>.
52448         (__casinhf): Do not do computation with squaring and square root
52449         for large arguments.
52450         * math/s_casinhl.c: Include <float.h>.
52451         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52452         (__casinhl): Do not do computation with squaring and square root
52453         for large arguments.
52454         * math/libm-test.inc (casin_test): Add more tests.
52455         (casinh_test): Likewise.
52456         * sysdeps/i386/fpu/libm-test-ulps: Update.
52457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52459 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52461         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52462         (__x86_64_raw_data_cache_size): Likewise.
52463         (__x86_64_data_cache_size_half): Likewise.
52464         (__x86_64_raw_data_cache_size_half): Likewise.
52465         (__x86_64_shared_cache_size): Likewise.
52466         (__x86_64_raw_shared_cache_size): Likewise.
52467         (__x86_64_shared_cache_size_half): Likewise.
52468         (__x86_64_raw_shared_cache_size_half): Likewise.
52469         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52470         to ...
52471         (__x86_data_cache_size): This.
52472         (__x86_64_raw_data_cache_size): Renamed to ...
52473         (__x86_raw_data_cache_size): This.
52474         (__x86_64_data_cache_size_half): Renamed to ...
52475         (__x86_data_cache_size_half): This.
52476         (__x86_64_raw_data_cache_size_half): Renamed to ...
52477         (__x86_raw_data_cache_size_half): This.
52478         (__x86_64_shared_cache_size): Renamed to ...
52479         (__x86_shared_cache_size): This.
52480         (__x86_64_raw_shared_cache_size): Renamed to ...
52481         (__x86_raw_shared_cache_size): This.
52482         (__x86_64_shared_cache_size_half): Renamed to ...
52483         (__x86_shared_cache_size_half): This.
52484         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52485         (__x86_raw_shared_cache_size_half): This.
52486         * sysdeps/x86_64/memcpy.S: Updated.
52487         * sysdeps/x86_64/memset.S: Likewise.
52488         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52490         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52492 2013-01-04  David S. Miller  <davem@davemloft.net>
52494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52496 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52498         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52499         1 to avoid redefinition warning.
52500         (__USE_GNU): Don't define.
52501         (init_signaling_nan): Protoize.
52503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52505 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52507         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52509         (__cpymn): Likewise.
52510         (norm): Remove commented code.
52511         (denorm): Likewise.
52512         (__mp_dbl): Likewise.
52513         (__inv): Likewise.
52514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52515         (__cpymn): Likewise.
52516         (norm): Remove commented code.
52517         (denorm): Likewise.
52518         (__mp_dbl): Likewise.
52519         (__inv): Likewise.
52521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52522         mp_no value for 1.0 and 2.0.
52523         (norm): Use RADIXI instead of radixi.d.
52524         (denorm): Likewise.
52525         (__mul): Use 0.0 instead of zero.d.
52526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52527         mp_no value for 1.0 and 2.0.
52528         (norm): Use RADIXI instead of radixi.d.
52529         (denorm): Likewise.
52530         (__mul): Use 0.0 instead of zero.d.
52532 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52534         [BZ #14994]
52535         * math/s_casinh.c (__casinh): Reduce finite argument to first
52536         quadrant then set signs of results at the end.
52537         * math/s_casinhf.c (__casinhf): Likewise.
52538         * math/s_casinhl.c (__casinhl): Likewise.
52539         * math/libm-test.inc (casin_test): Add more tests.
52540         (casinh_test): Likewise.
52541         * sysdeps/i386/fpu/libm-test-ulps: Update.
52542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52544 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52546         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52548         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52550         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52551         declarations.
52552         (denorm): Likewise.
52553         (__mp_dbl): Likewise.
52554         (__inv): Likewise.
52556         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52557         and adjust the header comment.
52559         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52560         variable name from declaration.
52562 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52565         Initialize COMMON_CPUID_INDEX_7 element.
52566         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52567         (CPUID_RTM): Likewise.
52568         (HAS_RTM): Likewise.
52569         (COMMON_CPUID_INDEX_7): New enum.
52571 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52573         [BZ #14981]
52574         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52575         size is zero, record memory as freed.
52577 2013-01-03  Andreas Jaeger  <aj@suse.de>
52579         * po/ia.po: Add new Interlingua translation.
52581 2012-01-03  Allan McRae  <allan@archlinux.org>
52583         * locale/programs/localedef.c: Fix description of '--posix' flag.
52585 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52587         * NEWS: Update dates in second copyright notice.
52588         * README: Update copyright dates in example.
52589         * manual/libc.texinfo: Update copyright dates.
52590         * scripts/test-installation.pl: Update copyright date in --version
52591         output.
52593         * hurd/ctty-input.c: Fix copyright notice formatting.
52594         * hurd/ctty-output.c: Likewise.
52595         * hurd/dtable.c: Likewise.
52596         * hurd/hurd-raise.c: Likewise.
52597         * hurd/hurdprio.c: Likewise.
52598         * hurd/msgportdemux.c: Likewise.
52599         * misc/sys/file.h: Likewise.
52600         * misc/sys/ioctl.h: Likewise.
52601         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52602         * sysdeps/mach/hurd/chdir.c: Likewise.
52603         * sysdeps/mach/hurd/fchdir.c: Likewise.
52604         * sysdeps/mach/hurd/rename.c: Likewise.
52605         * sysdeps/mach/hurd/rmdir.c: Likewise.
52606         * sysdeps/mach/hurd/seekdir.c: Likewise.
52607         * sysdeps/mach/hurd/setsid.c: Likewise.
52608         * sysdeps/posix/wait3.c: Likewise.
52610         * All files with FSF copyright notices: Update copyright dates
52611         using scripts/update-copyrights.
52612         * intl/plural.c: Regenerated.
52613         * locale/programs/charmap-kw.h: Likewise.
52614         * locale/programs/locfile-kw.h: Likewise.
52616 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52618         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52619         four values.
52621         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52622         calculation loop and add branch prediction.
52624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52625         check access beyond bounds of m1np.
52627         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52628         MPTWO.
52629         (__inv): Remove local variable MPTWO to use the global
52630         constant.
52631         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52633         variable MPTWO.
52634         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52635         MP3HALFS static const.
52637 2013-01-01  David S. Miller  <davem@davemloft.net>
52639         * po/ca.po: Update from translation team.
52641 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52643         * scripts/update-copyrights: New file.
52644         * Makeconfig: Reformat copyright notice.
52645         * ctype/ctype.h: Likewise.
52646         * debug/swprintf_chk.c: Likewise.
52647         * elf/dl-cache.c: Likewise.
52648         * elf/dl-debug.c: Likewise.
52649         * elf/dl-object.c: Likewise.
52650         * grp/initgroups.c: Likewise.
52651         * hurd/Makefile: Likewise.
52652         * hurd/hurd/signal.h: Likewise.
52653         * hurd/hurdfault.c: Likewise.
52654         * hurd/hurdioctl.c: Likewise.
52655         * hurd/hurdlookup.c: Likewise.
52656         * hurd/intr-msg.c: Likewise.
52657         * iconv/gconv_open.c: Likewise.
52658         * libio/swprintf.c: Likewise.
52659         * locale/lc-ctype.c: Likewise.
52660         * locale/nl_langinfo.c: Likewise.
52661         * mach/Machrules: Likewise.
52662         * mach/Makefile: Likewise.
52663         * malloc/obstack.h: Likewise.
52664         * manual/Makefile: Likewise.
52665         * manual/tsort.awk: Likewise.
52666         * misc/bits/stab.def: Likewise.
52667         * nis/nis_print_group_entry.c: Likewise.
52668         * nis/nis_table.c: Likewise.
52669         * nis/nss_compat/compat-pwd.c: Likewise.
52670         * nis/nss_compat/compat-spwd.c: Likewise.
52671         * po/Makefile: Likewise.
52672         * posix/fnmatch.c: Likewise.
52673         * posix/regex.h: Likewise.
52674         * resolv/Makefile: Likewise.
52675         * resolv/nss_dns/dns-network.c: Likewise.
52676         * resolv/res_hconf.c: Likewise.
52677         * scripts/gen-sorted.awk: Likewise.
52678         * soft-fp/soft-fp.h: Likewise.
52679         * stdio-common/printf.h: Likewise.
52680         * stdlib/monetary.h: Likewise.
52681         * stdlib/random.c: Likewise.
52682         * stdlib/random_r.c: Likewise.
52683         * sysdeps/generic/Makefile: Likewise.
52684         * sysdeps/gnu/Makefile: Likewise.
52685         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52687         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52689         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52691         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52692         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52693         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52694         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52695         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52708         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52711         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52713         * sysdeps/mach/hurd/errnos.awk: Likewise.
52714         * sysdeps/mach/hurd/fork.c: Likewise.
52715         * sysdeps/mach/hurd/getcwd.c: Likewise.
52716         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52717         * sysdeps/mach/hurd/mmap.c: Likewise.
52718         * sysdeps/mach/hurd/utimes.c: Likewise.
52719         * sysdeps/mach/hurd/xmknod.c: Likewise.
52720         * sysdeps/posix/profil.c: Likewise.
52721         * sysdeps/posix/readdir_r.c: Likewise.
52722         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52723         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52724         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52725         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52727         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52729         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52731         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52732         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52733         * sysdeps/pthread/lio_listio.c: Likewise.
52734         * sysdeps/sparc/dl-procinfo.h: Likewise.
52735         * sysdeps/unix/i386/sysdep.S: Likewise.
52736         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52737         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52738         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52739         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52741         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52742         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52743         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52744         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52745         * sysdeps/wordsize-32/divdi3.c: Likewise.
52746         * time/sys/time.h: Likewise.
52747         * wcsmbs/Makefile: Likewise.
52749 2013-01-01  David S. Miller  <davem@davemloft.net>
52751         * po/fr.po: Update from translation team.
52753         * catgets/gencat.c: Update copyright year.
52754         * csu/version.c: Likewise.
52755         * debug/catchsegv.sh: Likewise.
52756         * debug/pcprofiledump.c: Likewise.
52757         * debug/xtrace.sh: Likewise.
52758         * elf/ldconfig.c: Likewise.
52759         * elf/ldd.bash.in: Likewise.
52760         * elf/pldd.c: Likewise.
52761         * elf/sotruss.ksh: Likewise.
52762         * elf/sprof.c: Likewise.
52763         * iconv/iconv_prog.c: Likewise.
52764         * iconv/iconvconfig.c: Likewise.
52765         * locale/programs/locale.c: Likewise.
52766         * locale/programs/localedef.c: Likewise.
52767         * login/programs/pt_chown.c: Likewise.
52768         * malloc/memusage.sh: Likewise.
52769         * malloc/memusagestat.c: Likewise.
52770         * malloc/mtrace.pl: Likewise.
52771         * nscd/nscd.c: Likewise.
52772         * nss/getent.c: Likewise.
52773         * nss/makedb.c: Likewise.
52774         * posix/getconf.c: Likewise.
52776 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52778         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52779         numbers.
52781 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52783         * math/bits/mathcalls.h (modf): Use __nonnull.
52785 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52787         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52788         (split): Use macro CN instead of the bare value.
52789         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52790         could be used.
52791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52792         instead of the bare value.
52793         (power1): Likewise.
52795 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52797         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52798         __ATAN_TWOM.
52799         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52801         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52802         their values.
52803         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52804         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52805         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52806         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52808 2012-12-28  Andreas Jaeger  <aj@suse.de>
52810         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52811         values are from Linux 3.7.
52813         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52814         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52816 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52818         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52819         TRUE case.
52821         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52822         (norm): Likewise.
52823         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52824         variables with preprocessor constants.
52825         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52826         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52827         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52829 2012-12-27  Bruno Haible  <bruno@clisp.org>
52831         [BZ #14317]
52832         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52833         only if needed.
52835 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52838         and use variable directly.
52839         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52841         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52842         MPONE.
52843         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52844         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52845         variable MPONE.
52846         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52848         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52849         include directive.  Remove local variable MPONE.
52850         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52851         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52854 2012-12-25  David S. Miller  <davem@davemloft.net>
52856         * version.h (RELEASE): Set to "development".
52857         (VERSION): Set to "2.17.90".
52858         * NEWS: Add 2.18 section.
52860 2012-12-21  David S. Miller  <davem@davemloft.net>
52862         * po/hr.po: Update from translation team.
52864 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52866         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52868 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52870         * NEWS:  Mention new memcpy for MIPS.
52872 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52874         * manual/contrib.texi (Contributors): Spelling correction.
52876 2012-12-15  David S. Miller  <davem@davemloft.net>
52878         * po/ru.po: Update from translation team.
52880 2012-12-13  David S. Miller  <davem@davemloft.net>
52882         * NEWS: Mention IFUNC testsuite enhancements.
52884         * po/pl.po: Update from translation team.
52885         * po/bg.po: Likewise.
52887         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52888         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52890 2012-12-11  David S. Miller  <davem@davemloft.net>
52892         * po/sv.po: Update from translation team.
52894         * po/vi.po: Update from translation team.
52896         * po/cs.po: Update from translation team.
52898         * po/de.po: Update from translation team.
52899         * po/eo.po: Likewise.
52900         * po/nl.po: Likewise.
52902 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52904         [BZ #14246]
52905         * manual/argp.texi (Argp Helper Functions): Move node to follow
52906         Argp Parsing State.
52908         [BZ #14872]
52909         * manual/conf.texi (Limits on File System Capacity): Mention if
52910         terminating null is included in the max size.
52912 2012-12-10  Andreas Jaeger  <aj@suse.de>
52914         * po/cs.po: Update from translation team.
52916 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52919         void pointer and cast to uintptr_t.
52920         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52921         path.
52922         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52923         * sysdeps/s390/s390-64/memset.S: Likewise.
52925 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52927         [BZ #14833]
52928         * menual/message.texi (Message Translation): Fix typos.
52929         (Helper programs for gettext): Likewise.
52931 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52933         [BZ #14898]
52934         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52935         Change to -1.
52937 2012-12-07  David S. Miller  <davem@davemloft.net>
52939         * po/libc.pot: Update.
52941 2012-12-07  Richard Henderson  <rth@redhat.com>
52943         [BZ #10114]
52944         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52945         normal/normal case to before the switch.
52946         (_FP_DIV): Likewise.
52948 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52949             Mike Frysinger  <vapier@gentoo.org>
52951         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52952         check for __NR_fadvise64_64.
52954 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52956         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52957         0, not just to plain "0" as a statement.
52958         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52959         with cw.
52961 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52963         * NEWS: Use sourceware.org in Bugzilla URL.
52965 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52968         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52970         * stdio-common/tst-put-error.c (do_test): Add newline to the
52971         padded test to ensure flush.
52973 2012-12-05  Jeff Law  <law@redhat.com>
52975         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52977 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52979         * README: Don't refer to ports add-on as distributed separately.
52980         Mention AArch64 in list of systems supported in the ports add-on.
52982         * LICENSES: Add more non-FSF copyright and license notices.
52984         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52985         ((unused)).
52987         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52989         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52990         10000 as width of padded output.
52992 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52994         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52997         variable LX with __attribute__ ((unused)).
52998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52999         Likewise.
53000         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53001         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53002         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53003         with __attribute__ ((unused)).
53005 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53007         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53009 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53011         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53012         (CFLAGS-nldbl-acos.c): New variable.
53013         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53014         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53015         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53016         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53017         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53018         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53019         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53020         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53021         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53022         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53023         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53024         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53025         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53026         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53027         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53028         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53029         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53030         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53031         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53032         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53033         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53034         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53035         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53036         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53037         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53038         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53039         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53040         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53041         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53042         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53043         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53044         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53045         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53046         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53047         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53048         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53049         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53050         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53051         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53052         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53053         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53054         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53055         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53056         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53057         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53058         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53059         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53060         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53061         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53062         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53063         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53064         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53065         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53066         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53067         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53068         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53069         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53070         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53071         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53072         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53073         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53074         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53075         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53076         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53077         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53078         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53079         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53080         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53081         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53082         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53083         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53084         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53085         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53086         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53087         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53088         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53089         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53090         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53091         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53092         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53093         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53094         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53095         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53096         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53097         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53098         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53099         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53100         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53101         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53102         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53107         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53108         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53109         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53112         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53114         [BZ #14914]
53115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53116         whole low double instead of just low 47 bits when splitting values
53117         into two parts.
53119 2012-12-03  Allan McRae  <allan@archlinux.org>
53121         * manual/stdio.texi (Predefined Printf Handlers): Remove
53122         @hsep and @vsep usage.
53124 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53126         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53127         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53129 2012-12-03  Jeff Law  <law@redhat.com>
53131         * time/sys/time.h (settimeofday): Do not mark TV argument
53132         as __nonnull.
53134 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53136         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53137         when currently writing and seek to current position when not.
53138         * libio/Makefile (tests): Remove bug-fclose1.
53139         * libio/bug-fclose1.c: Delete.
53141 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53143         * manual/arith.texi (feenableexcept): Fix typo.
53144         (fedisableexcept): Likewise.
53146 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53148         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53149         second, differently-typed declaration, rather than a cast.
53151 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53153         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53154         * include/rpc/svc.h: ... here.
53156 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53158         [BZ #13013]
53159         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53160         depending n and resplen2 to catch cases where answer
53161         equals answerp2.
53163 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53165         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53166         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53168 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53170         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53172 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53174         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53176 2012-11-28  Jeff Law  <law@redhat.com>
53178         [BZ #13761]
53179         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53180         dataset_temporary.  Track alloca usage into alloca_used.
53181         If dataset is large allocate and release it via malloc/free.
53183 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53185         [BZ #14197]
53186         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53188 2012-11-28  David S. Miller  <davem@davemloft.net>
53190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53192 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53194         [BZ #14803]
53195         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53196         of pi/2 rounded to nearest to 64 bits.
53197         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53198         nearest to 64 bits.
53199         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53200         bits.
53202 2012-11-28  Jeff Law <law@redhat.com>
53203             Martin Osvald <mosvald@redhat.com>
53205         [BZ #14889]
53206         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53207         * sunrpc/svc.c: Include time.h.
53208         (__svc_accept_failed): New function.
53209         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53210         any reason other than EINTR, call __svc_accept_failed.
53211         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53212         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53214 2012-11-28  Andreas Schwab  <schwab@suse.de>
53216         * scripts/abilist.awk: Also handle indirect functions in .opd
53217         section.
53219 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53221         [BZ #13881]
53222         * sysdeps/x86/fpu/powl_helper.c: New file.
53223         * sysdeps/x86/fpu/Makefile: Likewise.
53224         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53225         (p3): New object.
53226         (__ieee754_powl): Use __powl_helper for finite arguments except
53227         integer exponents below 8.
53228         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53229         (p3): New object.
53230         (__ieee754_powl): Use __powl_helper for finite arguments except
53231         integer exponents below 8.
53232         * math/libm-test.inc (pow_test): Add more tests and enable some
53233         previously disabled tests.
53234         * sysdeps/i386/fpu/libm-test-ulps: Update.
53235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53237 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53238             Carlos O'Donell  <carlos_odonell@mentor.com>
53240         * nss/makedb.c (is_prime): Assert that input is odd and greater
53241         than 4.  Note that fact in a comment too.
53242         (next_prime): Add 4 to input.
53244 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53246         [BZ #11741]
53247         * libio/Makefile (tests): Add test case tst-fwrite-error.
53248         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53249         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53250         * libio/tst-fwrite-error.c: New test case.
53252 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53254         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53255         before casting to void *.
53256         * include/libc-internal.h (__pointer_type): New macro.
53257         (__integer_if_pointer_type_sub): Likewise.
53258         (__integer_if_pointer_type): Likewise.
53259         (cast_to_integer): Likewise.
53260         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53261         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53262         before casting to atomic64_t.
53263         (atomic_exchange_acq): Likewise.
53264         (__arch_exchange_and_add_body): Likewise.
53265         (__arch_add_body): Likewise.
53266         (atomic_add_negative): Likewise.
53267         (atomic_add_zero): Likewise.
53269 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53271         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53272         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53273         (add_fdes): Likewise.
53274         (linear_search_fdes): Likewise.
53275         (binary_search_unencoded_fdes): Likewise.
53277 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53279         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53281 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53283         * configure.in: Autodetect C++ header directories.
53284         * configure: Regenerated.
53286 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53288         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53290 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53294 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53296         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53297         LDBL_MANT_DIG == 106]: Disable some tests.
53298         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53299         Likewise.
53300         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53301         Likewise.
53303         [BZ #14871]
53304         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53305         input for small inputs.  Return +/- pi/2 for large inputs.
53306         * math/libm-test.inc (atan_test): Add more tests.
53308         * sysdeps/generic/unwind-dw2-fde-glibc.c
53309         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53310         __attribute__ ((unused)).
53312         [BZ #14645]
53313         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53314         x * y if x and y are nonzero and z is zero.
53316         [BZ #14811]
53317         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53318         nonzero exponents with absolute value below 0x1p-117 to +/-
53319         0x1p-117.
53321         [BZ #14869]
53322         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53323         up arguments below 2**-450, not just those below 2**-500.
53324         * math/libm-test.inc (hypot_test): Add another test.
53326         [BZ #14868]
53327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53328         Return a+b for ratio over 2**120, not 2**60.
53329         * math/libm-test.inc (hypot_test): Add another test.
53331         * math/libm-test.inc (clog_test): Use
53332         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53333         (clog10_test): Likewise.
53335         [BZ #6778]
53336         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53338 2012-11-22  Andreas Schwab  <schwab@suse.de>
53340         * sysdeps/i386/fpu/libm-test-ulps: Update.
53342 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53344         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53345         printf output with newline.
53347 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53349         [BZ #14865]
53350         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53351         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53352         -z nodlopen, -z initfirst and -z execstack support.
53353         * configure: Regenerated.
53355         * elf/elf.h (DF_1_NODIRECT): New macro.
53356         (DF_1_IGNMULDEF): Likewise.
53357         (DF_1_NOKSYMS): Likewise.
53358         (DF_1_NOHDR): Likewise.
53359         (DF_1_EDITED): Likewise.
53360         (DF_1_NORELOC): Likewise.
53361         (DF_1_SYMINTPOSE): Likewise.
53362         (DF_1_GLOBAUDIT): Likewise.
53363         (DF_1_SINGLETON): Likewise.
53364         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53365         DT_1_SUPPORTED_MASK bits.
53366         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53368 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53370         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53372 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53374         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53375         macro.
53377         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53378         (sendmmsg): Move declarations...
53379         * socket/sys/socket.h: ... here.
53380         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53381         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53382         include it from...
53383         * socket/recvmmsg.c: ... this new file.
53384         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53385         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53386         definition of __sendmmsg hidden.
53387         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53388         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53389         Move ENOSYS stub into and include it from...
53390         * socket/sendmmsg.c: ... this new file.
53391         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53392         (sysdep_routines): Move recvmmsg and sendmmsg...
53393         * socket/Makefile (routines): ... here.
53394         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53395         (GLIBC_PRIVATE): Add __sendmmsg.
53396         * include/sys/socket.h (__sendmmsg): Add declarations.
53397         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53398         sendmmsg.
53400 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53402         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53403         variable I1 with __attribute__ ((unused)).
53404         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53406 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53408         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53409         DUMMY variables with __attribute__ ((unused)).
53411         * bits/byteswap.h: Include <bits/types.h>.
53412         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53414 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53416         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53417         string_t.  Do not manually set errno.
53418         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53419         length with __strnlen.  Make sure to both set errno and return it on
53420         failure.
53422 2012-11-19  David S. Miller  <davem@davemloft.net>
53424         With help from Joseph Myers.
53425         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53426         very large arguments properly.
53427         * math/libm-test.inc (atan_test): New tests.
53428         (atan2_test): New tests.
53429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53432 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53434         [BZ #14856]
53435         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53436         Define to 3.
53438         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53439         [POSIX] (EADDRNOTAVAIL): Likewise.
53440         [POSIX] (EAFNOSUPPORT): Likewise.
53441         [POSIX] (EALREADY): Likewise.
53442         [POSIX] (ECONNABORTED): Likewise.
53443         [POSIX] (ECONNREFUSED): Likewise.
53444         [POSIX] (ECONNRESET): Likewise.
53445         [POSIX] (EDESTADDRREQ): Likewise.
53446         [POSIX] (EDQUOT): Likewise.
53447         [POSIX] (EHOSTUNREACH): Likewise.
53448         [POSIX] (EIDRM): Likewise.
53449         [POSIX] (EISCONN): Likewise.
53450         [POSIX] (ELOOP): Likewise.
53451         [POSIX] (EMULTIHOP): Likewise.
53452         [POSIX] (ENETDOWN): Likewise.
53453         [POSIX] (ENETUNREACH): Likewise.
53454         [POSIX] (ENOBUFS): Likewise.
53455         [POSIX] (ENODATA): Likewise.
53456         [POSIX] (ENOLINK): Likewise.
53457         [POSIX] (ENOMSG): Likewise.
53458         [POSIX] (ENOPROTOOPT): Likewise.
53459         [POSIX] (ENOSR): Likewise.
53460         [POSIX] (ENOSTR): Likewise.
53461         [POSIX] (ENOTCONN): Likewise.
53462         [POSIX] (ENOTSOCK): Likewise.
53463         [POSIX] (EOPNOTSUPP): Likewise.
53464         [POSIX] (EOVERFLOW): Likewise.
53465         [POSIX] (EPROTO): Likewise.
53466         [POSIX] (EPROTONOSUPPORT): Likewise.
53467         [POSIX] (EPROTOTYPE): Likewise.
53468         [POSIX] (ESTALE): Likewise.
53469         [POSIX] (ETIME): Likewise.
53470         [POSIX] (ETXTBSY): Likewise.
53471         [POSIX] (EWOULDBLOCK): Likewise.
53472         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53473         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53474         [POSIX] (SEEK_CUR): Likewise.
53475         [POSIX] (SEEK_END): Likewise.
53476         [POSIX || UNIX98] (mode_t): Do not require.
53477         [POSIX] (off_t): Likewise.
53478         [POSIX] (pid_t): Likewise.
53479         [POSIX] (sys/stat.h): Do not allow header.
53480         [POSIX] (unistd.h): Likewise.
53481         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53482         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53483         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53484         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53485         require.
53486         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53487         sigevent): Specify elements.
53488         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53489         entry.
53490         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53491         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53493         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53494         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53495         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53496         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53497         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53498         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53499         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53500         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53501         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53502         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53503         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53504         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53505         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53506         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53507         Likewise.
53508         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53509         Likewise.
53510         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53511         Likewise.
53512         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53513         Likewise.
53514         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53515         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53516         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53517         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53518         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53519         Specify lower bound on value.
53520         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53521         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53522         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53523         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53524         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53525         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53526         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53527         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53528         value.
53529         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53530         as optional.
53531         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53532         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53533         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53534         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53535         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53536         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53537         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53538         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53539         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53540         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53541         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53542         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53543         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53544         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53545         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53546         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53547         entry.
53548         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53549         optional.
53550         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53551         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53552         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53553         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53554         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53555         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53556         Likewise.
53557         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53558         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53559         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53560         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53561         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53562         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53563         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53564         as optional.
53565         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53566         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53567         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53568         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53569         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53570         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53571         specify as optional.
53572         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53573         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53574         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53575         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53576         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53577         [XPG3] (NL_LANGMAX): Likewise.
53578         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53579         [POSIX || XPG3] (NL_NMAX): Likewise.
53580         [POSIX || XPG3] (NL_SETMAX): Likewise.
53581         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53582         [XPG3] (NZERO): Likewise.
53583         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53584         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53585         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53586         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53587         (REG_ERANGE): Expect.
53588         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53589         optional-constant.
53590         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53591         Use (void) in prototype.
53592         [POSIX] (*_t): Allow.
53593         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53594         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53595         (WRDE_BADVAL): Expect.
53597         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53598         expect.
53599         [XPG3 || XPG4] (O_RSYNC): Likewise.
53600         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53601         Likewise.
53602         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53603         [XPG3 || XPG4] (sigqueue): Likewise.
53604         [XPG3 || XPG4] (sigtimedwait): Likewise.
53605         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53606         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53607         [XPG3 || XPG4] (vsnprintf): Likewise.
53608         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53609         Likewise.
53610         [XPG3 || XPG4] (blksize_t): Likewise.
53611         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53612         Likewise.
53613         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53614         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53615         [XPG3 || XPG4] (struct itimerspec): Likewise.
53616         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53617         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53618         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53619         [XPG3 || XPG4] (clockid_t): Likewise.
53620         [XPG3 || XPG4] (timer_t): Likewise.
53621         [XPG3 || XPG4] (clock_getres): Likewise.
53622         [XPG3 || XPG4] (clock_gettime): Likewise.
53623         [XPG3 || XPG4] (clock_settime): Likewise.
53624         [XPG3 || XPG4] (nanosleep): Likewise.
53625         [XPG3 || XPG4] (timer_create): Likewise.
53626         [XPG3 || XPG4] (timer_delete): Likewise.
53627         [XPG3 || XPG4] (timer_gettime): Likewise.
53628         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53629         [XPG3 || XPG4] (timer_settime): Likewise.
53630         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53631         [XPG3 || XPG4] (getlogin_r): Likewise.
53632         [XPG3 || XPG4] (pread): Likewise.
53633         [XPG3 || XPG4] (pthread_atfork): Likewise.
53634         [XPG3 || XPG4] (pwrite): Likewise.
53636         [BZ #14835]
53637         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53638         <bits/siginfo.h>.
53640 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53642         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53643         finalizing MALLSTREAM.
53645         * sysdeps/mach/hurd/syncfs.c: New file.
53647 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53649         [BZ #14719]
53650         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53651         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53652         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53653         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53654         (_nss_dns_gethostbyname4_r): Likewise.
53655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53656         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53658 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53660         [BZ #13763]
53661         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53663 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53665         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53666         * elf/cache.c (print_entry): Print ",AArch64" for
53667         FLAG_AARCH64_LIB64
53669         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53670         * elf/cache.c (print_entry): Print ",hard-float" for
53671         FLAG_ARM_LIBHF.
53673 2012-11-18  David S. Miller  <davem@davemloft.net>
53675         With help from Joseph Myers.
53676         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53677         cutoff to 2**-13.
53678         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53679         cutoff to 2**-25.
53680         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53681         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53682         small.
53683         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53684         * math/libm-test.inc (y0_test): New tests.
53685         (y1_test): New tests.
53686         * sysdeps/i386/fpu/libm-test-ulps: Update.
53687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53690 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53692         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53693         64-bit targets.
53694         * configure: Regenerated.
53696 2012-11-17  David S. Miller  <davem@davemloft.net>
53698         [BZ #14811]
53699         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53700         nonzero exponents with absolute value below 0x1p-128 to +/-
53701         0x1p-128.
53703 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53705         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53707         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53709         * posix/getconf-speclist.c: New file.
53710         * posix/posix-envs.def: Likewise.
53711         * posix/confstr.c (START_ENV_GROUP): New macro.
53712         (END_ENV_GROUP): Likewise.
53713         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53714         (KNOWN_PRESENT_ENV_STRING): Likewise.
53715         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53716         (UNKNOWN_ENVIRONMENT): Likewise.
53717         (confstr): Include posix-envs.def instead of handling
53718         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53719         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53720         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53721         (END_ENV_GROUP): Likewise.
53722         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53723         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53724         (UNKNOWN_ENVIRONMENT): Likewise.
53725         (__sysconf): Include posix-envs.def instead of handling associated
53726         cases directly here.
53727         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53728         preprocessing getconf-speclist.c rather than running getconf or
53729         generating empty file.
53731 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53733         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53735 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53737         [BZ #14672]
53738         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53740 2012-11-16  David S. Miller  <davem@davemloft.net>
53742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53743         smaller than LDBL_EPSILON/2.0L, just return xm1.
53745 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53747         * elf/tst-array1.c (init): Set constructor priority to 1000.
53748         (fini): Set destructor priority to 1000.
53749         * elf/tst-array2dep.c: Likewise.
53751 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53753         [BZ #11741]
53754         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53755         (_IO_new_file_xsputn): Also return EOF if none of the input
53756         data was written when overflow failed.
53757         * libio/iopadn.c (_IO_padn): Likewise.
53758         * libio/iowpadn.c (_IO_wpadn): Likewise.
53759         * stdio-common/tst-put-error.c: Add copyright notice.
53760         (do_test): Add case for printing padded string.
53761         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53762         _IO_padn returned error.
53763         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53764         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53765         return EOF.
53767 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53769         * libio/libioP.h: Add comment note that the references to C++
53770         bits are now obsolete.
53772 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53774         * math/libm-test.inc (check_complex): Use asprintf.
53776 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53778         * debug/pcprofiledump.c (print_version): Update copyright year.
53779         * malloc/memusagestat.c (print_version): Likewise.
53781 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53783         [BZ #14831]
53784         * elf/Makefile (tests): Add tst-audit8.
53785         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53786         ($(objpfx)tst-audit8.out): New target.
53787         (tst-audit8-ENV): New variable.
53788         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53789         audit if l_reloc_result is NULL.
53790         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53791         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53792         * elf/tst-audit8.c: New file.
53794 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53796         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53797         * misc/Makefile (CFLAGS-select.c): Define.
53798         * posix/Makefile (CFLAGS-pause.c): Define.
53800 2012-11-13  David S. Miller  <davem@davemloft.net>
53802         * crypt/Makefile: Move test targets after toplevel Rules
53803         inclusion.  Grab any necessary sysdep routines when linking.
53804         * crypt/md5.c (md5_process_block): Remove define, we will always
53805         name it __md5_process_block.
53806         (md5_finish_ctx): Update md5_process_block call.
53807         (md5_stream): Likewise.
53808         (md5_process_bytes): Likewise.
53809         (md5_process_block): Rename to __md5_process_block and move to ...
53810         * crypt/md5-block.c: ... here.
53811         * crypt/sha256.c (sha256_process_block): Move to ...
53812         * crypt/sha256-block.c: ... here.
53813         * crypt/sha512.c (sha512_process_block): Move to ...
53814         * crypt/sha512-block.c: ... here.
53815         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53816         path.
53817         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53818         * sysdeps/sparc/sparc64/multiarch/Makefile
53819         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53820         crypt subdir.
53821         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53822         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53823         multiarch changes.
53824         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53825         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53826         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53827         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53828         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53829         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53830         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53831         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53832         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53833         file.
53834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53835         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53836         file.
53837         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53839 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53841         * timezone/tzselect.ksh: Update from tzcode git revision
53842         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53843         * timezone/zdump.c: Likewise.
53844         * timezone/zic.c: Likewise.
53845         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53846         in TZVERSION setting, not $(PKGVERSION).
53847         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53848         REPORT_BUGS_TO settings.
53850         [BZ #14838]
53851         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53852         macro.
53854 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53856         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53857         detection to immediately after _FP_ROUND().
53858         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53859         bits are 0.
53861 2012-11-11  David S. Miller  <davem@davemloft.net>
53863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53864         inttypes.h
53865         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53866         __close rather than their public counterparts.
53868 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53870         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53871         file.
53872         [UNIX98] (sem_timedwait): Do not expect.
53873         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53874         [XPG4 || UNIX98] (sockatmark): Do not expect.
53875         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53876         (clock_getcpuclockid): Do not expect.
53877         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53878         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53879         Do not expect.
53880         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53881         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53882         [UNIX98] (vwscanf): Likewise.
53883         [UNIX98] (vswscanf): Likewise.
53885 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53887         * timezone/version.h: Remove file.
53888         * timezone/README: Do not refer to version.h.
53889         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53890         $(objpfx)version.h.
53891         ($(objpfx)zdump.o): Likewise.
53892         ($(objpfx)version.h): New target.
53894         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53895         2012i.
53896         * timezone/README: Don't mention modification to tzselect.ksh.
53897         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53898         work on unmodified tzselect.ksh.  Substitute version numbers in
53899         tzselect.ksh.
53901         * Makefile (format-me): Remove.
53902         (INSTALL): Adjust indentation.  Use commands directly instead of
53903         using $(format-me).
53905         * aclocal.m4 (ACX_PKGVERSION): New macro.
53906         (ACX_BUGURL): Likewise.
53907         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53908         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53909         (REPORT_BUGS_TO): Likewise.
53910         * configure: Regenerated.
53911         * config.h.in (PKGVERSION): New macro.
53912         (REPORT_BUGS_TO): Likewise.
53913         * config.make.in (PKGVERSION): New variable.
53914         (PKGVERSION_TEXI): Likewise.
53915         (REPORT_BUGS_TO): Likewise.
53916         (REPORT_BUGS_TEXI): Likewise.
53917         * Makefile (format-me): Use -I$(common-objpfx)manual.
53918         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53919         ($(common-objpfx)manual/%): New target.
53920         (manual/%): Remove target.
53921         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53922         (print_version): Use PKGVERSION.
53923         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53924         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53925         and REPORT_BUGS_TO.
53926         ($(objpfx)xtrace): Likewise.
53927         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53928         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53929         (print_version): Use PKGVERSION.
53930         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53931         (do_version): Use PKGVERSION.
53932         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53933         REPORT_BUGS_TO.
53934         (common-ldd-rewrite): Likewise.
53935         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53936         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53937         (print_version): Use PKGVERSION.
53938         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53939         * elf/pldd.c (argp_program_bug_address): Remove variable.
53940         (more_help): New function.
53941         (argp): Use more_help.
53942         (print_version): Use PKGVERSION.
53943         * elf/sln.c (main): Use PKGVERSION.
53944         (usage): Use REPORT_BUGS_TO.
53945         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53946         (top level): Use PKGVERSION.
53947         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53948         (print_version): Use PKGVERSION.
53949         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53950         (print_version): Use PKGVERSION.
53951         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53952         (print_version): Use PKGVERSION.
53953         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53954         (print_version): Use PKGVERSION.
53955         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53956         (print_version): Use PKGVERSION.
53957         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53958         (print_version): Use PKGVERSION.
53959         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53960         and BUGURL.
53961         ($(objpfx)memusage): Likewise.
53962         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53963         (do_version): Use PKGVERSION.
53964         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53965         (print_version): Use PKGVERSION.
53966         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53967         ($PKGVERSION): New variable.
53968         ($REPORT_BUGS_TO): Likewise.
53969         (usage): Use $REPORT_BUGS_TO.
53970         (top level): Use $PKGVERSION.
53971         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53972         ($(objpfx)pkgvers.texi): New rule.
53973         ($(objpfx)stamp-pkgvers): Likewise.
53974         * manual/install.texi: Include pkgvers.texi.
53975         (--with-pkgversion): Document new configure option.
53976         (--with-bugurl): Likewise.
53977         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53978         than necessarily for this particular distribution.  Use
53979         REPORT_BUGS_TO for where to report bugs.
53980         * INSTALL: Regenerated.
53981         * manual/libc.texinfo: Include pkgvers.texi.
53982         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53983         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53984         (print_version): Use PKGVERSION.
53985         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53986         (print_version): Use PKGVERSION.
53987         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53988         (print_version): Use PKGVERSION.
53989         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53990         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53991         macro.
53992         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53993         (print_version): Use PKGVERSION.
53994         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53995         (print_version): Use PKGVERSION.
53996         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53997         and PKGVERSION.
53999         * timezone/checktab.awk: Update from tzcode 2012i.
54000         * timezone/ialloc.c: Likewise.
54001         * timezone/private.h: Likewise.
54002         * timezone/scheck.c: Likewise.
54003         * timezone/tzfile.h: Likewise.
54004         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54005         (TZVERSION): Hardcode tzcode version number.
54006         * timezone/zdump.c: Update from tzcode 2012i.
54007         * timezone/zic.c: Likewise.
54008         * timezone/version.h: New file.
54009         * timezone/README: Describe version.h.  Update upstream location.
54011         [BZ #14824]
54012         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54013         (mktemp): Enable declaration.
54014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54015         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54017         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54018         Likewise.
54019         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54020         Likewise.
54021         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54022         Likewise.
54023         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54024         Likewise.
54025         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54026         Likewise.
54027         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54028         Likewise.
54030         [BZ #14821]
54031         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54032         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54033         for copies of such integer values.
54034         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54035         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54037 2012-11-09  Andreas Jaeger  <aj@suse.de>
54039         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54040         definitions and declarations that are provided by
54041         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54043 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54045         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54046         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54047         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54048         definition.
54050 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54052         * elf/elf.h: Update comment before AArch64 relocations.
54054 2012-11-07  David S. Miller  <davem@davemloft.net>
54056         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54057         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54058         (__start_context): Declare.
54059         (__makecontext_ret): Delete.
54060         (__makecontext): Hook up __start_context instead of
54061         __makecontext_ret.
54062         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54063         (sysdep_routines): Add __start_context when in stdlib.
54065 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54067         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54068         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54069         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54070         hardcoded "nm".
54071         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54072         (READELF): New variable.  Use it instead of hardcoded "readelf".
54074 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54076         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54077         * sysdeps/x86/Makefile: Here.
54078         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54079         * sysdeps/x86/tst-xmmymm.sh: This.
54081 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54083         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54084         expectations.
54085         [UNIX98] (pthread_barrier_t): Do not expect.
54086         [UNIX98] (pthread_barrierattr_t): Likewise.
54087         [UNIX98] (pthread_spinlock_t): Likewise.
54088         [UNIX98] (pthread_barrier_destroy): Likewise.
54089         [UNIX98] (pthread_barrier_init): Likewise.
54090         [UNIX98] (pthread_barrier_wait): Likewise.
54091         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54092         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54093         [UNIX98] (pthread_barrierattr_init): Likewise.
54094         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54095         [UNIX98] (pthread_getcpuclockid): Likewise.
54096         [UNIX98] (pthread_mutex_timedlock): Likewise.
54097         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54098         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54099         [UNIX98] (pthread_sigmask): Likewise.
54100         [UNIX98] (pthread_spin_destroy): Likewise.
54101         [UNIX98] (pthread_spin_init): Likewise.
54102         [UNIX98] (pthread_spin_lock): Likewise.
54103         [UNIX98] (pthread_spin_trylock): Likewise.
54104         [UNIX98] (pthread_spin_unlock): Likewise.
54105         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54106         Do not expect.
54107         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54108         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54109         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54110         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54111         [XPG3 || XPG4] (pthread_key_t): Likewise.
54112         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54113         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54114         [XPG3 || XPG4] (pthread_once_t): Likewise.
54115         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54116         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54117         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54118         [XPG3 || XPG4] (pthread_t): Likewise.
54120         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54121         not expect.
54122         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54124         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54125         Change function return type to int.
54127         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54128         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54129         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54130         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54131         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54132         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54133         [!POSIX] (posix_madvise): Likewise.
54134         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54135         && !UNIX98].
54136         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54137         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54138         (mode_t): Likewise.
54139         (posix_mem_offset): Likewise.
54140         (posix_typed_mem_get_info): Likewise.
54141         (posix_typed_mem_open): Likewise.
54143         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54144         Change condition to [XOPEN2K8].
54146         * conform/conformtest.pl: Preprocess allow-header data with -x c
54147         instead of from stdin.
54148         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54149         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54150         [C99-based standards] (cerfc): Likewise.
54151         [C99-based standards] (cexp2): Likewise.
54152         [C99-based standards] (cexpm1): Likewise.
54153         [C99-based standards] (clog10): Likewise.
54154         [C99-based standards] (clog1p): Likewise.
54155         [C99-based standards] (clog2): Likewise.
54156         [C99-based standards] (clgamma): Likewise.
54157         [C99-based standards] (ctgamma): Likewise.
54158         [C99-based standards] (cerff): Likewise.
54159         [C99-based standards] (cerfcf): Likewise.
54160         [C99-based standards] (cexp2f): Likewise.
54161         [C99-based standards] (cexpm1f): Likewise.
54162         [C99-based standards] (clog10f): Likewise.
54163         [C99-based standards] (clog1pf): Likewise.
54164         [C99-based standards] (clog2f): Likewise.
54165         [C99-based standards] (clgammaf): Likewise.
54166         [C99-based standards] (ctgammaf): Likewise.
54167         [C99-based standards] (cerfl): Likewise.
54168         [C99-based standards] (cerfcl): Likewise.
54169         [C99-based standards] (cexp2l): Likewise.
54170         [C99-based standards] (cexpm1l): Likewise.
54171         [C99-based standards] (clog10l): Likewise.
54172         [C99-based standards] (clog1pl): Likewise.
54173         [C99-based standards] (clog2l): Likewise.
54174         [C99-based standards] (clgammal): Likewise.
54175         [C99-based standards] (ctgammal): Likewise.
54176         * conform/data/inttypes.h-data [C99-based standards]: Include
54177         stdint.h-data.  Remove all expectations for stdint.h contents.
54178         [C99-based standards] (PRI*): Do not allow.
54179         [C99-based standards] (SCN*): Likewise.
54180         [C99-based standards] (*_t): Likewise.
54181         [C99-based-standards] (PRId8): Expect macro.
54182         [C99-based-standards] (PRIi8): Likewise.
54183         [C99-based-standards] (PRIo8): Likewise.
54184         [C99-based-standards] (PRIu8): Likewise.
54185         [C99-based-standards] (PRIx8): Likewise.
54186         [C99-based-standards] (PRIX8): Likewise.
54187         [C99-based-standards] (SCNd8): Likewise.
54188         [C99-based-standards] (SCNi8): Likewise.
54189         [C99-based-standards] (SCNo8): Likewise.
54190         [C99-based-standards] (SCNu8): Likewise.
54191         [C99-based-standards] (SCNx8): Likewise.
54192         [C99-based-standards] (PRIdLEAST8): Likewise.
54193         [C99-based-standards] (PRIiLEAST8): Likewise.
54194         [C99-based-standards] (PRIoLEAST8): Likewise.
54195         [C99-based-standards] (PRIuLEAST8): Likewise.
54196         [C99-based-standards] (PRIxLEAST8): Likewise.
54197         [C99-based-standards] (PRIXLEAST8): Likewise.
54198         [C99-based-standards] (SCNdLEAST8): Likewise.
54199         [C99-based-standards] (SCNiLEAST8): Likewise.
54200         [C99-based-standards] (SCNoLEAST8): Likewise.
54201         [C99-based-standards] (SCNuLEAST8): Likewise.
54202         [C99-based-standards] (SCNxLEAST8): Likewise.
54203         [C99-based-standards] (PRIdFAST8): Likewise.
54204         [C99-based-standards] (PRIiFAST8): Likewise.
54205         [C99-based-standards] (PRIoFAST8): Likewise.
54206         [C99-based-standards] (PRIuFAST8): Likewise.
54207         [C99-based-standards] (PRIxFAST8): Likewise.
54208         [C99-based-standards] (PRIXFAST8): Likewise.
54209         [C99-based-standards] (SCNdFAST8): Likewise.
54210         [C99-based-standards] (SCNiFAST8): Likewise.
54211         [C99-based-standards] (SCNoFAST8): Likewise.
54212         [C99-based-standards] (SCNuFAST8): Likewise.
54213         [C99-based-standards] (SCNxFAST8): Likewise.
54214         [C99-based-standards] (PRId16): Likewise.
54215         [C99-based-standards] (PRIi16): Likewise.
54216         [C99-based-standards] (PRIo16): Likewise.
54217         [C99-based-standards] (PRIu16): Likewise.
54218         [C99-based-standards] (PRIx16): Likewise.
54219         [C99-based-standards] (PRIX16): Likewise.
54220         [C99-based-standards] (SCNd16): Likewise.
54221         [C99-based-standards] (SCNi16): Likewise.
54222         [C99-based-standards] (SCNo16): Likewise.
54223         [C99-based-standards] (SCNu16): Likewise.
54224         [C99-based-standards] (SCNx16): Likewise.
54225         [C99-based-standards] (PRIdLEAST16): Likewise.
54226         [C99-based-standards] (PRIiLEAST16): Likewise.
54227         [C99-based-standards] (PRIoLEAST16): Likewise.
54228         [C99-based-standards] (PRIuLEAST16): Likewise.
54229         [C99-based-standards] (PRIxLEAST16): Likewise.
54230         [C99-based-standards] (PRIXLEAST16): Likewise.
54231         [C99-based-standards] (SCNdLEAST16): Likewise.
54232         [C99-based-standards] (SCNiLEAST16): Likewise.
54233         [C99-based-standards] (SCNoLEAST16): Likewise.
54234         [C99-based-standards] (SCNuLEAST16): Likewise.
54235         [C99-based-standards] (SCNxLEAST16): Likewise.
54236         [C99-based-standards] (PRIdFAST16): Likewise.
54237         [C99-based-standards] (PRIiFAST16): Likewise.
54238         [C99-based-standards] (PRIoFAST16): Likewise.
54239         [C99-based-standards] (PRIuFAST16): Likewise.
54240         [C99-based-standards] (PRIxFAST16): Likewise.
54241         [C99-based-standards] (PRIXFAST16): Likewise.
54242         [C99-based-standards] (SCNdFAST16): Likewise.
54243         [C99-based-standards] (SCNiFAST16): Likewise.
54244         [C99-based-standards] (SCNoFAST16): Likewise.
54245         [C99-based-standards] (SCNuFAST16): Likewise.
54246         [C99-based-standards] (SCNxFAST16): Likewise.
54247         [C99-based-standards] (PRId32): Likewise.
54248         [C99-based-standards] (PRIi32): Likewise.
54249         [C99-based-standards] (PRIo32): Likewise.
54250         [C99-based-standards] (PRIu32): Likewise.
54251         [C99-based-standards] (PRIx32): Likewise.
54252         [C99-based-standards] (PRIX32): Likewise.
54253         [C99-based-standards] (SCNd32): Likewise.
54254         [C99-based-standards] (SCNi32): Likewise.
54255         [C99-based-standards] (SCNo32): Likewise.
54256         [C99-based-standards] (SCNu32): Likewise.
54257         [C99-based-standards] (SCNx32): Likewise.
54258         [C99-based-standards] (PRIdLEAST32): Likewise.
54259         [C99-based-standards] (PRIiLEAST32): Likewise.
54260         [C99-based-standards] (PRIoLEAST32): Likewise.
54261         [C99-based-standards] (PRIuLEAST32): Likewise.
54262         [C99-based-standards] (PRIxLEAST32): Likewise.
54263         [C99-based-standards] (PRIXLEAST32): Likewise.
54264         [C99-based-standards] (SCNdLEAST32): Likewise.
54265         [C99-based-standards] (SCNiLEAST32): Likewise.
54266         [C99-based-standards] (SCNoLEAST32): Likewise.
54267         [C99-based-standards] (SCNuLEAST32): Likewise.
54268         [C99-based-standards] (SCNxLEAST32): Likewise.
54269         [C99-based-standards] (PRIdFAST32): Likewise.
54270         [C99-based-standards] (PRIiFAST32): Likewise.
54271         [C99-based-standards] (PRIoFAST32): Likewise.
54272         [C99-based-standards] (PRIuFAST32): Likewise.
54273         [C99-based-standards] (PRIxFAST32): Likewise.
54274         [C99-based-standards] (PRIXFAST32): Likewise.
54275         [C99-based-standards] (SCNdFAST32): Likewise.
54276         [C99-based-standards] (SCNiFAST32): Likewise.
54277         [C99-based-standards] (SCNoFAST32): Likewise.
54278         [C99-based-standards] (SCNuFAST32): Likewise.
54279         [C99-based-standards] (SCNxFAST32): Likewise.
54280         [C99-based-standards] (PRId64): Likewise.
54281         [C99-based-standards] (PRIi64): Likewise.
54282         [C99-based-standards] (PRIo64): Likewise.
54283         [C99-based-standards] (PRIu64): Likewise.
54284         [C99-based-standards] (PRIx64): Likewise.
54285         [C99-based-standards] (PRIX64): Likewise.
54286         [C99-based-standards] (SCNd64): Likewise.
54287         [C99-based-standards] (SCNi64): Likewise.
54288         [C99-based-standards] (SCNo64): Likewise.
54289         [C99-based-standards] (SCNu64): Likewise.
54290         [C99-based-standards] (SCNx64): Likewise.
54291         [C99-based-standards] (PRIdLEAST64): Likewise.
54292         [C99-based-standards] (PRIiLEAST64): Likewise.
54293         [C99-based-standards] (PRIoLEAST64): Likewise.
54294         [C99-based-standards] (PRIuLEAST64): Likewise.
54295         [C99-based-standards] (PRIxLEAST64): Likewise.
54296         [C99-based-standards] (PRIXLEAST64): Likewise.
54297         [C99-based-standards] (SCNdLEAST64): Likewise.
54298         [C99-based-standards] (SCNiLEAST64): Likewise.
54299         [C99-based-standards] (SCNoLEAST64): Likewise.
54300         [C99-based-standards] (SCNuLEAST64): Likewise.
54301         [C99-based-standards] (SCNxLEAST64): Likewise.
54302         [C99-based-standards] (PRIdFAST64): Likewise.
54303         [C99-based-standards] (PRIiFAST64): Likewise.
54304         [C99-based-standards] (PRIoFAST64): Likewise.
54305         [C99-based-standards] (PRIuFAST64): Likewise.
54306         [C99-based-standards] (PRIxFAST64): Likewise.
54307         [C99-based-standards] (PRIXFAST64): Likewise.
54308         [C99-based-standards] (SCNdFAST64): Likewise.
54309         [C99-based-standards] (SCNiFAST64): Likewise.
54310         [C99-based-standards] (SCNoFAST64): Likewise.
54311         [C99-based-standards] (SCNuFAST64): Likewise.
54312         [C99-based-standards] (SCNxFAST64): Likewise.
54313         [C99-based-standards] (PRIdMAX): Likewise.
54314         [C99-based-standards] (PRIiMAX): Likewise.
54315         [C99-based-standards] (PRIoMAX): Likewise.
54316         [C99-based-standards] (PRIuMAX): Likewise.
54317         [C99-based-standards] (PRIxMAX): Likewise.
54318         [C99-based-standards] (PRIXMAX): Likewise.
54319         [C99-based-standards] (SCNdMAX): Likewise.
54320         [C99-based-standards] (SCNiMAX): Likewise.
54321         [C99-based-standards] (SCNoMAX): Likewise.
54322         [C99-based-standards] (SCNuMAX): Likewise.
54323         [C99-based-standards] (SCNxMAX): Likewise.
54324         [C99-based-standards] (PRIdPTR): Likewise.
54325         [C99-based-standards] (PRIiPTR): Likewise.
54326         [C99-based-standards] (PRIoPTR): Likewise.
54327         [C99-based-standards] (PRIuPTR): Likewise.
54328         [C99-based-standards] (PRIxPTR): Likewise.
54329         [C99-based-standards] (PRIXPTR): Likewise.
54330         [C99-based-standards] (SCNdPTR): Likewise.
54331         [C99-based-standards] (SCNiPTR): Likewise.
54332         [C99-based-standards] (SCNoPTR): Likewise.
54333         [C99-based-standards] (SCNuPTR): Likewise.
54334         [C99-based-standards] (SCNxPTR): Likewise.
54335         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54336         allow.
54337         * conform/data/stdint.h-data: Update comments to clarify
54338         requirements.
54339         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54340         type.
54341         [C99-based standards] (INT8_MAX): Likewise.
54342         [C99-based standards] (INT16_MIN): Likewise.
54343         [C99-based standards] (INT16_MAX): Likewise.
54344         [C99-based standards] (INT32_MIN): Likewise.
54345         [C99-based standards] (INT32_MAX): Likewise.
54346         [C99-based standards] (INT64_MIN): Likewise.
54347         [C99-based standards] (INT64_MAX): Likewise.
54348         [C99-based standards] (UINT8_MAX): Likewise.
54349         [C99-based standards] (UINT16_MAX): Likewise.
54350         [C99-based standards] (UINT32_MAX): Likewise.
54351         [C99-based standards] (UINT64_MAX): Likewise.
54352         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54353         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54354         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54355         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54356         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54357         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54358         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54359         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54360         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54361         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54362         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54363         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54364         [C99-based standards] (INT_FAST8_MIN): Likewise.
54365         [C99-based standards] (INT_FAST8_MAX): Likewise.
54366         [C99-based standards] (INT_FAST16_MIN): Likewise.
54367         [C99-based standards] (INT_FAST16_MAX): Likewise.
54368         [C99-based standards] (INT_FAST32_MIN): Likewise.
54369         [C99-based standards] (INT_FAST32_MAX): Likewise.
54370         [C99-based standards] (INT_FAST64_MIN): Likewise.
54371         [C99-based standards] (INT_FAST64_MAX): Likewise.
54372         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54373         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54374         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54375         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54376         [C99-based standards] (INTPTR_MIN): Likewise.
54377         [C99-based standards] (INTPTR_MAX): Likewise.
54378         [C99-based standards] (UINTPTR_MAX): Likewise.
54379         [C99-based standards] (INTMAX_MIN): Likewise.
54380         [C99-based standards] (INTMAX_MAX): Likewise.
54381         [C99-based standards] (UINTMAX_MAX): Likewise.
54382         [C99-based standards] (PTRDIFF_MIN): Likewise.
54383         [C99-based standards] (PTRDIFF_MAX): Likewise.
54384         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54385         [C99-based standards] (SIZE_MAX): Likewise.
54386         [C99-based standards] (WCHAR_MAX): Likewise.
54387         [C99-based standards] (WINT_MAX): Likewise.
54388         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54389         constraint on value.
54390         [C99-based standards] (WCHAR_MIN): Likewise.
54391         [C99-based standards] (WINT_MIN): Likewise.
54392         [C99-based standards] (*_t): Allow.
54393         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54394         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54395         Include math.h-data and complex.h-data.  Remove all expectations
54396         of math.h and complex.h contents.
54397         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54398         at end of line.
54399         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54400         (struct tm): Expect tag.
54401         [C99-based-standards] (wcstof): Expect function.
54402         [C99-based-standards] (wcstold): Likewise.
54403         [C99-based-standards] (wcstoll): Likewise.
54404         [C99-based-standards] (wcstoull): Likewise.
54405         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54406         macro-int-constant.  Specify type.
54407         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54408         constraint on value.
54409         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54410         Specify type.
54411         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54412         Specify value.
54413         [ISO C standards]: Do not allow headers.
54414         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54415         wcs[abcdefghijklmnopqrstuvwxyz]*.
54416         [ISO C standards] (*_t): Do not allow.
54417         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54418         Expect function.
54419         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54420         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54421         Specify type.
54422         [ISO C standards]: Do not allow headers.
54423         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54424         is[abcdefghijklmnopqrstuvwxyz]*.
54425         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54426         to[abcdefghijklmnopqrstuvwxyz]*.
54427         [ISO C standards] (*_t): Do not allow.
54428         * conform/data/stdalign.h-data: New file.
54429         * conform/data/stdbool.h-data: Likewise.
54430         * conform/data/stdnoreturn.h-data: Likewise.
54432 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54434         [BZ #14815]
54435         * manual/filesys.texi (Directory Entries): Typo fix.
54436         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54438 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54440         * elf/elf.h (EM_AARCH64): New macro.
54441         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54442         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54443         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54444         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54445         (R_AARCH64_TLSDESC): Likewise.
54446         (NT_ARM_TLS): Likewise.
54447         (NT_ARM_HW_BREAK): Likewise.
54448         (NT_ARM_HW_WATCH): Likewise.
54450 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54452         [BZ #14811]
54453         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54454         (__ieee754_powl): Saturate nonzero exponents with absolute value
54455         below 0x1p-79 to +/- 0x1p-79.
54456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54457         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54458         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54459         nonzero exponents with absolute value below 0x1p-32 to +/-
54460         0x1p-32.
54461         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54462         (__ieee754_powl): Saturate nonzero exponents with absolute value
54463         below 0x1p-79 to +/- 0x1p-79.
54464         * math/libm-test.inc (pow_test): Add more tests.
54466 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54468         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54469         _dl_s390_cap_flags with kernel. Increase string length.
54470         (_dl_s390_platforms): Add z196 and zEC12.
54472 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54474         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54475         Change XOPEN21K to XOPEN2K.
54477 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54479         * string/memmove.c: Use memcpy when possible.
54481 2012-11-06  Andreas Jaeger  <aj@suse.de>
54483         * po/eo.po: Update from translation team.
54485 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54487         [BZ #14793]
54488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54489         exponent and small x and y exponents, scale x or y up.  Increase
54490         by 2 the exponent used in scaling up.
54491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54493         * math/libm-test.inc (fma_test): Add more tests.
54494         (fma_test_towardzero): Likewise.
54495         (fma_test_downward): Likewise.
54496         (fma_test_upward): Likewise.
54498 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54500         [BZ #14805]
54501         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54502         fenv_t *.
54504         [BZ #14801]
54505         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54506         namespace for names of struct fields.
54507         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54508         fenv_t fields.
54509         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54510         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54512 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54514         [BZ #3665]
54515         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54517 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54519         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54520         PTR_DEMANGLE.
54522         [BZ #5246]
54523         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54524         PTR_DEMANGLE.
54526 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54528         [BZ #14797]
54529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54530         definitely overflow as x * y not x * y + z.
54531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54533         * math/libm-test.inc (fma_test): Add more tests.
54534         (fma_test_towardzero): Likewise.
54535         (fma_test_downward): Likewise.
54536         (fma_test_upward): Likewise.
54538 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54540         [BZ #157]
54542         * include/stub-tag.h: Remove file.
54543         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54544         '#include' of it.
54545         * manual/maint.texi (Porting): Don't reference it.
54546         * Makerules ($(objpfx)stubs): Likewise.
54547         * dirent/closedir.c: Don't include <stub-tag.h>.
54548         * dirent/dirfd.c: Likewise.
54549         * dirent/fdopendir.c: Likewise.
54550         * dirent/getdents.c: Likewise.
54551         * dirent/getdents64.c: Likewise.
54552         * dirent/opendir.c: Likewise.
54553         * dirent/readdir.c: Likewise.
54554         * dirent/readdir64.c: Likewise.
54555         * dirent/readdir64_r.c: Likewise.
54556         * dirent/readdir_r.c: Likewise.
54557         * dirent/rewinddir.c: Likewise.
54558         * dirent/seekdir.c: Likewise.
54559         * dirent/telldir.c: Likewise.
54560         * gmon/profil.c: Likewise.
54561         * grp/setgroups.c: Likewise.
54562         * inet/if_index.c: Likewise.
54563         * io/access.c: Likewise.
54564         * io/chdir.c: Likewise.
54565         * io/chmod.c: Likewise.
54566         * io/chown.c: Likewise.
54567         * io/close.c: Likewise.
54568         * io/dup.c: Likewise.
54569         * io/dup2.c: Likewise.
54570         * io/dup3.c: Likewise.
54571         * io/euidaccess.c: Likewise.
54572         * io/faccessat.c: Likewise.
54573         * io/fchdir.c: Likewise.
54574         * io/fchmod.c: Likewise.
54575         * io/fchmodat.c: Likewise.
54576         * io/fchown.c: Likewise.
54577         * io/fchownat.c: Likewise.
54578         * io/fcntl.c: Likewise.
54579         * io/flock.c: Likewise.
54580         * io/fstatfs.c: Likewise.
54581         * io/fstatfs64.c: Likewise.
54582         * io/fstatvfs.c: Likewise.
54583         * io/fstatvfs64.c: Likewise.
54584         * io/futimens.c: Likewise.
54585         * io/fxstat.c: Likewise.
54586         * io/fxstat64.c: Likewise.
54587         * io/fxstatat.c: Likewise.
54588         * io/fxstatat64.c: Likewise.
54589         * io/getcwd.c: Likewise.
54590         * io/isatty.c: Likewise.
54591         * io/lchmod.c: Likewise.
54592         * io/lchown.c: Likewise.
54593         * io/link.c: Likewise.
54594         * io/linkat.c: Likewise.
54595         * io/lseek.c: Likewise.
54596         * io/lseek64.c: Likewise.
54597         * io/lxstat64.c: Likewise.
54598         * io/mkdir.c: Likewise.
54599         * io/mkdirat.c: Likewise.
54600         * io/mkfifo.c: Likewise.
54601         * io/mkfifoat.c: Likewise.
54602         * io/open.c: Likewise.
54603         * io/open64.c: Likewise.
54604         * io/openat.c: Likewise.
54605         * io/openat64.c: Likewise.
54606         * io/pipe.c: Likewise.
54607         * io/pipe2.c: Likewise.
54608         * io/poll.c: Likewise.
54609         * io/posix_fadvise.c: Likewise.
54610         * io/posix_fadvise64.c: Likewise.
54611         * io/posix_fallocate.c: Likewise.
54612         * io/posix_fallocate64.c: Likewise.
54613         * io/read.c: Likewise.
54614         * io/readlink.c: Likewise.
54615         * io/readlinkat.c: Likewise.
54616         * io/rmdir.c: Likewise.
54617         * io/sendfile.c: Likewise.
54618         * io/sendfile64.c: Likewise.
54619         * io/statfs.c: Likewise.
54620         * io/statfs64.c: Likewise.
54621         * io/statvfs.c: Likewise.
54622         * io/statvfs64.c: Likewise.
54623         * io/symlink.c: Likewise.
54624         * io/symlinkat.c: Likewise.
54625         * io/ttyname.c: Likewise.
54626         * io/ttyname_r.c: Likewise.
54627         * io/umask.c: Likewise.
54628         * io/unlink.c: Likewise.
54629         * io/unlinkat.c: Likewise.
54630         * io/utime.c: Likewise.
54631         * io/utimensat.c: Likewise.
54632         * io/write.c: Likewise.
54633         * io/xmknod.c: Likewise.
54634         * io/xmknodat.c: Likewise.
54635         * io/xstat.c: Likewise.
54636         * io/xstat64.c: Likewise.
54637         * login/getpt.c: Likewise.
54638         * login/grantpt.c: Likewise.
54639         * login/unlockpt.c: Likewise.
54640         * math/e_acoshl.c: Likewise.
54641         * math/e_acosl.c: Likewise.
54642         * math/e_asinl.c: Likewise.
54643         * math/e_atan2l.c: Likewise.
54644         * math/e_atanhl.c: Likewise.
54645         * math/e_coshl.c: Likewise.
54646         * math/e_expl.c: Likewise.
54647         * math/e_fmodl.c: Likewise.
54648         * math/e_gammal_r.c: Likewise.
54649         * math/e_hypotl.c: Likewise.
54650         * math/e_j0l.c: Likewise.
54651         * math/e_j1l.c: Likewise.
54652         * math/e_jnl.c: Likewise.
54653         * math/e_lgammal_r.c: Likewise.
54654         * math/e_log10l.c: Likewise.
54655         * math/e_log2l.c: Likewise.
54656         * math/e_logl.c: Likewise.
54657         * math/e_powl.c: Likewise.
54658         * math/e_rem_pio2l.c: Likewise.
54659         * math/e_sinhl.c: Likewise.
54660         * math/e_sqrtl.c: Likewise.
54661         * math/fclrexcpt.c: Likewise.
54662         * math/fedisblxcpt.c: Likewise.
54663         * math/feenablxcpt.c: Likewise.
54664         * math/fegetenv.c: Likewise.
54665         * math/fegetexcept.c: Likewise.
54666         * math/fegetround.c: Likewise.
54667         * math/feholdexcpt.c: Likewise.
54668         * math/fesetenv.c: Likewise.
54669         * math/fesetround.c: Likewise.
54670         * math/feupdateenv.c: Likewise.
54671         * math/fgetexcptflg.c: Likewise.
54672         * math/fraiseexcpt.c: Likewise.
54673         * math/fsetexcptflg.c: Likewise.
54674         * math/ftestexcept.c: Likewise.
54675         * math/k_cosl.c: Likewise.
54676         * math/k_rem_pio2l.c: Likewise.
54677         * math/k_sinl.c: Likewise.
54678         * math/k_tanl.c: Likewise.
54679         * math/s_asinhl.c: Likewise.
54680         * math/s_atanl.c: Likewise.
54681         * math/s_cbrtl.c: Likewise.
54682         * math/s_erfl.c: Likewise.
54683         * math/s_expm1l.c: Likewise.
54684         * math/s_log1pl.c: Likewise.
54685         * math/s_tanhl.c: Likewise.
54686         * misc/acct.c: Likewise.
54687         * misc/brk.c: Likewise.
54688         * misc/chflags.c: Likewise.
54689         * misc/chroot.c: Likewise.
54690         * misc/fchflags.c: Likewise.
54691         * misc/fgetxattr.c: Likewise.
54692         * misc/flistxattr.c: Likewise.
54693         * misc/fremovexattr.c: Likewise.
54694         * misc/fsetxattr.c: Likewise.
54695         * misc/fsync.c: Likewise.
54696         * misc/ftruncate.c: Likewise.
54697         * misc/futimes.c: Likewise.
54698         * misc/futimesat.c: Likewise.
54699         * misc/getdomain.c: Likewise.
54700         * misc/getdtsz.c: Likewise.
54701         * misc/gethostid.c: Likewise.
54702         * misc/gethostname.c: Likewise.
54703         * misc/getloadavg.c: Likewise.
54704         * misc/getpagesize.c: Likewise.
54705         * misc/getsysstats.c: Likewise.
54706         * misc/getxattr.c: Likewise.
54707         * misc/gtty.c: Likewise.
54708         * misc/ioctl.c: Likewise.
54709         * misc/lgetxattr.c: Likewise.
54710         * misc/listxattr.c: Likewise.
54711         * misc/llistxattr.c: Likewise.
54712         * misc/lremovexattr.c: Likewise.
54713         * misc/lsetxattr.c: Likewise.
54714         * misc/lutimes.c: Likewise.
54715         * misc/madvise.c: Likewise.
54716         * misc/mincore.c: Likewise.
54717         * misc/mlock.c: Likewise.
54718         * misc/mlockall.c: Likewise.
54719         * misc/mmap.c: Likewise.
54720         * misc/mprotect.c: Likewise.
54721         * misc/msync.c: Likewise.
54722         * misc/munlock.c: Likewise.
54723         * misc/munlockall.c: Likewise.
54724         * misc/munmap.c: Likewise.
54725         * misc/preadv.c: Likewise.
54726         * misc/preadv64.c: Likewise.
54727         * misc/ptrace.c: Likewise.
54728         * misc/pwritev.c: Likewise.
54729         * misc/pwritev64.c: Likewise.
54730         * misc/readv.c: Likewise.
54731         * misc/reboot.c: Likewise.
54732         * misc/remap_file_pages.c: Likewise.
54733         * misc/removexattr.c: Likewise.
54734         * misc/revoke.c: Likewise.
54735         * misc/select.c: Likewise.
54736         * misc/setdomain.c: Likewise.
54737         * misc/setegid.c: Likewise.
54738         * misc/seteuid.c: Likewise.
54739         * misc/sethostid.c: Likewise.
54740         * misc/sethostname.c: Likewise.
54741         * misc/setregid.c: Likewise.
54742         * misc/setreuid.c: Likewise.
54743         * misc/setxattr.c: Likewise.
54744         * misc/sstk.c: Likewise.
54745         * misc/stty.c: Likewise.
54746         * misc/swapoff.c: Likewise.
54747         * misc/swapon.c: Likewise.
54748         * misc/sync.c: Likewise.
54749         * misc/syncfs.c: Likewise.
54750         * misc/syscall.c: Likewise.
54751         * misc/truncate.c: Likewise.
54752         * misc/ualarm.c: Likewise.
54753         * misc/usleep.c: Likewise.
54754         * misc/ustat.c: Likewise.
54755         * misc/utimes.c: Likewise.
54756         * misc/vhangup.c: Likewise.
54757         * misc/writev.c: Likewise.
54758         * posix/_exit.c: Likewise.
54759         * posix/alarm.c: Likewise.
54760         * posix/execve.c: Likewise.
54761         * posix/fexecve.c: Likewise.
54762         * posix/fork.c: Likewise.
54763         * posix/fpathconf.c: Likewise.
54764         * posix/getaddrinfo.c: Likewise.
54765         * posix/getegid.c: Likewise.
54766         * posix/geteuid.c: Likewise.
54767         * posix/getgid.c: Likewise.
54768         * posix/getgroups.c: Likewise.
54769         * posix/getlogin.c: Likewise.
54770         * posix/getlogin_r.c: Likewise.
54771         * posix/getpgid.c: Likewise.
54772         * posix/getpid.c: Likewise.
54773         * posix/getppid.c: Likewise.
54774         * posix/getresgid.c: Likewise.
54775         * posix/getresuid.c: Likewise.
54776         * posix/getsid.c: Likewise.
54777         * posix/getuid.c: Likewise.
54778         * posix/glob64.c: Likewise.
54779         * posix/nanosleep.c: Likewise.
54780         * posix/pathconf.c: Likewise.
54781         * posix/pause.c: Likewise.
54782         * posix/posix_madvise.c: Likewise.
54783         * posix/pread.c: Likewise.
54784         * posix/pread64.c: Likewise.
54785         * posix/pwrite.c: Likewise.
54786         * posix/pwrite64.c: Likewise.
54787         * posix/sched_getaffinity.c: Likewise.
54788         * posix/sched_getp.c: Likewise.
54789         * posix/sched_gets.c: Likewise.
54790         * posix/sched_primax.c: Likewise.
54791         * posix/sched_primin.c: Likewise.
54792         * posix/sched_rr_gi.c: Likewise.
54793         * posix/sched_setaffinity.c: Likewise.
54794         * posix/sched_setp.c: Likewise.
54795         * posix/sched_sets.c: Likewise.
54796         * posix/sched_yield.c: Likewise.
54797         * posix/setgid.c: Likewise.
54798         * posix/setlogin.c: Likewise.
54799         * posix/setpgid.c: Likewise.
54800         * posix/setresgid.c: Likewise.
54801         * posix/setresuid.c: Likewise.
54802         * posix/setsid.c: Likewise.
54803         * posix/setuid.c: Likewise.
54804         * posix/sleep.c: Likewise.
54805         * posix/spawni.c: Likewise.
54806         * posix/sysconf.c: Likewise.
54807         * posix/times.c: Likewise.
54808         * posix/wait.c: Likewise.
54809         * posix/wait3.c: Likewise.
54810         * posix/wait4.c: Likewise.
54811         * posix/waitpid.c: Likewise.
54812         * resolv/gai_sigqueue.c: Likewise.
54813         * resource/getpriority.c: Likewise.
54814         * resource/getrlimit.c: Likewise.
54815         * resource/getrusage.c: Likewise.
54816         * resource/nice.c: Likewise.
54817         * resource/setpriority.c: Likewise.
54818         * resource/setrlimit.c: Likewise.
54819         * resource/ulimit.c: Likewise.
54820         * rt/aio_cancel.c: Likewise.
54821         * rt/aio_fsync.c: Likewise.
54822         * rt/aio_read.c: Likewise.
54823         * rt/aio_sigqueue.c: Likewise.
54824         * rt/aio_suspend.c: Likewise.
54825         * rt/aio_write.c: Likewise.
54826         * rt/clock_getres.c: Likewise.
54827         * rt/clock_gettime.c: Likewise.
54828         * rt/clock_nanosleep.c: Likewise.
54829         * rt/clock_settime.c: Likewise.
54830         * rt/lio_listio.c: Likewise.
54831         * rt/mq_close.c: Likewise.
54832         * rt/mq_getattr.c: Likewise.
54833         * rt/mq_notify.c: Likewise.
54834         * rt/mq_open.c: Likewise.
54835         * rt/mq_receive.c: Likewise.
54836         * rt/mq_send.c: Likewise.
54837         * rt/mq_setattr.c: Likewise.
54838         * rt/mq_timedreceive.c: Likewise.
54839         * rt/mq_timedsend.c: Likewise.
54840         * rt/mq_unlink.c: Likewise.
54841         * rt/shm_open.c: Likewise.
54842         * rt/shm_unlink.c: Likewise.
54843         * rt/timer_create.c: Likewise.
54844         * rt/timer_delete.c: Likewise.
54845         * rt/timer_getoverr.c: Likewise.
54846         * rt/timer_gettime.c: Likewise.
54847         * rt/timer_settime.c: Likewise.
54848         * setjmp/__longjmp.c: Likewise.
54849         * setjmp/setjmp.c: Likewise.
54850         * signal/kill.c: Likewise.
54851         * signal/killpg.c: Likewise.
54852         * signal/raise.c: Likewise.
54853         * signal/sigaction.c: Likewise.
54854         * signal/sigaltstack.c: Likewise.
54855         * signal/sigblock.c: Likewise.
54856         * signal/sigignore.c: Likewise.
54857         * signal/sigintr.c: Likewise.
54858         * signal/signal.c: Likewise.
54859         * signal/sigpause.c: Likewise.
54860         * signal/sigpending.c: Likewise.
54861         * signal/sigqueue.c: Likewise.
54862         * signal/sigreturn.c: Likewise.
54863         * signal/sigset.c: Likewise.
54864         * signal/sigsetmask.c: Likewise.
54865         * signal/sigstack.c: Likewise.
54866         * signal/sigsuspend.c: Likewise.
54867         * signal/sigtimedwait.c: Likewise.
54868         * signal/sigvec.c: Likewise.
54869         * signal/sigwait.c: Likewise.
54870         * signal/sigwaitinfo.c: Likewise.
54871         * signal/sysv_signal.c: Likewise.
54872         * socket/accept.c: Likewise.
54873         * socket/accept4.c: Likewise.
54874         * socket/bind.c: Likewise.
54875         * socket/connect.c: Likewise.
54876         * socket/getpeername.c: Likewise.
54877         * socket/getsockname.c: Likewise.
54878         * socket/getsockopt.c: Likewise.
54879         * socket/isfdtype.c: Likewise.
54880         * socket/listen.c: Likewise.
54881         * socket/recv.c: Likewise.
54882         * socket/recvfrom.c: Likewise.
54883         * socket/recvmsg.c: Likewise.
54884         * socket/send.c: Likewise.
54885         * socket/sendmsg.c: Likewise.
54886         * socket/sendto.c: Likewise.
54887         * socket/setsockopt.c: Likewise.
54888         * socket/shutdown.c: Likewise.
54889         * socket/sockatmark.c: Likewise.
54890         * socket/socket.c: Likewise.
54891         * socket/socketpair.c: Likewise.
54892         * stdio-common/ctermid.c: Likewise.
54893         * stdio-common/cuserid.c: Likewise.
54894         * stdio-common/remove.c: Likewise.
54895         * stdio-common/rename.c: Likewise.
54896         * stdio-common/renameat.c: Likewise.
54897         * stdio-common/tempname.c: Likewise.
54898         * stdlib/getcontext.c: Likewise.
54899         * stdlib/makecontext.c: Likewise.
54900         * stdlib/setcontext.c: Likewise.
54901         * stdlib/swapcontext.c: Likewise.
54902         * stdlib/system.c: Likewise.
54903         * streams/fattach.c: Likewise.
54904         * streams/fdetach.c: Likewise.
54905         * streams/getmsg.c: Likewise.
54906         * streams/getpmsg.c: Likewise.
54907         * streams/putmsg.c: Likewise.
54908         * streams/putpmsg.c: Likewise.
54909         * sysdeps/unix/bsd/getpt.c: Likewise.
54910         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54911         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54912         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54914         Likewise.
54915         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54916         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54917         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54918         * sysvipc/msgctl.c: Likewise.
54919         * sysvipc/msgget.c: Likewise.
54920         * sysvipc/msgrcv.c: Likewise.
54921         * sysvipc/msgsnd.c: Likewise.
54922         * sysvipc/semctl.c: Likewise.
54923         * sysvipc/semget.c: Likewise.
54924         * sysvipc/semop.c: Likewise.
54925         * sysvipc/semtimedop.c: Likewise.
54926         * sysvipc/shmat.c: Likewise.
54927         * sysvipc/shmctl.c: Likewise.
54928         * sysvipc/shmdt.c: Likewise.
54929         * sysvipc/shmget.c: Likewise.
54930         * termios/tcdrain.c: Likewise.
54931         * termios/tcflow.c: Likewise.
54932         * termios/tcflush.c: Likewise.
54933         * termios/tcgetattr.c: Likewise.
54934         * termios/tcgetpgrp.c: Likewise.
54935         * termios/tcsendbrk.c: Likewise.
54936         * termios/tcsetattr.c: Likewise.
54937         * termios/tcsetpgrp.c: Likewise.
54938         * time/adjtime.c: Likewise.
54939         * time/clock.c: Likewise.
54940         * time/getitimer.c: Likewise.
54941         * time/gettimeofday.c: Likewise.
54942         * time/setitimer.c: Likewise.
54943         * time/settimeofday.c: Likewise.
54944         * time/stime.c: Likewise.
54945         * time/time.c: Likewise.
54947 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54949         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54950         /usr/old/bin.
54952         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54953         instead of spaces.
54954         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54956 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54958         [BZ #14796]
54959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54960         FE_TONEAREST before applying Dekker multiplication and Knuth
54961         addition.  Clear inexact exceptions and check for exact zero
54962         results afterwards.
54963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54966         * math/libm-test.inc (fma_test): Add more tests.
54967         (fma_test_towardzero): Likewise.
54968         (fma_test_downward): Likewise.
54969         (fma_test_upward): Likewise.
54970         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54971         function.
54972         (libc_fesetround): New macro.
54973         (libc_fesetroundf): Likewise.
54974         (libc_fesetroundl): Likewise.
54975         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54976         function.
54977         (libc_fesetround_387): Likewise.
54978         (libc_fesetroundf): New macro.
54979         (libc_fesetround): Likewise.
54980         (libc_fesetroundl): Likewise.
54981         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54982         function.
54983         (libc_fesetroundf): New macro.
54984         (libc_fesetround): Likewise.
54985         (libc_fesetroundl): Likewise.
54986         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54987         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54988         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54989         libm_hidden_ver.
54990         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54991         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54992         libm_hidden_def.
54993         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54994         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54995         libm_hidden_ver.
54996         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54997         libm_hidden_def.
54999         [BZ #3439]
55000         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55001         integer constant usable in #if and use that to give value to enum
55002         constant.
55003         (FE_DIVBYZERO): Likewise.
55004         (FE_UNDERFLOW): Likewise.
55005         (FE_OVERFLOW): Likewise.
55006         (FE_INVALID): Likewise.
55007         (FE_INVALID_SNAN): Likewise.
55008         (FE_INVALID_ISI): Likewise.
55009         (FE_INVALID_IDI): Likewise.
55010         (FE_INVALID_ZDZ): Likewise.
55011         (FE_INVALID_IMZ): Likewise.
55012         (FE_INVALID_COMPARE): Likewise.
55013         (FE_INVALID_SOFTWARE): Likewise.
55014         (FE_INVALID_SQRT): Likewise.
55015         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55016         (FE_TONEAREST): Likewise.
55017         (FE_TOWARDZERO): Likewise.
55018         (FE_UPWARD): Likewise.
55019         (FE_DOWNWARD): Likewise.
55020         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55021         (FE_DIVBYZERO): Likewise.
55022         (FE_OVERFLOW): Likewise.
55023         (FE_UNDERFLOW): Likewise.
55024         (FE_INEXACT): Likewise.
55025         (FE_TONEAREST): Likewise.
55026         (FE_DOWNWARD): Likewise.
55027         (FE_UPWARD): Likewise.
55028         (FE_TOWARDZERO): Likewise.
55029         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55030         (FE_UNDERFLOW): Likewise.
55031         (FE_OVERFLOW): Likewise.
55032         (FE_DIVBYZERO): Likewise.
55033         (FE_INVALID): Likewise.
55034         (FE_TONEAREST): Likewise.
55035         (FE_TOWARDZERO): Likewise.
55036         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55037         (FE_OVERFLOW): Likewise.
55038         (FE_UNDERFLOW): Likewise.
55039         (FE_DIVBYZERO): Likewise.
55040         (FE_INEXACT): Likewise.
55041         (FE_TONEAREST): Likewise.
55042         (FE_TOWARDZERO): Likewise.
55043         (FE_UPWARD): Likewise.
55044         (FE_DOWNWARD): Likewise.
55045         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55046         (FE_DIVBYZERO): Likewise.
55047         (FE_OVERFLOW): Likewise.
55048         (FE_UNDERFLOW): Likewise.
55049         (FE_INEXACT): Likewise.
55050         (FE_TONEAREST): Likewise.
55051         (FE_DOWNWARD): Likewise.
55052         (FE_UPWARD): Likewise.
55053         (FE_TOWARDZERO): Likewise.
55055 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55057         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55059 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55061         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55062         commands.  Quote $PWD.
55063         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55064         -x" by "export".
55065         (remove_newlines): Remove.
55067 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55069         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55070         * stdlib/stdlib.h (atof): Moved to ...
55071         * include/bits/stdlib-float.h: Here.  New file.
55072         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55073         * stdlib/bits/stdlib-float.h: New file.
55074         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55075         -mno-sse -mno-mmx.
55076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55077         <xmmintrin.h>.
55079 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55081         * conform/conformtest.pl (@headers): Add fenv.h.
55082         * conform/data/fenv.h-data: New file.
55083         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55084         include of <math/fenv.h>.
55086         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55087         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55088         && !UNIX98].  Enables tests for XOPEN2K8.
55089         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55090         POSIX2008]: Likewise.
55092         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55093         (struct rusage): Do not expect type or its members.
55095         [BZ #3439]
55096         * math/math.h (FP_NAN): Define macro to integer constant usable in
55097         #if and use that to give value to enum constant.
55098         (FP_INFINITE): Likewise.
55099         (FP_ZERO): Likewise.
55100         (FP_SUBNORMAL): Likewise.
55101         (FP_NORMAL): Likewise.
55103 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55105         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55106         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55107         arguments.
55109 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55111         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55112         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55113         autoconf-time if not.
55114         * configure.in: Remove AC_PREREQ.
55116 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55118         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55119         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55120         of the internal implementation.
55122 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55124         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55125         except include of <misc/sys/syslog.h>.
55127 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55130         function returns with a NULL context exit with zero.
55132 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55134         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55136 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55138         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55139         (run_program_cmd): This.
55140         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55141         (tst_langinfo): New variable.  Use it.
55143 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55145         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55146         floating point opcodes.
55148 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55150         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55151         variable.
55153         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55155         * sysdeps/mach/hurd/powerpc: Remove directory.
55156         * sysdeps/mach/powerpc: Likewise.
55158 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55160         * scripts/check-local-headers.sh: Ignore c++ headers.
55162 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55164         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55165         __libc_cleanup_region_start argument.
55167 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55169         [BZ #14784]
55170         [BZ #14785]
55171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55172         x * y using scaling, not as x * y + z.
55173         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55174         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55175         * math/libm-test.inc (fma_test): Add more tests.
55176         (fma_test_towardzero): Likewise.
55177         (fma_test_downward): Likewise.
55178         (fma_test_upward): Likewise.
55180 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55182         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55184 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55186         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55187         New variable.
55189 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55191         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55193 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55196         Fix sort order.
55197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55198         Likewise.
55200 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55203         Fix the order of the list for glibc 2.17.
55204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55205         Likewise.
55207 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55211 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55213         [BZ #14610]
55214         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55215         for low part of x being zero before using __atanl (y).
55216         * math/libm-test.inc (atan2_test): Add another test.
55218         * manual/install.texi (Configuring and compiling): Document
55219         general use of test-wrapper and test-wrapper-env.
55220         * INSTALL: Regenerated.
55222         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55223         (__fma): Do not extract and scale down low bits on after-rounding
55224         systems when result rounded to normal precision would have normal
55225         exponent.
55226         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55227         (__fmal): Do not extract and scale down low bits on after-rounding
55228         systems when result rounded to normal precision would have normal
55229         exponent.
55230         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55231         (__fmal): Do not extract and scale down low bits on after-rounding
55232         systems when result rounded to normal precision would have normal
55233         exponent.
55234         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55235         macro.
55236         (fma_test): Add more tests.
55237         (fma_test_towardzero): Likewise.
55238         (fma_test_downward): Likewise.
55239         (fma_test_upward): Likewise.
55241 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55243         * sysdeps/i386/tininess.h: Renamed to ...
55244         * sysdeps/x86/tininess.h: This.
55245         * sysdeps/x86_64/tininess.h: Removed.
55247 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55249         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55250         input.  Use $(build-program-cmd).
55251         ($(objpfx)tst-array1-static.out): Likewise.
55252         ($(objpfx)tst-array2.out): Likewise.
55253         ($(objpfx)tst-array3.out): Likewise.
55254         ($(objpfx)tst-array4.out): Likewise.
55255         ($(objpfx)tst-array5.out): Likewise.
55256         ($(objpfx)tst-array5-static.out): Likewise.
55258 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55260         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55261         if defined.
55263         * nss/nsswitch.h (nss_interface_function): Provide new
55264         macro for use with NSS functions.
55265         * grp/initgroups.c: Use new macro.
55266         * nss/getXXbyYY.c: Likewise.
55267         * nss/getXXbyYY_r.c: Likewise.
55268         * nss/getXXent.c: Likewise.
55269         * nss/getXXent_r.c: Likewise.
55270         * sysdeps/posix/getaddrinfo.c: Likewise.
55272 2012-10-30  Andreas Jaeger  <aj@suse.de>
55274         * po/ru.po: Update Russion translation from translation project.
55276 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55278         [BZ #14152]
55279         [BZ #14783]
55280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55281         result and shift together with sticky bit instead of replicating
55282         round-to-nearest rounding.
55283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55284         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55285         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55286         missing underflow exceptions.
55287         (fma_test_towardzero): Add more tests.
55288         (fma_test_downward): Likewise.
55289         (fma_test_upward): Likewise.
55291         [BZ #14047]
55292         * sysdeps/generic/tininess.h: New file.
55293         * sysdeps/i386/tininess.h: Likewise.
55294         * sysdeps/sh/tininess.h: Likewise.
55295         * sysdeps/x86_64/tininess.h: Likewise.
55296         * stdlib/tst-strtod-underflow.c: Likewise.
55297         * stdlib/tst-tininess.c: Likewise.
55298         * stdlib/strtod_l.c: Include <tininess.h>.
55299         (round_and_return): Do not set errno for exact underflow cases.
55300         Force an underflow exception when setting errno for underflow.
55301         Determine underflow based on rounding to normal precision if
55302         TININESS_AFTER_ROUNDING.
55303         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55304         ERANGE for exact underflow cases.
55305         * stdlib/Makefile (tests): Add tst-tininess and
55306         tst-strtod-underflow.
55307         ($(objpfx)tst-tininess): Use $(link-libm).
55308         ($(objpfx)tst-strtod-underflow): Likewise.
55310 2012-10-30  Andreas Jaeger  <aj@suse.de>
55312         [BZ#14767]
55313         * elf/Makefile (tests): Remove conditional for have-initfini-array
55314         since this is now always required and the variable does not exist
55315         anymore.
55316         (tests-static): Likewise.
55317         (modules-names): Likewise.
55319         * po/eo.po: Add Esperanto translation from translation project.
55321         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55322         merged with constructor/destructor.
55323         (init_array): Likewise.
55324         * elf/tst-array2dep.c (fini_array): Likewise.
55325         (init_array): Likewise.
55327 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55329         * manual/message.texi: Delete @cartouche tags.
55331 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55333         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55334         EOPNOTSUPP.
55335         * sysdeps/mach/hurd/fsync.c: Likewise.
55337         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55338         [_POSIX_REALTIME_SIGNALS]: Change condition to
55339         [_POSIX_REALTIME_SIGNALS > 0].
55341 2012-10-27  Andreas Jaeger  <aj@suse.de>
55343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55344         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55345         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55346         [__WORDSIZE != 64]: Likewise.
55348 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55350         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55351         *  iconvdata/tst-tables.sh: Likewise.
55353 2012-10-25  David S. Miller  <davem@davemloft.net>
55355         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55356         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55357         of strtoull.
55359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55360         ifunc-impl-list.c
55361         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55362         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55363         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55364         file.
55366 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55369         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55370         __getdirentries.
55372 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55373             Jim Blandy  <jimb@codesourcery.com>
55375         * scripts/cross-test-ssh.sh: New file.
55376         * manual/install.texi (Configuring and compiling): Document use of
55377         cross-test-ssh.sh.
55378         * INSTALL: Regenerated.
55380 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55382         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55383         EOPNOTSUPP.
55385 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55387         * Makeconfig (run-program-prefix): Fix comment.
55389 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55390             Jim Blandy  <jimb@codesourcery.com>
55392         * Makeconfig (test-wrapper): New variable,
55393         (test-wrapper-env): Likewise.
55394         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55395         (run-built-tests): Define to yes.
55396         (run-program-prefix): Use $(test-wrapper).
55397         (built-program-cmd): Likewise.
55398         * Rules (make-test-out): Use $(test-wrapper-env) and
55399         $(host-built-program-cmd).
55400         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55401         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55402         tst-pathopt.sh.
55403         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55404         $(test-wrapper-env) to tst-rtld-load-self.sh.
55405         ($(objpfx)order2.out): Use $(test-wrapper).
55406         ($(objpfx)tst-initorder.out): Likewise.
55407         ($(objpfx)tst-initorder2.out): Likewise.
55408         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55409         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55410         (test_wrapper_env): New variable.  Use it to run ld.so.
55411         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55412         Use it to run ld.so.
55413         (test_wrapper_env): Likewise.
55414         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55415         $(test-wrapper) to run-iconv-test.sh.
55416         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55417         (ICONV): Use $test_wrapper.
55418         * posix/Makefile ($(objpfx)globtest.out): Pass
55419         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55420         globtest.sh, not $(run-program-prefix).
55421         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55422         (test_wrapper): Likewise.
55423         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55424         set together with run_via_rtld_prefix.
55425         (run_program_prefix): Define in terms of test_wrapper and
55426         run_via_rtld_prefix.
55428 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55430         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55431         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55432         Targets removed.
55434         [BZ #14743]
55435         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55436         Declare __clock_getres, __clock_gettime, __clock_settime,
55437         __clock_nanosleep, and __clock_getcpuclockid.
55438         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55439         Remove librt_hidden_def (clock_gettime).
55440         * sysdeps/unix/clock_gettime.c: Likewise.
55441         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55442         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55443         * rt/clock_getres.c: Define __clock_getres as an alias.
55444         * sysdeps/posix/clock_getres.c: Likewise.
55445         * rt/clock_settime.c: Define __clock_settime as an alias.
55446         * sysdeps/unix/clock_settime.c: Likewise.
55447         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55448         * sysdeps/unix/clock_nanosleep.c: Likewise.
55449         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55450         * rt/clock-compat.c: New file.
55451         * rt/Makefile (librt-routines): Add clock-compat and move
55452         $(clock-routines) to ...
55453         (routines): ... here, new variable.
55454         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55455         Don't add get_clockfreq here.
55456         * rt/Versions (libc: GLIBC_2.17): New version set.
55457         Add clock_* symbols here.
55458         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55459         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55460         (GLIBC_2.17): Add clock_* symbols.
55461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55465         Likewise.
55466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55467         Likewise.
55468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55472         * NEWS: Mention the move.
55474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55475         Use __open, __read, __close rather than their public counterparts.
55476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55477         (__get_clockfreq_via_cpuinfo): Likewise.
55478         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55479         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55481         * config.h.in (HAVE_IFUNC): New #undef.
55482         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55483         was successful.
55484         * configure: Regenerated.
55486 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55488         * configure.in: Move READELF check to start of file.
55489         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55490         libc_cv_asm_gnu_indirect_function in the process.
55491         * configure: Regenerated.
55493 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55495         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55496         send the output to /dev/null.
55497         (libc_cv_cc_with_libunwind): Likewise.
55498         (libc_cv_as_noexecstack): Likewise.
55499         * configure: Regenerate.
55501 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55503         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55505         * posix/globtest.sh (TMPDIR): Do not set.
55506         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55507         (testout): Likewise.
55509 2012-10-24  Andreas Jaeger  <aj@suse.de>
55511         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55512         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55513         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55514         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55515         posix_fadvise64, posix_fallocate64.
55517         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55518         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55519         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55520         Likewise.
55521         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55522         Likewise.
55523         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55526         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55527         <bits/fcntl-linux.h>.
55528         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55530         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55531         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55532         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55533         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55534         [__WORDSIZE != 64]: Likewise.
55536 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55538         * Makeconfig (run-built-tests): New variable.
55539         * Rules [$(cross-compiling) = yes]: Change condition to
55540         [$(run-built-tests) = no].
55541         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55542         to [$(run-built-tests) = yes].
55543         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55544         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55545         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55546         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55547         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55548         * io/Makefile [$(cross-compiling) = no]: Likewise.
55549         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55550         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55551         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55552         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55553         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55554         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55555         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55556         * string/Makefile [$(cross-compiling) = no]: Likewise.
55558         * posix/Makefile ($(objpfx)globtest.out): Pass
55559         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55560         $(rtld-installed-name).
55561         * posix/globtest.sh (elf_objpfx): Remove variable.
55562         (rtld_installed_name): Likewise.
55563         (library_path): Likewise.
55564         (run_program_prefix): New variable.  Use for running globtest
55565         binary.
55567 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55568             Joseph Myers  <joseph@codesourcery.com>
55570         * Makeconfig (host-built-program-cmd): New variable.
55571         * elf/Makefile (tst-stackguard1-ARGS): Use
55572         $(host-built-program-cmd).
55573         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55574         (tst-spawn-ARGS): Likewise.
55575         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55577 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55578             Jim Blandy  <jimb@codesourcery.com>
55580         * Makeconfig (run-via-rtld-prefix): New variable.
55581         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55582         (built-program-cmd): Likewise.
55584 2012-10-22  Andreas Jaeger  <aj@suse.de>
55586         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55587         __O_RSYNC if it exists, otherwise to O_SYNC.
55589 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55590             Joseph Myers  <joseph@codesourcery.com>
55592         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55593         /dev/null.
55594         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55595         from /dev/null
55596         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55597         /dev/null.
55599 2012-10-22  Andreas Jaeger  <aj@suse.de>
55601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55602         Define always.
55603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55606         bits/fcntl-linux.h.
55608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55609         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55612         to __O_LARGEFILE.
55613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55614         to __O_LARGEFILE.
55616 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55617             Joseph Myers  <joseph@codesourcery.com>
55619         * config.make.in (NM): New variable.
55621 2012-10-21  Andreas Jaeger  <aj@suse.de>
55623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55624         definitions and declarations that are provided by
55625         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55627 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55629         [BZ #14683]
55630         * elf/Makefile (tests-static): Add tst-leaks1-static.
55631         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55632         ($(objpfx)tst-leaks1-static): New rule.
55633         ($(objpfx)tst-leaks1-static-mem): Likewise.
55634         (tst-leaks1-static-ENV): New macro.
55635         * elf/dl-open.c (dl_open_worker): Check the main application
55636         only if SHARED is defined.
55637         * elf/tst-leaks1-static.c: New file.
55639 2012-10-20  Andreas Jaeger  <aj@suse.de>
55641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55642         generic values for Linux.
55643         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55644         and declarations that are provided by <bits/fcntl-linux.h> and
55645         include <bits/fcntl-linux.h>.
55646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55649 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55651         * io/fcntl.h: Move include of <bits/types.h> to the top and
55652         include it unconditionally.
55654 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55656         * wcsmbs/Makefile (tests-ifunc): New variable.
55657         (tests): Add $(tests-ifunc).
55658         * wcsmbs/test-wcschr-ifunc.c: New file.
55659         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55660         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55661         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55662         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55663         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55665         * string/Makefile (tests-ifunc): New variable.
55666         (tests): Add $(tests-ifunc).
55667         * string/test-memccpy.c (TEST_NAME): New macro.
55668         * string/test-memchr.c (TEST_NAME): Likewise.
55669         * string/test-memcmp.c (TEST_NAME): Likewise.
55670         * string/test-memcpy.c (TEST_NAME): Likewise.
55671         * string/test-memmem.c (TEST_NAME): Likewise.
55672         * string/test-memmove.c (TEST_NAME): Likewise.
55673         * string/test-memset.c (TEST_NAME): Likewise.
55674         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55675         * string/test-stpcpy.c (TEST_NAME): Likewise.
55676         * string/test-stpncpy.c (TEST_NAME): Likewise.
55677         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55678         * string/test-strcasestr.c (TEST_NAME): Likewise.
55679         * string/test-strcat.c (TEST_NAME): Likewise.
55680         * string/test-strchr.c (TEST_NAME): Likewise.
55681         * string/test-strcmp.c(TEST_NAME): Likewise.
55682         * string/test-strcpy.c (TEST_NAME): Likewise.
55683         * string/test-strcspn.c (TEST_NAME): Likewise.
55684         * string/test-strlen.c (TEST_NAME): Likewise.
55685         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55686         * string/test-strncmp.c (TEST_NAME): Likewise.
55687         * string/test-strncpy.c (TEST_NAME): Likewise.
55688         * string/test-strnlen.c (TEST_NAME): Likewise.
55689         * string/test-strpbrk.c (TEST_NAME): Likewise.
55690         * string/test-strrchr.c (TEST_NAME): Likewise.
55691         * string/test-strspn.c (TEST_NAME): Likewise.
55692         * string/test-strstr.c (TEST_NAME): Likewise.
55693         * string/test-bcopy-ifunc.c: New file.
55694         * string/test-bzero-ifunc.c: Likewise.
55695         * string/test-memccpy-ifunc.c: Likewise.
55696         * string/test-memchr-ifunc.c: Likewise.
55697         * string/test-memcmp-ifunc.c: Likewise.
55698         * string/test-memcpy-ifunc.c: Likewise.
55699         * string/test-memmem-ifunc.c: Likewise.
55700         * string/test-memmove-ifunc.c: Likewise.
55701         * string/test-mempcpy-ifunc.c: Likewise.
55702         * string/test-memset-ifunc.c: Likewise.
55703         * string/test-rawmemchr-ifunc.c: Likewise.
55704         * string/test-stpcpy-ifunc.c: Likewise.
55705         * string/test-stpncpy-ifunc.c: Likewise.
55706         * string/test-strcasecmp-ifunc.c: Likewise.
55707         * string/test-strcasestr-ifunc.c: Likewise.
55708         * string/test-strcat-ifunc.c: Likewise.
55709         * string/test-strchr-ifunc.c: Likewise.
55710         * string/test-strchrnul-ifunc.c: Likewise.
55711         * string/test-strcmp-ifunc.c: Likewise.
55712         * string/test-strcpy-ifunc.c: Likewise.
55713         * string/test-strcspn-ifunc.c: Likewise.
55714         * string/test-strlen-ifunc.c: Likewise.
55715         * string/test-strncasecmp-ifunc.c: Likewise.
55716         * string/test-strncat-ifunc.c: Likewise.
55717         * string/test-strncmp-ifunc.c: Likewise.
55718         * string/test-strncpy-ifunc.c: Likewise.
55719         * string/test-strnlen-ifunc.c: Likewise.
55720         * string/test-strpbrk-ifunc.c: Likewise.
55721         * string/test-strrchr-ifunc.c: Likewise.
55722         * string/test-strspn-ifunc.c: Likewise.
55723         * string/test-strstr-ifunc.c: Likewise.
55725         * debug/Makefile (tests-ifunc): New variable.
55726         (tests): Add $(tests-ifunc).
55727         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55728         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55729         * debug/test-stpcpy_chk-ifunc.c: New file.
55730         * debug/test-strcpy_chk-ifunc.c: Likewise.
55732 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55734         [BZ #13601]
55735         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55736         header is not read in.
55738 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55740         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55741         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55742         directly.  Pass built executable to script as
55743         $(built-program-cmd).
55744         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55745         $testprogram without using LD_LIBRARY_PATH and $ldso.
55747         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55748         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55749         $(rtld-installed-name).
55750         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55751         (rtld_installed_name): Likewise.
55752         (library_path): Likewise.
55753         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55754         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55755         $(run-program-prefix) to tst-tables.sh.
55756         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55757         it to run tst-table-from and tst-table-to.
55758         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55759         Pass it to tst-table.sh.
55760         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55761         $(run-program-prefix) to tst-gettext.sh.
55762         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55763         tst-translit.sh.
55764         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55765         tst-gettext2.sh.
55766         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55767         to run tst-gettext.
55768         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55769         to run tst-gettext2.
55770         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55771         to run tst-translit.
55772         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55773         $(run-program-prefix) to tst-mtrace.sh.
55774         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55775         to run tst-mtrace.
55776         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55777         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55778         $(rtld-installed-name).
55779         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55780         (rtld_installed_name): Likewise.
55781         (run_program_prefix): New variable.  Use it to run wordexp-test.
55783         * Makeconfig (ARCH): Remove all definitions.
55784         (machine): Likewise.
55785         [ARCH]: Remove conditional code.
55786         [!objdir]: Give error.
55787         [!objdir] (objpfx): Remove.
55788         [!objdir] (common-objpfx): Likewise.
55789         [!objdir] (common-objdir): Likewise.
55790         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55791         AC_CONFIG_FILES call.
55792         * configure: Regenerated.
55794         [BZ #13888]
55795         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55796         or TMPDIR.
55797         (testout): Likewise.
55799         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55800         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55801         $(rtld-installed-name).
55802         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55803         (rtld_installed_name): Likwise.
55804         (runit): Remove function.
55805         (run_getconf): New variable,  Use it for running getconf binary.
55807 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55809         [BZ #14716]
55810         * string/test-memmem.c (check_result): New function.
55811         (do_one_test): Use it.
55812         (check1): New function.
55813         (test_main): Use it.
55815 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55817         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55819 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55821         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55822         (_G_LSEEK64): Likewise.
55823         (_G_MMAP64): Likewise.
55824         (_G_FSTAT64): Likewise.
55825         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55826         (_G_LSEEK64): Likewise.
55827         (_G_MMAP64): Likewise.
55828         (_G_FSTAT64): Likewise.
55829         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55830         unconditional.  Call __mmap64 directly.
55831         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55832         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55833         __lseek64 directly.
55834         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55835         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55836         __mmap64 directly.
55837         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55838         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55839         __lseek64 directly.
55840         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55841         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55842         __lseek64 directly.
55843         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55844         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55845         __lseek64 directly.
55846         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55847         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55848         __fxstat64 directly.
55849         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55850         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55851         unconditional.
55852         (freopen64) [!_G_OPEN64]: Remove conditional code.
55853         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55854         unconditional.
55855         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55856         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55857         unconditional.
55858         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55859         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55860         unconditional.
55861         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55862         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55863         unconditional.
55864         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55865         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55866         unconditional.
55867         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55868         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55869         unconditional.
55870         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55871         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55872         unconditional.
55873         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55875 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55877         [BZ #12140]
55878         * manual/memory.texi (Malloc Tunable Parameters): Add note
55879         about free list pointers overwriting some perturb bytes.
55880         Wording suggested by Roland McGrath.
55882 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55884         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55885         (lgamma_test): Likewise.
55886         (tgamma_test): Likewise.
55888 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55890         [BZ #14700]
55891         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55892         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55894 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55896         * NEWS: Mention BZ #14716.
55897         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55898         when removing AVAILABLE1_USES_J macro.
55900 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55902         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55903         (__bswap_64): __uint64_t for unsigned 64-bit int.
55905 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55907         * include/string.h (memmem): Declare libc hidden alias.
55908         * string/memmem.c (memmem): Define libc hidden alias.
55909         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55910         __read, __close instead of open, read, close.
55912 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55915         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55916         global and hidden.
55917         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55918         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55919         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55920         Likewise.
55921         (__rawmemchr_sse2): Likewise.
55922         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55923         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55924         (__strchr_sse2): Likewise.
55925         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55926         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55927         (__strcasecmp_sse2): Likewise.
55928         (__strncasecmp_sse2): Likewise.
55929         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55930         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55931         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55932         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55933         (__strrchr_sse2): Likewise.
55934         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55935         ifunc-impl-list.c.
55936         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55937         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55938         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55939         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55940         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55941         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55942         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55943         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55944         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55945         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55946         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55947         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55948         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55949         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55950         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55951         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55952         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55953         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55954         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55955         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55956         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55957         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55958         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55959         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55960         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55961         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55962         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55963         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55964         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55965         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55967         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55968         global and hidden.
55969         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55970         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55971         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55972         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55973         Likewise.
55974         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55975         Likewise.
55976         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55977         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55978         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55979         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55980         ifunc-impl-list.c.
55981         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55982         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55983         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55984         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55985         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55986         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55987         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55988         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55989         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55990         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55991         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55992         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55993         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55994         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55995         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55996         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55997         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55998         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55999         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56000         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56001         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56002         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56003         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56004         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56005         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56006         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56007         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56008         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56009         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56010         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56011         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56012         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56013         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56014         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56015         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56016         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56017         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56018         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56019         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56020         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56021         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56023         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56024         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56025         * include/ifunc-impl-list.h: New file.
56026         * misc/ifunc-impl-list.c: Likewise.
56027         * misc/Makefile (routines): Add ifunc-impl-list.
56028         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56029         * string/test-string.h: Include <ifunc-impl-list.h>.
56030         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56031         TEST_NAME]: New variables.
56032         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56033         are defined.
56034         (test_init): Call __libc_ifunc_impl_list to initialize
56035         func_list if TEST_IFUNC and TEST_NAME are defined.
56037         * string/Makefile (strop-tests): Add bcopy and bzero.
56038         * string/test-bcopy.c: New file.
56039         * string/test-bzero.c: Likewise.
56040         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56041         defined.
56042         * string/test-memset.c: Support bzero test if TEST_BZERO is
56043         defined.
56044         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56045         __libc_memmove.
56046         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56047         __libc_memset.
56048         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56049         of memset.
56051 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56053         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56054         * configure: Regenerated.
56056         * Makeconfig (+link-static-before-libc): Don't include
56057         $(link-static-libc).
56059         * libio/libio.h (_IO_pos_t): Remove.
56061 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56063         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56064         McGrath.
56066 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56068         * crypt/crypt-entry.c: Include fips-private.h.
56069         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56070         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56071         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56072         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56074 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56076         * crypt/crypt-private.h: Include stdbool.h.
56077         (_ufc_setup_salt_r): Return bool.
56078         * crypt/crypt-entry.c: Include errno.h.
56079         (__crypt_r): Return NULL with EINVAL for bad salt.
56080         * crypt/crypt_util.c (bad_for_salt): New.
56081         (_ufc_setup_salt_r): Check that salt is long enough and within
56082         the specified alphabet.
56083         * crypt/badsalttest.c: New file.
56084         * crypt/Makefile (tests): Add it.
56085         ($(objpfx)badsalttest): New.
56087 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56089         * NEWS: Add entry for BZ #14602.
56091 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56093         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56094         type-generic.
56095         * math/libm-test.inc: Update comment listing what functions and
56096         macros are tested.
56097         (isgreater_test): New function.
56098         (isgreaterequal_test): Likewise.
56099         (isless_test): Likewise.
56100         (islessequal_test): Likewise.
56101         (islessgreater_test): Likewise.
56102         (isunordered_test): Likewise.
56103         (main): Call the new functions.
56105 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56107         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56108         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56109         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56110         * sysdeps/i386/configure: Regenerated.
56111         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56112         * sysdeps/mach/configure: Regenerated.
56113         * sysdeps/mach/hurd/configure: Regenerated.
56114         * sysdeps/powerpc/configure: Regenerated.
56115         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56116         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56117         * sysdeps/s390/s390-32/configure: Regenerated.
56118         * sysdeps/s390/s390-64/configure: Regenerated.
56119         * sysdeps/sh/configure: Regenerated.
56120         * sysdeps/sparc/configure: Regenerated.
56121         * sysdeps/unix/sysv/linux/configure: Regenerated.
56122         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56123         * sysdeps/x86_64/configure: Regenerated.
56125         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56126         defined.  Don't check if MAP is NULL.
56128 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56130         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56131         (_G_stat64): Likewise.
56132         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56133         (_G_stat64): Likewise.
56134         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56135         instead of struct _G_stat64.
56136         * libio/fileops.c (mmap_remap_check): Likewise.
56137         (decide_maybe_mmap): Likewise.
56138         (_IO_new_file_seekoff): Likewise.
56139         (_IO_file_stat): Likewise.
56140         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56141         _G_off64_t.
56142         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56143         instead of struct _G_stat64.
56144         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56146 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56148         [BZ #14602]
56149         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56150         Replace with ...
56151         (CHECK_EOL): New macro.
56152         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56153         CHECK_EOL.
56154         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56155         Replace with CHECK_EOL.
56156         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56157         Replace with CHECK_EOL.
56159 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56161         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56162         type-generic.
56163         * math/libm-test.inc: Update comment listing what functions and
56164         macros are tested.
56165         (finite_test): New function.
56166         (isinf_test): Likewise.
56167         (isnan_test): Likewise.
56168         (fpclassify_test): Test subnormal input.
56169         (isfinite_test): Likewise.
56170         (isnormal_test): Likewise.
56171         (main): Call the new functions.
56173 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56175         [BZ #14660]
56176         * Makerules (%.dynsym): Force C locale when running
56177         $(OBJDUMP) --dynamic-syms.
56179 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56181         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56182         <stdint.h>.
56184 2012-10-06  David S. Miller  <davem@davemloft.net>
56186         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56187         upper 32-bits of the length value in %o2 since we use branch-on-register
56188         tests which consider the entire 64-bit register.
56190 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56192         * string/test-strstr.c (check2): Add a test for page boundary.
56194 2012-10-05  David S. Miller  <davem@davemloft.net>
56196         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56197         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56198         file.
56199         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56200         sysdep_routines.
56201         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56202         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56203         and bzero when HWCAP_SPARC_CRYPTO is present.
56205 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56207         [BZ #14602]
56208         * string/test-strstr.c (check2): New function.
56209         (test_main): Call check2.
56211         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56212         and bug-strchr1.
56213         * string/bug-strcasestr1.c (do_test): Moved to ...
56214         * string/test-strcasestr.c (check1): Here.  New function.
56215         (do_one_test): Break out result checking code into ...
56216         (check_result): This.  New function.
56217         (do_one_test): Call check_result.
56218         (test_main): Call check1.
56219         * string/bug-strchr1.c (do_test): Moved to ...
56220         * string/test-strchr.c (check1): Here.  New function.
56221         (do_one_test): Break out result checking code into ...
56222         (check_result): This.  New function.
56223         (do_one_test): Call check_result.
56224         (test_main): Call check1.
56225         * string/bug-strstr1.c (main): Moved to ...
56226         * string/test-strstr.c (check1): Here.  New function.
56227         (do_one_test): Break out result checking code into ...
56228         (check_result): This.  New function.
56229         (do_one_test): Call check_result.
56230         (test_main): Call check1.
56231         * string/bug-strcasestr1.c: Removed.
56232         * string/bug-strchr1.c: Likewise.
56233         * string/bug-strstr1.c: Likewise.
56235         * elf/Makefile (dl-routines): Add hwcaps.
56236         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56237         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56238         (_dl_important_hwcaps): Moved to ...
56239         * elf/dl-hwcaps.c: Here.  New file.
56240         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56242         [BZ #14557]
56243         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56244         if IS_IN_rtld isn't defined.
56246         * elf/dl-support.c (_dl_sysinfo_map): New.
56247         Include "get-dynamic-info.h" and "setup-vdso.h".
56248         (_dl_non_dynamic_init): Call setup_vdso.
56249         * elf/dynamic-link.h: Don't include <assert.h>.
56250         (elf_get_dynamic_info): Moved to ...
56251         * elf/get-dynamic-info.h: Here.  New file.
56252         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56253         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56254         * elf/setup-vdso.h: Here.  New file.
56255         * elf/rtld.c: Include "setup-vdso.h".
56256         (dl_main): Call setup_vdso.
56258 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56260         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56261         creal in comment listing functions tested.  List finite, isinf,
56262         isnan, isless, islessequal, isgreater, isgreaterequal,
56263         islessgreater, isunordered, lgamma_r and pow10 as functions and
56264         macros not tested.  Mention which functions not tested are aliases
56265         for other functions.  Fix typo.  Note that signs of NaNs are not
56266         tested.
56268         * scripts/config.guess: Update from config.git.
56269         * scripts/config.sub: Likewise.
56271 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56273         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56274         * misc/madvise.c (madvise): Renamed to __madvise.
56275         Make madvise a weak alias.
56276         * include/sys/mman.h: Declare __madvise.
56277         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56278         * sysdeps/unix/syscalls.list
56279         (madvise): Make __madvise the strong name, and madvise a weak alias.
56280         * sysdeps/unix/sysv/linux/syscalls.list
56281         (madvise, mmap): Remove redundant entries.
56282         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56283         * malloc/malloc.c (mtrim): Likewise.
56284         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56286 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56288         * sysdeps/mach/hurd/dl-cache.c: File removed.
56289         * config.h.in (USE_LDCONFIG): New #undef.
56290         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56291         * configure: Regenerated.
56292         * elf/Makefile (dl-routines): Add dl-cache only under
56293         [$(use-ldconfig) = yes].
56294         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56295         cache on [USE_LDCONFIG].
56296         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56297         [USE_LDCONFIG].
56298         * elf/rtld.c (dl_main): Likewise.
56300 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56302         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56303         _SC_LEVEL4_CACHE_LINESIZE.
56305 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56307         * sysdeps/unix/bsd/confstr.h: File removed.
56309 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56311         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56312         sys/sdt-config.h.
56314 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56316         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56317         Make 'mapoff' field ElfW(Off) rather than off_t.
56319 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56321         * nscd/Makefile: Remove nscd-cflags and all its users.
56322         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56323         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56325         [BZ #10631]
56326         * malloc.c (malloc_printerr): Clarify error message.
56328 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56330         [BZ #14648]
56331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56332         Set bit_FMA_Usable if FMA is supported.
56333         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56334         macro.
56335         (bit_FMA4_Usable): Updated.
56336         (index_FMA_Usable): New macro.
56337         (CPUID_FMA): Likewise.
56338         (HAS_FMA): Defined with bit_FMA_Usable.
56340 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56342         * bits/types.h (__swblk_t): Type removed.
56343         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56344         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56345         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56346         (__SWBLK_T_TYPE): Likewise.
56347         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56348         (__SWBLK_T_TYPE): Likewise.
56349         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56350         (__SWBLK_T_TYPE): Likewise.
56351         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56352         (__SWBLK_T_TYPE): Likewise.
56354 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56355             Honza Horak <hhorak@redhat.com>
56357         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56358         (xdr_mapname): Use YPMAXMAP as maxsize.
56359         (xdr_peername): Use YPMAXPEER as maxsize.
56360         (xdr_keydat): Use YPAXRECORD as maxsize.
56361         (xdr_valdat): Use YPMAXRECORD as maxsize.
56363 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56365         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56367         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56368         * csu/init-first.c: ... here.
56369         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56370         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56371         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56372         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56373         * sysdeps/i386/init-first.c: File removed.
56374         * sysdeps/sh/init-first.c: File removed.
56376 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56378         [BZ #14645]
56379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56380         if x * y might underflow to zero and z is zero.
56381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56383         * math/libm-test.inc (min_subnorm_value): New variable.
56384         (fma_test): Add more tests.
56385         (fma_test_towardzero): Likewise.
56386         (fma_test_downward): Likewise.
56387         (fma_test_upward): Likewise.
56388         (initialize): Set min_subnorm_value.
56390 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56392         [BZ #14638]
56393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56394         0 + 0.
56395         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56396         mode for addition resulting in exact zero.
56397         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56399         exact 0 + 0.
56400         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56402         * math/libm-test.inc (fma_test): Add more tests.
56403         (fma_test_towardzero): New function.
56404         (fma_test_downward): Likewise.
56405         (fma_test_upward): Likewise.
56406         (main): Call the new functions.
56408 2012-09-28  David S. Miller  <davem@davemloft.net>
56410         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56412 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56414         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56415         instead of SIGALRM.
56417         * sysdeps/gnu/_G_config.h: Moved to ...
56418         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56419         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56420         * sysdeps/generic/_G_config.h: ... here.
56422         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56424         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56426         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56427         Conditionalize target on [libnss_test1.so-version].
56429         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56431         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56432         (elfobjdir): Move out of conditionals.
56434         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56435         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56436         (__nss_lookup_function): Conditionalize label remove_from_tree on
56437         [!DO_STATIC_NSS || SHARED], matching its only use.
56439 2012-09-28  David S. Miller  <davem@davemloft.net>
56441         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56442         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56443         file.
56444         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56445         sysdep_routines.
56446         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56448         when HWCAP_SPARC_CRYPTO is present.
56450 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56452         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56454 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56456         [BZ #6530]
56457         * stdio-common/vfprintf.c (process_string_arg): Revert
56458         2000-07-22 change.
56460 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56462         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56463         for testcase.
56464         * stdio-common/tst-sprintf.c: Include <locale.h>
56465         (main): Test sprintf's handling of incomplete multibyte
56466         characters.
56468 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56470         * elf/dl-runtime.c (VERSYMIDX): Removed.
56471         * elf/dl-version.c (VERSYMIDX): Likewise.
56472         * elf/do-rel.h (VERSYMIDX): Likewise.
56473         (VALIDX): Likewise.
56474         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56475         * elf/rtld.c (VALIDX): Likewise.
56476         (ADDRIDX): Likewise.
56477         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56478         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56479         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56480         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56481         (VALIDX): Likewise.
56482         (ADDRIDX): Likewise.
56484 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56486         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56488 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56490         [BZ #11438]
56491         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56492         to global scope.
56493         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56494         addresses are in the same scope as 192.0.2/24.
56495         * posix/gai.conf: Document new scope table defaults.
56497 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56499         [BZ #5298]
56500         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56501         for ftell.  Compute offsets from write pointers instead.
56502         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56504 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56506         [BZ #14543]
56507         * libio/Makefile (tests): New test case tst-fseek.
56508         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56509         combination works in wide mode.
56510         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56511         state when the external buffer state changes.
56513 2012-09-27  David S. Miller  <davem@davemloft.net>
56515         [BZ #14376]
56516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56517         pass reloc->r_addend in as the 'high' argument to
56518         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56522 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56524         * rt/tst-aio2.c: Include <pthread.h>.
56525         * rt/tst-aio3.c: Likewise.
56527 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56529         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56531 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56533         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56534         contents on [SHARED].
56536 2012-09-26  Marek Polacek  <polacek@redhat.com>
56538         [BZ #14530]
56539         [BZ #13741]
56540         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56541         for C++ and GCC <4.3 as well as for non GCC compilers.
56543 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56547 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56549         * Makefile.in (all, install): Declare with .PHONY.
56550         Reported by Michael Hope <michael.hope@linaro.org>.
56552 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56554         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56555         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56556         system header.
56557         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56558         Likewise.
56559         (sydep_routines): Add the new and the internal functions.
56560         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56561         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56563         (GLIBC_2.17): Add the new function.
56564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56565         (GLIBC_2.17): Likewise.
56566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56567         (GLIBC_2.17): Likewise.
56568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56569         (GLIBC_2.17): Likewise.
56570         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56572 2012-09-25  Alan Modra  <amodra@gmail.com>
56574         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56575         Add release barrier before setting once_control to say
56576         initialisation is done.  Add hints on lwarx.  Use macro in
56577         place of isync.
56578         (clear_once_control): Add release barrier.
56580 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56582         [BZ #13629]
56583         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56584         specially.
56585         * math/s_clog10.c (__clog10): Likewise.
56586         * math/s_clog10f.c (__clog10f): Likewise.
56587         * math/s_clog10l.c (__clog10l): Likewise.
56588         * math/s_clogf.c (__clogf): Likewise.
56589         * math/s_clogl.c (__clogl): Likewise.
56590         * math/Makefile (libm-calls): Add x2y2m1.
56591         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56592         (__x2y2m1): Likewise.
56593         (__x2y2m1l): Likewise.
56594         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56595         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56596         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56597         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56598         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56599         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56600         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56601         * sysdeps/i386/fpu/libm-test-ulps: Update.
56602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56604         [BZ #14621]
56605         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56606         int as type of variable DEPTH.
56607         (glob): Use size_t instead of int as type of variables NEWCOUNT
56608         and OLD_PATHC.
56610 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56612         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56613         Add s_sincosf-sse2.
56614         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56615         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56616         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56617         macros for using routine as __sincosf_ia32.
56618         Use macro for function declaration and weak_alias.
56619         * sysdeps/i386/fpu/libm-test-ulps: Update.
56621         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56624         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56625         subnormal argument.
56626         * math/s_cexpf.c (__cexpf): Likewise.
56627         * math/s_csinf.c (__csinf): Likewise.
56628         * math/s_csinhf.c (__csinhf): Likewise.
56629         * math/s_ctanf.c (__ctanf): Likewise.
56630         * math/s_ctanhf.c (__ctanhf): Likewise.
56631         * math/s_ccosh.c (__ccoshf): Likewise.
56632         * math/s_cexp.c (__cexpl): Likewise.
56633         * math/s_csin.c (__csin): Likewise.
56634         * math/s_csinh.c (__csinh): Likewise.
56635         * math/s_ctan.c (__ctan): Likewise.
56636         * math/s_ctanh.c (ctanh): Likewise.
56637         * math/s_ccoshl.c (__ccoshl): Likewise.
56638         * math/s_cexpl.c (__cexpl): Likewise.
56639         * math/s_csinl.c (__csinl): Likewise.
56640         * math/s_csinhl.c (__csinhl): Likewise.
56641         * math/s_ctanl.c (__ctanl): Likewise.
56642         * math/s_ctanhl.c (__ctanhl): Likewise.
56644 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56646         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56647         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56648         (_IO_off_t): Define to __off_t, not _G_off_t.
56649         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56650         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56651         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56652         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56653         type of __dummy and __dummy2 fields.
56654         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56655         (_G_ssize_t): Likewise.
56656         (_G_off_t): Likewise.
56657         (_G_pid_t): Likewise.
56658         (_G_uid_t): Likewise.
56659         (_G_wchar_t): Likewise.
56660         (_G_wint_t): Likewise.
56661         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56662         (_G_ssize_t): Likewise.
56663         (_G_off_t): Likewise.
56664         (_G_pid_t): Likewise.
56665         (_G_uid_t): Likewise.
56666         (_G_wchar_t): Likewise.
56667         (_G_wint_t): Likewise.
56668         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56669         (_G_ssize_t): Likewise.
56670         (_G_off_t): Likewise.
56671         (_G_pid_t): Likewise.
56672         (_G_uid_t): Likewise.
56673         (_G_wchar_t): Likewise.
56674         (_G_wint_t): Likewise.
56676 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56678         * malloc/arena.c: Include malloc-sysdep.h.
56679         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56680         is sufficient to shrink the heap or an unmap is needed.
56681         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56682         new function check_may_shrink_heap.
56683         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56684         new function check_may_shrink_heap.
56686 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56688         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56689         comments.
56691 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56693         * catgets/test-gencat.sh: Add "set -e".
56694         * elf/tst-pathopt.sh: Likewise.
56695         * grp/tst_fgetgrent.sh: Likewise.
56696         * iconvdata/run-iconv-test.sh: Likewise.
56697         * intl/tst-gettext.sh: Likewise.
56698         * intl/tst-gettext2.sh: Likewise.
56699         * intl/tst-gettext4.sh: Likewise.
56700         * intl/tst-gettext6.sh: Likewise.
56701         * intl/tst-translit.sh: Likewise.
56702         * io/ftwtest-sh: Likewise.
56703         * libio/test-freopen.sh: Likewise.
56704         * malloc/tst-mtrace.sh: Likewise.
56705         * posix/globtest.sh: Likewise.
56706         * posix/tst-getconf.sh: Likewise.
56707         * posix/wordexp-tst.sh: Likewise.
56708         * stdio-common/tst-printf.sh: Likewise.
56709         * stdio-common/tst-unbputc.sh: Likewise.
56710         * stdlib/tst-fmtmsg.sh: Likewise.
56711         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56712         * catgets/Makefile: Do not specify -e option when running
56713         testsuite shell scripts.
56714         * elf/Makefile: Likewise.
56715         * grp/Makefile: Likewise.
56716         * iconvdata/Makefile: Likewise.
56717         * intl/Makefile: Likewise.
56718         * io/Makefile: Likewise.
56719         * libio/Makefile: Likewise.
56720         * malloc/Makefile: Likewise.
56721         * posix/Makefile: Likewise.
56722         * stdio-common/Makefile: Likewise.
56723         * stdlib/Makefile: Likewise.
56724         * sysdeps/x86_64/Makefile: Likewise.
56726         * io/ftwtest-sh: Add copyright header.
56727         * posix/globtest.sh: Likewise.
56728         * posix/tst-getconf.sh: Likewise.
56729         * posix/wordexp-tst.sh: Likewise.
56730         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56732 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56734         [BZ #13679]
56735         * Makeconfig (+link): Defined as $(+link-static) if
56736         $(build-shared) isn't yes.
56737         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56738         isn't yes.
56739         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56741         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56743         [BZ #14562]
56744         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56745         new chunk size with MALLOC_ALIGN_MASK.
56747 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56749         [BZ #5044]
56750         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56751         <rounding-mode.h>.
56752         (__printf_fphex): Determine rounding using get_rounding_mode and
56753         round_away.
56754         * stdio-common/tst-printf-round.c (struct hex_test): New
56755         structure.
56756         (hex_tests): New variable.
56757         (test_hex_in_one_mode): New function.
56758         (do_test): Also run tests for hex float output.
56760 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56762         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56763         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56764         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56765         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56766         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56767         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56768         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56769         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56771 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56773         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56774         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56775         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56776         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56778 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56780         [BZ #14579]
56781         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56782         mode only.
56783         * elf/tst-rtld-load-self.sh: New test.
56784         * elf/Makefile: Run it.
56786 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56788         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56789         (tst-writev-ENV): Remove.
56790         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56792 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56794         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56796 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56798         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56799         unconditional.
56800         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56801         Likewise.
56802         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56803         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56804         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56805         Likewise.
56807 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56809         [BZ #14587]
56810         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56811         * config.make.in (have-cpp-asm-debuginfo): Removed.
56812         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56813         * configure: Regenerated.
56815 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56817         [BZ #5044]
56818         * stdio-common/printf_fp.c: Include <stdbool.h> and
56819         <rounding-mode.h>.
56820         (___printf_fp): Determine rounding using get_rounding_mode and
56821         round_away.
56822         * stdio-common/tst-printf-round.c: New file.
56823         * stdio-common/Makefile (tests): Add tst-printf-round.
56824         (link-libm): New variable.
56825         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56827 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56829         [BZ #14576]
56830         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56831         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56832         Likewise.
56833         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56834         Likewise.
56836 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56838         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56839         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56840         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56841         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56843 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56845         [BZ #14518]
56846         * include/rounding-mode.h: New file.
56847         * sysdeps/generic/get-rounding-mode.h: Likewise.
56848         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56849         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56850         (MAX_VALUE): New macro.
56851         (MIN_VALUE): Likewise.
56852         (overflow_value): New function.
56853         (underflow_value): Likewise.
56854         (round_and_return): Use overflow_value and underflow_value to
56855         determine return values in overflow and underflow cases.  Use
56856         round_away to determine rounding depending on rounding mode.
56857         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56858         determine return values in overflow and underflow cases.
56859         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56860         (struct test_results): New structure.
56861         (struct test): Use struct test_results to store expected results
56862         for all rounding modes.
56863         (TEST): Include expected results for all rounding modes.
56864         (test_in_one_mode): New function.
56865         (do_test): Use test_in_one_mode to compute and check results.
56866         Check results for all rounding modes.
56867         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56868         $(link-libm).
56870 2012-12-09  Allan McRae  <allan@archlinux.org>
56872         * sysdeps/i386/fpu/libm-test-ulps: Update
56874 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56876         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56877         (_G_int32_t): Likewise.
56878         (_G_uint16_t): Likewise.
56879         (_G_uint32_t): Likewise.
56880         (_G_HAVE_BOOL): Likewise.
56881         (_G_HAVE_ATEXIT): Likewise.
56882         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56883         (_G_HAVE_IO_FILE_OPEN): Likewise.
56884         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56885         (_G_int32_t): Likewise.
56886         (_G_uint16_t): Likewise.
56887         (_G_uint32_t): Likewise.
56888         (_G_HAVE_BOOL): Likewise.
56889         (_G_HAVE_ATEXIT): Likewise.
56890         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56891         (_G_HAVE_IO_FILE_OPEN): Likewise.
56892         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56893         (_G_int32_t): Likewise.
56894         (_G_uint16_t): Likewise.
56895         (_G_uint32_t): Likewise.
56896         (_G_HAVE_BOOL): Likewise.
56897         (_G_HAVE_ATEXIT): Likewise.
56898         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56899         (_G_HAVE_IO_FILE_OPEN): Likewise.
56901 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56903         * csu/libc-tls.c: Update copyright years.
56905 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56907         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56908         [!_G_USING_THUNKS]: Remove conditional code.
56909         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56910         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56912         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56913         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56914         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56915         (_G_VTABLE_LABEL_PREFIX): Likewise.
56916         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56917         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56918         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56919         (_G_VTABLE_LABEL_PREFIX): Likewise.
56920         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56921         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56922         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56923         (_G_VTABLE_LABEL_PREFIX): Likewise.
56924         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56926 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56928         * libio/Makefile: Include ../Makeconfig before tests.
56929         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56930         only if $(build-shared) is yes.
56932         * iconv/gconv_db.c: Update copyright years.
56934 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56936         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56937         unwind info if defined PIC. Fix special cases description.
56938         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56940         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56941         DP_HI_MASK entry.
56942         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56944 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56946         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56948         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56949         is NULL.
56951         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56952         (LDLIBS-tst-chk4): This.
56953         (LDFLAGS-tst-chk5): Renamed to ...
56954         (LDLIBS-tst-chk5): This.
56955         (LDFLAGS-tst-chk6): Renamed to ...
56956         (LDLIBS-tst-chk6): This.
56957         (LDFLAGS-tst-lfschk4): Renamed to ...
56958         (LDLIBS-tst-lfschk4): This.
56959         (LDFLAGS-tst-lfschk5): Renamed to ...
56960         (LDLIBS-tst-lfschk5): This.
56961         (LDFLAGS-tst-lfschk6): Renamed to ...
56962         (LDLIBS-tst-lfschk6): This.
56964         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56965         on $(common-objpfx)soversions.mk.
56967 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56969         [BZ #10014]
56970         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56971         example host name.
56973 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56975         * malloc/arena.c (arena_get_retry): New function that gets
56976         another arena for the caller to try its request on.
56977         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56978         current arena cannot fulfill the request.
56979         (__libc_memalign): Likewise.
56980         (__libc_memalign): Likewise.
56981         (__libc_pvalloc): Likewise.
56982         (__libc_calloc): Likewise.
56984 2012-09-05  John Tobey  <john.tobey@gmail.com>
56986         [BZ #13542]
56987         * manual/arith.texi (Operations on Complex): Fix description
56988         of carg branch cut.
56990 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56992         [BZ #10014]
56993         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56994         host name.
56996         [BZ #10038]
56997         * manual/memory.texi (Memory): Make order of menu items match
56998         order of sections.
57000 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57002         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57003         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57004         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57006 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57008         * csu/libc-tls.c (static_dtv): Renamed to ...
57009         (_dl_static_dtv): This.  Make it global.
57010         (_dl_initial_dtv): Removed.
57011         (__libc_setup_tls): Updated.
57012         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57013         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57014         DL_INITIAL_DTV.
57016 2012-09-06  Petr Machata  <pmachata@redhat.com>
57018         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57019         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57020         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57021         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57023 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57025         [BZ #14545]
57026         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57027         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57028         freeing dtv[-1].
57030 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57032         [BZ #14544]
57033         * Makeconfig (link-static-before-libc): Replace $(+prector)
57034         with $(+prectorT).
57035         (link-static-after-libc): Replace $(+postctor) with
57036         $(+postctorT).
57037         (link-bounded): Replace $(+prector)/$(+postctor) with
57038         $(+prectorT)/$(+postctorT).
57039         (+prectorT): New macro.
57040         (+postctorT): Likewise.
57042 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57044         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57045         (round_str): Handle values above the maximum for IBM long double
57046         as inexact.
57047         * stdlib/tst-strtod-round.c (tests): Regenerated.
57049 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57051         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57052         assembler flag.
57053         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57054         zarch_nohighgprs around the zarch optimized routines.
57055         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57056         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57057         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57058         for zarch.
57060 2012-09-05  David S. Miller  <davem@davemloft.net>
57062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57064         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57065         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57066         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57067         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57068         entries.
57070 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57072         * malloc/arena.c: Fold copyright years.
57073         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57075 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57077         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57079 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57081         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57083 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57085         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57086         change internal state upon failure.
57088 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57090         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57091         * malloc/memusage.c (mmap): Likewise.
57092         (mmap64, mremap): Likewise.  Adjust name in comment.
57094 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57096         * libio/fileops.c: Fix typos in comments.
57097         * libio/oldfileops.c: Likewise.
57098         * libio/wfileops.c: Likewise.
57100 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57102         [BZ #1349]
57103         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57104         (tst-malloc-usable-ENV): Set environment for test case.
57105         * malloc/hooks.c (malloc_check_get_size): New function to get
57106         requested size.
57107         * malloc/malloc.c (musable): Use malloc_check_get_size.
57108         * malloc/tst-malloc-usable.c: New test case.
57110 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57112         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57114 2012-09-05  Allan McRae  <allan@archlinux.org>
57116         [BZ #13966]
57117         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57118         determine header location.
57119         * configure: Regenerated.
57121 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57123         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57124         float format.
57125         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57126         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57127         format.
57128         (test): Regenerate.
57130 2012-09-04  David S. Miller  <davem@davemloft.net>
57132         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57133         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57134         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57136 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57138         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57139         failures.
57141         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57143 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57145         [BZ #9914]
57146         * libio/iogetdelim.c: Include <limits.h>.
57147         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57148         + len + 1 would overflow.
57150 2012-09-03  Andreas Jaeger  <aj@suse.de>
57152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57153         * sysdeps/i386/fpu/libm-test-ulps: Update.
57155 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57157         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57158         Add s_sinf-sse2, s_conf-sse2.
57160         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57161         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57162         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57163         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57165         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57166         for using routine as __sinf_ia32.
57167         Use macro for function declaration and weak_alias.
57168         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57169         for using routine as __cosf_ia32.
57170         Use macro for function declaration and weak_alias.
57172         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57173         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57175         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57176         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57179         * math/libm-test.inc (cos_test): Add more test cases.
57180         (sin_test): Likewise.
57181         (sincos_test): Likewise.
57183 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57185         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57186         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57187         hidden.
57188         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57190 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57192         [BZ #14538]
57193         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57194         first element of the GOT.
57195         (elf_machine_load_address): Return the difference between
57196         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57198 2012-09-01  Allan McRae  <allan@archlinux.org>
57200         [BZ #13412]
57201         * configure.in (AWK): Require gawk version 3.0 or later.
57202         * configure: Regenerated.
57204 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57206         * sysdeps/unix/sysv/linux/kernel-features.h
57207         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57208         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57209         [__NR_clock_getres]: Make code unconditional.
57210         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57211         (clock_getcpuclockid): Remove code left unreachable by removal of
57212         conditionals.
57213         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57214         code unconditional.
57215         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57216         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57217         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57218         Make code unconditional.
57219         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57220         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57221         * sysdeps/unix/sysv/linux/clock_settime.c
57222         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57223         conditional code.
57224         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57225         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57227 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57229         [BZ #14476]
57230         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57231         scripts/test-installation.pl.
57233         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57234         and $ld_so_version if it is set.
57236 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57238         [BZ #14516]
57239         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57240         failure if reading from procfs failed.
57241         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57243 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57245         * sysdeps/unix/sysv/linux/kernel-features.h
57246         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57247         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57248         Remove conditional code.
57249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57250         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57251         Remove conditional code.
57252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57253         * sysdeps/unix/sysv/linux/i386/fxstat.c
57254         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57256         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57257         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57259         * sysdeps/unix/sysv/linux/i386/lxstat.c
57260         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57262         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57263         Remove conditional code.
57264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57265         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57266         Remove conditional code.
57267         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57268         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57269         <kernel-features.h>.
57270         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57271         Remove.
57272         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57273         Remove conditional code.
57274         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57275         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57276         Remove conditional.
57278 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57280         [BZ #5400]
57281         * NEWS: Add fixed bug number.
57283 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57285         [BZ #14519]
57286         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57287         underflowing exponent in case of negative sign.
57288         * stdlib/tst-strtod-round-data: Add more tests.
57289         * stdlib/tst-strtod-round.c (tests): Regenerated.
57291         [BZ #3479]
57292         * stdlib/strtod_l.c (NDIG): Remove.
57293         (HEXNDIG): Likewise.
57294         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57295         smallest representable value.
57296         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57297         lie within an exact representation of 1/2 ulp of the result.
57298         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57299         unconditionally.
57300         (TENS_P9_IDX): Define unconditionally.
57301         (TENS_P9_SIZE): Likewise.
57302         (TENS_P10_IDX): Likewise.
57303         (TENS_P10_SIZE): Likewise.
57304         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57305         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57306         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57307         entries for 10^2^13 and 10^2^14.
57308         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57309         (TENS_P13_IDX): Define.
57310         (TENS_P13_SIZE): Likewise.
57311         (TENS_P14_IDX): Likewise.
57312         (TENS_P14_SIZE): Likewise.
57313         (_fpioconst_pow10): Change array size to
57314         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57315         unconditional.
57316         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57317         1024]: Add entries for 10^2^13 and 10^2^14.
57318         [LAST_POW10 > _LAST_POW10]: Remove #error.
57319         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57320         (_fpioconst_pow10): Change array size to
57321         FPIOCONST_POW10_ARRAY_SIZE.
57322         * stdlib/gen-fpioconst.c: New file.
57323         * stdlib/gen-tst-strtod-round.c: Likewise.
57324         * stdlib/tst-strtod-round-data: Likewise.
57325         * stdlib/tst-strtod-round.c: Likewise.
57326         * stdlib/Makefile (tests): Add tst-strtod-round.
57328         [BZ #14459]
57329         * stdlib/strtod_l.c: Include <stdint.h>.
57330         (NDEBUG): Do not define.
57331         (round_and_return): Change EXPONENT parameter to type intmax_t.
57332         Rearrange calculations to avoid internal overflow possibilities.
57333         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57334         Rearrange calculations to avoid internal overflow possibilities.
57335         Assert that number fits inside MPNSIZE limbs.
57336         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57337         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57338         calculations and add assertions to avoid internal overflow
57339         possibilities.  Add casts to avoid signed/unsigned operations.
57340         * stdlib/tst-strtod-overflow.c: New file.
57341         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57343 2012-08-25  Marek Polacek  <polacek@redhat.com>
57345         * time/time.h: Fix some typos in comments.
57347 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57349         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57350         * posix/tst-rfc3484-2.c: Likewise.
57351         * posix/tst-rfc3484-3.c: Likewise.
57353 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57355         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57356         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57358 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57360         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57361         #include of fxstatat64.c.
57363 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57365         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57366         * shadow/getspent_r.c: Likewise.
57367         * shadow/getspnam.c: Likewise.
57368         * shadow/getspnam_r.c: Likewise.
57369         * gshadow/getsgent.c: Likewise.
57370         * gshadow/getsgent_r.c: Likewise.
57371         * gshadow/getsgnam.c: Likewise.
57372         * gshadow/getsgnam_r.c: Likewise.
57373         * inet/getnetbyad.c: Likewise.
57374         * inet/getnetbyad_r.c: Likewise.
57375         * inet/getnetbynm.c: Likewise.
57376         * inet/getnetbynm_r.c: Likewise.
57377         * inet/getnetent.c: Likewise.
57378         * inet/getnetent_r.c: Likewise.
57379         * inet/getproto.c: Likewise.
57380         * inet/getproto_r.c: Likewise.
57381         * inet/getprtent.c: Likewise.
57382         * inet/getprtent_r.c: Likewise.
57383         * inet/getprtname.c: Likewise.
57384         * inet/getprtname_r.c: Likewise.
57385         * inet/getrpcbyname.c: Likewise.
57386         * inet/getrpcbyname_r.c: Likewise.
57387         * inet/getrpcbynumber.c: Likewise.
57388         * inet/getrpcbynumber_r.c: Likewise.
57389         * inet/getrpcent.c: Likewise.
57390         * inet/getrpcent_r.c: Likewise.
57391         * inet/getaliasent.c: Likewise.
57392         * inet/getaliasent_r.c: Likewise.
57393         * inet/getaliasname.c: Likewise.
57394         * inet/getaliasname_r.c: Likewise.
57395         * nscd/getgrgid_r.c: Likewise.
57396         * nscd/getgrnam_r.c: Likewise.
57397         * nscd/gethstbyad_r.c: Likewise.
57398         * nscd/gethstbynm3_r.c: Likewise.
57399         * nscd/getpwnam_r.c: Likewise.
57400         * nscd/getpwuid_r.c: Likewise.
57401         * nscd/getsrvbynm_r.c: Likewise.
57402         * nscd/getsrvbypt_r.c: Likewise.
57403         * nscd/gai.c: Likewise.
57405         * configure.in (build_nscd): New substituted variable, set
57406         by --disable-build-nscd and defaults to $use_nscd.
57407         * configure: Regenerated.
57408         * config.make.in (build-nscd): New substituted variable.
57409         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57410         Change conditional to require [$(build-nscd) = yes] as well.
57411         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57413         [BZ# 13696]
57414         * configure.in (use_nscd): New substituted variable, set by
57415         --disable-nscd.  If enabled, define USE_NSCD.
57416         * configure: Regenerated.
57417         * config.h.in: Add USE_NSCD.
57418         * config.make.in (use-nscd): New substituted variable.
57419         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57420         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57421         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57422         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57423         (CFLAGS-getgrnam_r.c): Likewise.
57424         (CFLAGS-initgroups.c): Likewise.
57425         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57426         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57427         Variables removed.
57428         * inet/getnetgrent_r.c
57429         (nscd_setnetgrent): New function, broken out of ...
57430         (setnetgrent): ... here.  Call it.
57431         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57432         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57433         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57434         * nscd/Makefile (routines, aux): Move definitions after include of
57435         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57436         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57437         Conditionalize on [USE_NSCD].
57438         (is_nscd, nscd_init_cb): Likewise.
57439         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57440         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57441         * nss/nss_db/db-init.c: Likewise.
57442         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57443         [USE_NSCD].
57444         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57445         (make_request): Use it.
57446         (cache_valid_p): New function.
57447         (__check_pf): Use it.
57448         * NEWS: Add item for --disable-nscd.
57450 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57452         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57453         to support sed >= 4.2.1-20-ga9bf076.
57454         * configure: Regenerated.
57456 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57458         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57459         Conditionalize whole body on [IREL].
57461 2012-08-22  Jeff Law <law@redhat.com>
57463         [BZ #14505]
57464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57465         if the family is PF_UNSPEC.
57467 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57469         * Makerules (lib-version): Rename from V.
57470         (install-lib-nosubdir): Change V to lib-version.
57472 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57474         [BZ #14252]
57475         * powerpc32/power6/wcschr.c: New file.
57476         * powerpc32/power6/wcscpy.c: New file.
57477         * powerpc32/power6/wcsrchr.c: New file.
57478         * powerpc64/power6/wcschr.c: New file.
57479         * powerpc64/power6/wcscpy.c: New file.
57480         * powerpc64/power6/wcsrchr.c: New file.
57482 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57484         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57485         (two_way_short_needle): Use it.
57486         * string/strstr.c (AVAILABLE1_USES_J): Define.
57487         * string/strcasestr.c: Likewise.
57489         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57490         array references.
57491         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57493         [BZ #11607]
57494         * NEWS: Add an entry.
57495         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57496         define their defaults.
57497         (two_way_short_needle): Detect end-of-string on-the-fly.
57498         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57499         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57500         * string/bug-strcasestr1.c: New test.
57501         * string/Makefile: Run it.
57503 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57505         [BZ #11607]
57506         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57507         the first character.
57509 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57511         * csu/elf-init.c (__libc_csu_irel): Function removed.
57512         * csu/libc-start.c (apply_irel): New function.
57513         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57515 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57517         * sysdeps/unix/sysv/linux/kernel-features.h
57518         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57519         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57520         <kernel-features.h>.
57521         [__NR_fadvise64_64]: Make code unconditional.
57522         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57523         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57524         !__NR_fadvise64_64)]: Likewise.
57525         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57526         !__NR_fadvise64_64))]: Likewise.
57527         [__NR_fadvise64]: Make code unconditional.
57528         [!__NR_fadvise64]: Remove conditional code.
57529         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57530         <kernel-features.h>.
57531         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57532         unconditional.
57533         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57534         conditional code.
57535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57536         not include <kernel-features.h>.
57537         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57538         unconditional.
57539         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57540         conditional code.
57541         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57542         include <kernel-features.h>.
57543         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57544         unconditional.
57545         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57546         conditional code.
57548 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57550         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57551         slight instruction rearrangements per scrollpipe analysis.
57552         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57554 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57556         * manual/syslog.texi (syslog; vsyslog, closelog):
57557         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57558         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57560         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57561         DSOCAPS to match condition on defining it.
57563 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57565         * sysdeps/unix/sysv/linux/kernel-features.h
57566         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57568         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57569         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57571         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57572         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57574         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57575         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57577         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57578         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57580         * sysdeps/unix/sysv/linux/kernel-features.h
57581         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57582         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57583         unconditional.
57584         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57585         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57586         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57587         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57588         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57589         Make code unconditional.
57590         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57591         (__mmap64) [!__NR_mmap2]: Likewise.
57592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57593         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57594         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57595         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57596         [__NR_mmap2]: Make code unconditional.
57597         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57598         (__mmap64) [!__NR_mmap2]: Likewise.
57600 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57602         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57604 2012-08-18  Andreas Jaeger  <aj@suse.de>
57606         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57608 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57610         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57611         * include/unistd.h (__have_sock_cloexec): Likewise.
57612         (__have_pipe2): Likewise.
57613         (__have_dup3): Likewise.
57615 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57617         [BZ #9685]
57618         * include/unistd.h (__have_pipe2): Change define into an extern int.
57619         (__have_dup3): Likewise.
57620         * socket/have_sock_cloexec.c: Include fcntl.h.
57621         (__have_pipe2): New variable.
57622         (__have_dup3): Likewise.
57624 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57626         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57628 2012-08-17  Marek Polacek  <polacek@redhat.com>
57630         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57631         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57633 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57635         * configure.in: Add AC_SUBST for sysheaders.
57636         * configure: Regenerated.
57637         * config.make.in (sysheaders): New substituted variable.
57639         * sysdeps/unix/mkfifo.c: Moved ...
57640         * sysdeps/posix/mkfifo.c: ... here.
57641         * sysdeps/unix/mkfifoat.c: Moved ...
57642         * sysdeps/posix/mkfifoat.c: ... here.
57644         * sysdeps/unix/utime.c: Moved ...
57645         * sysdeps/posix/utime.c: ... here.
57647         * sysdeps/unix/time.c: Moved ...
57648         * sysdeps/posix/time.c: ... here.
57649         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57650         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57652         * sysdeps/unix/nice.c: Moved ...
57653         * sysdeps/posix/nice.c: ... here.
57655         * sysdeps/unix/alarm.c: Moved ...
57656         * sysdeps/posix/alarm.c: ... here.
57658         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57660 2012-08-17  Jeff Law <law@redhat.com>
57662         * intl/Makefile (codeset_mo): New variable.
57663         ($(codeset_mo)): New target.
57664         (tst-codeset.out): Depend on that.  Remove explicit rule.
57665         (tst-gettext3.out, tst-gettext5.out): Likewise.
57666         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57667         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57668         * intl/tst-codeset.sh: Remove.
57669         * intl/tst-gettext3.sh: Likewise.
57670         * intl/tst-gettext5.sh: Likewise.
57672 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57674         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57675         * sysdeps/unix/syscalls.list: ... here.
57677         * sysdeps/posix/getaddrinfo.c
57678         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57679         (gaiconf_init, gaiconf_reload): Use them.
57680         [!_STATBUF_ST_NSEC]
57681         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57682         Define using time_t rather than struct timespec.
57684         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57685         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57686         Macros removed.
57687         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57688         [!NO_THREADS].
57689         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57690         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57691         Likewise.
57693         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57694         __libc_cleanup_push argument.
57696         * bits/param.h: New file.
57697         * misc/sys/param.h: New file.
57698         * include/sys/param.h: New file.
57699         * misc/Makefile (headers): Add bits/param.h.
57700         * sysdeps/generic/sys/param.h: File removed.
57701         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57702         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57703         * sysdeps/mach/hurd/bits/param.h: New file.
57704         * sysdeps/mach/hurd/sys/param.h: File removed.
57706         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57707         last change.
57709         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57710         [_IO_MTSAFE_IO].
57711         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57712         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57713         New macros.
57715         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57716         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57717         rather than -D_IO_MTSAFE_IO conditionally.
57718         * stdio-common/Makefile (CPPFLAGS): Likewise.
57719         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57720         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57721         Use $(libio-mtsafe).
57722         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57723         of -D_IO_MTSAFE_IO.
57724         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57725         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57726         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57727         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57728         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57729         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57730         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57731         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57732         (CFLAGS-fread_u_chk.c): Likewise.
57733         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57734         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57735         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57736         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57737         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57738         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57739         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57740         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57741         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57743         * libio/Makefile: Test [$(libc-reentrant) = yes]
57744         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57746         * Makeconfig
57747         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57748         * sysdeps/pthread/configure: File removed.
57749         * sysdeps/pthread/Makeconfig: New file.
57750         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57751         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57753 2012-08-16  Gary Benson  <gbenson@redhat.com>
57755         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57756         unmapping the first object in a namespace.
57758 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57760         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57761         (__internal_setnetgrent): ... this.  Add internal_function to
57762         definition.  Add libc_hidden_def.
57763         (setnetgrent): Update caller.
57764         (internal_endnetgrent): Renamed to ...
57765         (__internal_endnetgrent): ... this.  Add internal_function to
57766         definition.  Add libc_hidden_def.
57767         (endnetgrent): Update caller.
57768         (internal_getnetgrent_r): Renamed to ...
57769         (__internal_getnetgrent_r): ... this.  Add internal_function to
57770         definition.  Add libc_hidden_def.
57771         (__getnetgrent_r): Update caller.
57772         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57774 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57776         * stdlib/longlong.h: Update from GCC.
57778 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57780         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57781         on _QL, which is set by umul_ppmm but never used.
57782         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57783         variables, which are set by GMP macros but never used.
57784         * stdio-common/_itowa.c (_itowa): Likewise.
57785         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57786         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57788 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57790         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57791         struct La_sh_regs is not constant.
57792         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57793         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57794         and struct La_sparc64_regs are not constant.
57796 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57798         * sysdeps/unix/sysv/linux/kernel-features.h
57799         (__ASSUME_POSIX_TIMERS): Remove.
57800         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57801         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57802         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57803         Make code unconditional.
57804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57805         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57806         Make code unconditional.
57807         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57808         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57809         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57810         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57811         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57812         Make code unconditional.
57813         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57814         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57815         (__libc_missing_posix_timers): Remove.
57817 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57819         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57820         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57822         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57824         * elf/dl-sym.c: Include <stdlib.h>.
57826         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57827         constants, which avoids warnings in 32-bit builds.
57829         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57830         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57832         * misc/lseek.c: File moved to ...
57833         * io/lseek.c: ... here.
57835         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57837         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57838         shifting LEN more than 31 bits at once.
57840 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57842         [BZ #14195]
57843         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57844         segmentation fault for a case of two empty input strings.
57845         * string/test-strncasecmp.c (check1): Renamed to...
57846         (bz12205): ...this.
57847         (bz14195): Add new testcase for two empty input strings and N > 0.
57848         (test_main): Call new testcase, adapt for renamed function.
57850 2012-08-15  Andreas Jaeger  <aj@suse.de>
57852         [BZ #14090]
57853         * crypt/md5test2.c: New test, based on test supplied by Serge
57854         Belyshev <belyshev@depni.sinp.msu.ru>.
57855         * crypt/Makefile (xtests): Add md5test-giant..
57856         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57858 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57860         [BZ #14090]
57861         * crypt/md5.c (md5_process_block): Don't assume the buffer
57862         length is less than 2**32.
57863         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57864         length is less than 2**64.
57866 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57868         * string/str-two-way.h: Include <sys/param.h>.
57869         (MAX): Macro removed.
57871         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57872         Move #define and #undef of memmove to just before and after
57873         including <string.h>.
57875         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57876         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57877         and after including <string.h>.  Move declarations of
57878         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57879         to before #include "string/memmove.c".
57881         * include/dirent.h: Declare __getdirentries.
57883         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57884         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57886 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57888         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57889         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57890         * sysdeps/i386/configure: Regenerated.
57891         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57892         STABS_CURRENT_FILE, and STABS_FUN.
57893         (END): Remove call to STABS_FUN_END.
57894         (STABS_CURRENT_FILE1): Delete.
57895         (STABS_CURRENT_FILE): Likewise.
57896         (STABS_FUN): Likewise.
57897         (STABS_FUN_END): Likewise.
57898         (STABS_FUN2): Likewise.
57899         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57900         * sysdeps/x86_64/configure: Regenerated.
57902 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57904         * elf/dl-open.c: Include <atomic.h>.
57905         * elf/dl-lookup.c: Likewise.
57907 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57909         * sysdeps/unix/sysv/linux/kernel-features.h
57910         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57911         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57912         unconditionally.
57913         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57914         unconditionally.
57915         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57916         condition on __ASSUME_CLONE_THREAD_FLAGS.
57918 2012-08-14  Andreas Jaeger  <aj@suse.de>
57920         * sysdeps/i386/fpu/libm-test-ulps: Update.
57922 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57924         * include/atomic.h (atomic_exchange_and_add): Split into ...
57925         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57926         New atomic macros.
57928 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57932 2012-08-13  Jeff Law <law@redhat.com>
57934         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57935         null byte in the output string.
57937 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57939         * sysdeps/unix/sysv/linux/kernel-features.h
57940         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57941         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57942         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57943         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57944         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57945         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57946         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57948 2012-08-09  Jeff Law <law@redhat.com>
57950         [BZ #13939]
57951         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57952         When avoid_arena is set, don't retry in the that arena.  Pick the
57953         next one, whatever it might be.
57954         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57955         (arena_lock): Pass in new parameter to arena_get2.
57956         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57957         arena_get2.
57958         (__libc_malloc): Unify retrying after main arena failure with
57959         __libc_memalign version.
57960         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57962 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57964         [BZ #14166]
57965         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57966         to __redirect_strstr.
57967         (__strstr_sse42): Use typeof __redirect_strstr.
57968         (__strstr_ia32): Likewise.
57969         (__libc_strstr): New prototype.
57970         (strstr): Renamed to ...
57971         (__libc_strstr): This.
57972         (strstr): New strong alias of __libc_strstr.
57973         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57974         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57975         __redirect_time.
57976         Include <time.h>.
57977         (__libc_time): New prototype.
57978         (time_ifunc): Replace time with __libc_time.
57979         (time): New strong alias and hidden definition of __libc_time.
57980         (__GI_time): Remove strong alias.
57981         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57982         Include <stddef.h>.
57983         (memmove): Redefined to __redirect_memmove.
57984         (__memmove_sse2): Use typeof __redirect_memmove.
57985         (__memmove_ssse3): Likewise.
57986         (__memmove_ssse3_back): Likewise.
57987         (__libc_memmove): New prototype.
57988         (memmove): Renamed to ...
57989         (__libc_memmove): This.
57990         (memmove): New strong alias of __libc_memmove.
57992 2012-08-08  Mark Salter  <msalter@redhat.com>
57994         * elf/elf.h
57995         (R_MN10300_TLS_GD): Define.
57996         (R_MN10300_TLS_LD): Likewise.
57997         (R_MN10300_TLS_LDO): Likewise.
57998         (R_MN10300_TLS_GOTIE): Likewise.
57999         (R_MN10300_TLS_IE): Likewise.
58000         (R_MN10300_TLS_LE): Likewise.
58001         (R_MN10300_TLS_DTPMOD): Likewise.
58002         (R_MN10300_TLS_DTPOFF): Likewise.
58003         (R_MN10300_TLS_TPOFF): Likewise.
58004         (R_MN10300_SYM_DIFF): Likewise.
58005         (R_MN10300_ALIGN): Likewise.
58006         (R_MN10300_NUM): Update.
58008 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58010         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58011         Remove.
58013 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58015         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58017         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58018         sysdeps/unix -> sysdeps/posix move.
58019         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58021 2012-08-07      Allan McRae     <allan@archlinux.org>
58023         [BZ #14303]
58024         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58025         (SUNOS_CPP): Likewise.
58026         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58027         not found.
58028         (open_input): Call CPP using execvp.
58030 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58032         * sysdeps/unix/sysv/linux/kernel-features.h
58033         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58034         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58035         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58036         (__ASSUME_WAITID_SYSCALL): Likewise.
58037         * sysdeps/unix/sysv/linux/dl-execstack.c
58038         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58039         code unconditional.
58040         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58041         conditional code.
58042         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58043         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58044         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58045         code.
58046         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58047         unconditional.
58048         [__ASSUME_WAITID_SYSCALL]: Likewise.
58049         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58051 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58053         * sysdeps/unix/closedir.c: Renamed to ...
58054         * sysdeps/posix/closedir.c: ... here.
58055         * sysdeps/unix/dirfd.c: Renamed to ...
58056         * sysdeps/posix/dirfd.c: ... here.
58057         * sysdeps/unix/dirstream.h: Renamed to ...
58058         * sysdeps/posix/dirstream.h: ... here.
58059         * sysdeps/unix/fdopendir.c: Renamed to ...
58060         * sysdeps/posix/fdopendir.c: ... here.
58061         * sysdeps/unix/opendir.c: Renamed to ...
58062         * sysdeps/posix/opendir.c: ... here.
58063         * sysdeps/unix/readdir.c: Renamed to ...
58064         * sysdeps/posix/readdir.c: ... here.
58065         * sysdeps/unix/readdir_r.c: Renamed to ...
58066         * sysdeps/posix/readdir_r.c: ... here.
58067         * sysdeps/unix/rewinddir.c: Renamed to ...
58068         * sysdeps/posix/rewinddir.c: ... here.
58069         * sysdeps/unix/seekdir.c: Renamed to ...
58070         * sysdeps/posix/seekdir.c: ... here.
58071         * sysdeps/unix/telldir.c: Renamed to ...
58072         * sysdeps/posix/telldir.c: ... here.
58073         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58074         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58075         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58076         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58078         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58079         * bits/fcntl.h: ... here.
58081         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58082         not 0.
58083         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58084         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58085         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58086         (struct flock): Move l_start, l_len to the beginning.
58087         Use __pid_t for l_pid.
58088         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58089         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58090         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58091         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58092         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58093         [__USE_LARGEFILE64] (struct flock64): New type.
58094         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58096         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58097         * bits/dirent.h: ... here.
58099         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58100         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58102 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58104         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58105         Change from 2.6.0 to 2.6.16.
58106         * sysdeps/unix/sysv/linux/configure: Regenerated.
58107         * sysdeps/unix/sysv/linux/kernel-features.h
58108         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58109         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58110         version.
58111         (__ASSUME_UTIMES): Likewise.
58112         (__ASSUME_CLONE_STOPPED): Remove.
58113         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58114         architectures, not kernel version.
58115         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58116         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58117         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58118         (__ASSUME_WAITID_SYSCALL): Likewise.
58119         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58120         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58121         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58122         refer to older versions.
58124 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58126         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58127         Define alphasort64 as an alias.
58128         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58129         Define versionsort64 as an alias.
58130         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58131         Define scandir64 as an alias.
58132         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58133         Define scandirat64 as an alias.
58134         * dirent/alphasort64.c (alphasort64):
58135         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58136         * dirent/versionsort64.c: Likewise.
58137         * dirent/scandir64.c: Likewise.
58138         * dirent/scandirat64.c: Likewise.
58139         * sysdeps/wordsize-64/alphasort.c: File removed.
58140         * sysdeps/wordsize-64/alphasort64.c: File removed.
58141         * sysdeps/wordsize-64/scandir.c: File removed.
58142         * sysdeps/wordsize-64/scandir64.c: File removed.
58143         * sysdeps/wordsize-64/scandirat.c: File removed.
58144         * sysdeps/wordsize-64/scandirat64.c: File removed.
58145         * sysdeps/wordsize-64/versionsort.c: File removed.
58146         * sysdeps/wordsize-64/versionsort64.c: File removed.
58147         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58148         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58149         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58150         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58151         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58152         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58154         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58156         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58158         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58160         [defined __arch64__ || defined __sparcv9]
58161         (__INO_T_MATCHES_INO64_T): New macro.
58162         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58163         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58164         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58165         * sysdeps/unix/sysv/linux/bits/dirent.h
58166         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58167         (_DIRENT_MATCHES_DIRENT64): New macro.
58169         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58170         Define lockf64 as an alias.
58171         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58172         Define fseeko64 as an alias.
58173         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58174         Define ftello64 as an alias.
58175         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58176         Define _IO_fgetpos64 and fgetpos64 as aliases.
58177         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58178         Define _IO_fsetpos64 and fsetpos64 as aliases.
58179         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58180         Conditionalize body on this.
58181         * libio/fseeko64.c: Likewise.
58182         * libio/ftello64.c: Likewise.
58183         * libio/iofgetpos64.c: Likewise.
58184         * libio/iofsetpos64.c: Likewise.
58185         * sysdeps/wordsize-64/lockf.c: File removed.
58186         * sysdeps/wordsize-64/lockf64.c: File removed.
58187         * sysdeps/wordsize-64/fseeko.c: File removed.
58188         * sysdeps/wordsize-64/fseeko64.c: File removed.
58189         * sysdeps/wordsize-64/ftello.c: File removed.
58190         * sysdeps/wordsize-64/ftello64.c: File removed.
58191         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58192         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58193         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58194         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58195         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58196         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58197         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58198         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58199         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58200         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58201         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58202         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58203         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58204         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58206         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58207         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58208         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58210         [defined __arch64__ || defined __sparcv9]
58211         (__OFF_T_MATCHES_OFF64_T): New macro.
58212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58213         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58215         (__OFF_T_MATCHES_OFF64_T): New macro.
58217 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58219         * stdlib/secure-getenv.c (__secure_getenv): Replace
58220         GLIBC_2_16 with GLIBC_2_17.
58222 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58224         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58225         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58227 2012-08-03  David S. Miller  <davem@davemloft.net>
58229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58231 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58234         Remove.
58235         (__ASSUME_CORRECT_SI_PID): Likewise.
58236         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58237         (__ASSUME_TMPFS_NAME): Likewise.
58238         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58239         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58240         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58241         (HAVE_AUX_SECURE): Make definition unconditional.
58242         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58243         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58245 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58247         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58248         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58249         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58250         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58251         __eloop_threshold instead of SYMLOOP_MAX.
58253         * sysdeps/generic/eloop-threshold.h: New file.
58254         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58255         of MAXSYMLINKS.
58256         * elf/chroot_canon.c (chroot_canon): Likewise.
58258 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58260         [BZ #13717]
58261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58262         Change to 2.6.0 everywhere.
58263         * sysdeps/unix/sysv/linux/configure: Regenerated.
58264         * sysdeps/unix/sysv/linux/kernel-features.h
58265         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58266         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58267         kernel versions.
58268         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58269         (__ASSUME_FUTEX_REQUEUE): Remove.
58270         (__ASSUME_STATFS64): Define unconditionally.
58271         (__ASSUME_AT_SECURE): Likewise.
58272         (__ASSUME_CORRECT_SI_PID): Likewise.
58273         (__ASSUME_TGKILL): Define without depending on kernel version for
58274         i386.
58275         (__ASSUME_UTIMES): Likewise.
58276         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58277         kernel version.
58278         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58279         (__ASSUME_TMPFS_NAME): Likewise.
58280         * README: Update reference to Linux kernel versions.
58282 2012-08-02  Marek Polacek  <polacek@redhat.com>
58284         [BZ# 14150]
58285         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58286         libc_cv_asm_type_prefix with %.
58287         * configure: Regenerated.
58288         * include/libc-symbols.h: Remove comment about
58289         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58290         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58291         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58292         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58293         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58294         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58295         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58296         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58297         * elf/tst-unique2mod1.c: Likewise.
58298         * elf/tst-unique1mod2.c: Likewise.
58299         * elf/tst-unique1mod1.c: Likewise.
58300         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58301         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58302         Replace ASM_TYPE_DIRECTIVE with .type.
58303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58304         * sysdeps/i386/sysdep.h: Likewise.
58305         * sysdeps/x86_64/sysdep.h: Likewise.
58306         * sysdeps/sh/sysdep.h: Likewise.
58307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58308         Do not define ASM_TYPE_DIRECTIVE.
58309         * sysdeps/powerpc/sysdep.h: Likewise.
58310         * sysdeps/powerpc/powerpc32/sysdep.h:
58311         Replace ASM_TYPE_DIRECTIVE with .type.
58312         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58313         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58314         * sysdeps/i386/fpu/e_powf.S: Likewise.
58315         * sysdeps/i386/fpu/e_expl.S: Likewise.
58316         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58317         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58318         * sysdeps/i386/fpu/e_pow.S: Likewise.
58319         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58320         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58321         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58322         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58323         * sysdeps/i386/fpu/e_log2.S: Likewise.
58324         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58325         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58326         * sysdeps/i386/fpu/e_powl.S: Likewise.
58327         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58328         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58329         * sysdeps/i386/fpu/e_logl.S: Likewise.
58330         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58331         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58332         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58333         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58334         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58335         * sysdeps/i386/fpu/e_log.S: Likewise.
58336         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58337         * sysdeps/i386/fpu/e_logf.S: Likewise.
58338         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58340         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58341         * sysdeps/i386/fpu/e_log10.S: Likewise.
58342         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58343         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58344         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58345         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58346         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58347         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58348         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58349         * sysdeps/i386/i686/strtok.S: Likewise.
58350         * sysdeps/i386/i386-mcount.S: Likewise.
58351         * sysdeps/i386/strtok.S: Likewise.
58352         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58353         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58354         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58355         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58356         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58357         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58358         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58359         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58360         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58361         * sysdeps/x86_64/_mcount.S: Likewise.
58362         * sysdeps/x86_64/strtok.S: Likewise.
58363         * sysdeps/sh/_mcount.S: Likewise.
58365 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58367         * libio/iofopen.c: Include <fcntl.h>.
58368         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58369         (_IO_fopen64, fopen64): Define as aliases.
58370         * libio/iofopen64.c: Include <fcntl.h>.
58371         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58372         Conditionalize body on this.
58373         * sysdeps/wordsize-64/iofopen.c: File removed.
58374         * sysdeps/wordsize-64/iofopen64.c: File removed.
58376 2012-08-01  Marek Polacek  <polacek@redhat.com>
58378         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58379         Use dlfcn directly instead of a variable.
58380         (binfmt-subdir): Do not define.
58381         (dlfcn): Likewise.
58383 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58386         Remove all definitions.
58387         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58388         <kernel-features.h>.
58389         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58390         (miss_F_GETOWN_EX): Remove all definitions.
58391         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58392         macro definition.
58393         [!__ASSUME_FCNTL64]: Remove conditional code.
58394         [__ASSUME_FCNTL64]: Make code unconditional.
58395         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58396         <kernel-features.h>.
58397         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58398         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58399         (lockf64) [__NR_fcntl64]: Make code unconditional.
58400         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58402         * sysdeps/unix/sysv/linux/kernel-features.h
58403         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58404         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58405         Make code unconditional.
58406         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58407         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58409         [__NR_vfork]: Make code unconditional.
58410         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58411         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58413         [__NR_vfork]: Make code unconditional.
58414         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58415         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58417 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58419         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58420         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58422         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58423         Define mkstemp64 as an alias.
58424         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58425         Define mkstemps64 as an alias.
58426         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58427         Define mkostemp64 as an alias.
58428         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58429         Define mkostemps64 as an alias.
58430         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58431         Conditionalize body on this.
58432         * misc/mkostemp64.c: Likewise.
58433         * misc/mkostemps64.c: Likewise.
58434         * misc/mkstemps64.c: Likewise.
58435         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58436         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58437         * sysdeps/wordsize-64/mkostemp.c: File removed.
58438         * sysdeps/wordsize-64/mkstemp.c: File removed.
58439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58440         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58441         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58442         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58444         [BZ #14138]
58445         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58446         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58447         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58448         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58450         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58451         compat_symbol macros from <shlib-compat.h> rather than the underlying
58452         default_symbol_version and symbol_version macros, so that DEFAULT
58453         lines in shlib-versions are respected.
58454         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58456 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58458         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58459         Declare with warn_unused_result.
58460         (setgid, setregid, setegid, setresgid): Likewise.
58461         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58462         Likewise.
58463         * WUR-REPORT: Remove set*id functions.
58465 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58467         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58469 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58471         [BZ #10191]
58472         * include/sys/socket.h (__libc_accept, __libc_accept4):
58473         Add attribute_hidden.
58474         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58476         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58477         use of PTR_MANGLE.
58478         * inet/getnetgrent_r.c (setup): Likewise.
58480         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58482 2012-07-31  David S. Miller  <davem@davemloft.net>
58484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58486 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58488         [BZ #13629]
58489         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58490         value between 1.0 and 2.0 and smaller part has absolute value less
58491         than 1.0.
58492         * math/s_clog10.c (__clog10): Likewise.
58493         * math/s_clog10f.c (__clog10f): Likewise.
58494         * math/s_clog10l.c (__clog10l): Likewise.
58495         * math/s_clogf.c (__clogf): Likewise.
58496         * math/s_clogl.c (__clogl): Likewise.
58497         * math/libm-test.inc (clog_test): Add more tests.
58498         (clog10_test): Likewise.
58499         * sysdeps/i386/fpu/libm-test-ulps: Update.
58500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58502 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58504         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58505         Exit with zero in case no suitable GID is found, and write a
58506         message to standard error.
58508 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58510         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58511         rather than to 1.
58512         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58513         (MAXPATHLEN): Removed.
58514         (NOGROUP, NODEV): New macros.
58515         (setbit, clrbit, isset, isclr): New macros.
58516         (howmany, roundup, powerof2): New macros.
58517         (DEV_BSIZE): New macro.
58519         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58520         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58522         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58523         definition on [!__NO_LONG_DOUBLE_MATH].
58525         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58526         PTR_MANGLE and PTR_DEMANGLE.
58528         * socket/accept4.c (accept4): Rename to __libc_accept4.
58529         Define accept4 as a weak alias.
58531         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58532         on [_DIRENT_HAVE_D_TYPE].
58533         * io/ftw.c (ftw_dir): Likewise.
58535         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58537         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58539         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58540         Use the BSD numbers rather than the arbitrary ones we had.
58541         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58542         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58543         (SIGXCPU, SIGXFSZ): New macros.
58544         (_NSIG): Now 32.
58546         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58547         initializer on [_LIBC_REENTRANT].
58549         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58550         definitions inside [_POSIX_MAPPED_FILES].
58552         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58554         * dirent/opendir.c: Include <fcntl.h>.
58556         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58557         (__libc_getspecific): Likewise.
58558         (__libc_key_create): Likewise.
58560         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58561         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58562         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58563         (tmpfile64): Define as alias.
58564         * sysdeps/wordsize-64/tmpfile.c: File removed.
58565         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58566         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58567         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58569         * stdio-common/vfscanf.c: Include <stdbool.h>.
58570         * nss/makedb.c: Likewise.
58571         * stdio-common/_i18n_number.h: Likewise.
58572         * argp/argp-help.c: Likewise.
58573         * posix/wordexp.c: Likewise.
58574         * sysdeps/posix/spawni.c: Likewise.
58575         * nss/nss_files/files-initgroups.c: Likewise.
58576         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58577         * nss/nss_files/files-initgroups.c: Likewise.
58578         * nss/nss_db/db-netgrp.c: Likewise.
58579         * nss/nss_db/db-initgroups.c: Likewise.
58580         * io/fchmodat.c: Include <sys/stat.h>.
58582         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58583         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58585         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58586         [HAVE_MMAP].
58588         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58589         Add multiple inclusion protection.
58591 2012-07-27  David S. Miller  <davem@davemloft.net>
58593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58595 2012-07-27  Gary Benson  <gbenson@redhat.com>
58597         [BZ #14298]
58598         * elf/rtld.c: Include <stap-probe.h>.
58599         (dl_main): Added static probes "init_start" and "init_complete".
58600         * elf/dl-load.c: Include <stap-probe.h>.
58601         (lose): Take new parameter "nsid".
58602         Added static probe "map_failed".
58603         (_dl_map_object_from_fd): Pass namespace id to lose.
58604         Added static probe "map_start".
58605         (open_verify): Pass namespace id to lose.
58606         * elf/dl-open.c: Include <stap-probe.h>.
58607         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58608         and "reloc_complete".
58609         * elf/dl-close.c: Include <stap-probe.h>.
58610         (_dl_close_worker): Added static probes "unmap_start" and
58611         "unmap_complete".
58612         * elf/rtld-debugger-interface.txt: New file documenting the above.
58614 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58616         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58617         rather than a string variable.
58618         * sunrpc/rpc_main.c (h_output): Likewise.
58619         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58621 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58623         * inet/check_native.c: New file.
58625 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58627         [BZ #13629]
58628         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58629         if larger part has absolute value 1.0.
58630         * math/s_clog10.c (__clog10): Likewise.
58631         * math/s_clog10f.c (__clog10f): Likewise.
58632         * math/s_clog10l.c (__clog10l): Likewise.
58633         * math/s_clogf.c (__clogf): Likewise.
58634         * math/s_clogl.c (__clogl): Likewise.
58635         * math/libm-test.inc (clog_test): Add more tests.
58636         (clog10_test): Likewise.
58637         * sysdeps/i386/fpu/libm-test-ulps: Update.
58638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58640         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58641         (pltexit): Likewise.
58642         (La_regs): Likewise.
58643         (La_retval): Likewise.
58644         (int_retval): Likewise.
58645         Update #error for removed macros to refer only to definitions in
58646         tst-audit.h.
58647         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58648         macro.
58649         (pltexit): Likewise.
58650         (La_regs): Likewise.
58651         (La_retval): Likewise.
58652         (int_retval): Likewise.
58653         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58654         macro.
58655         (pltexit): Likewise.
58656         (La_regs): Likewise.
58657         (La_retval): Likewise.
58658         (int_retval): Likewise.
58659         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58660         macro.
58661         (pltexit): Likewise.
58662         (La_regs): Likewise.
58663         (La_retval): Likewise.
58664         (int_retval): Likewise.
58665         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58666         macro.
58667         (pltexit): Likewise.
58668         (La_regs): Likewise.
58669         (La_retval): Likewise.
58670         (int_retval): Likewise.
58671         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58672         macro.
58673         (pltexit): Likewise.
58674         (La_regs): Likewise.
58675         (La_retval): Likewise.
58676         (int_retval): Likewise.
58677         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58678         macro.
58679         (pltexit): Likewise.
58680         (La_regs): Likewise.
58681         (La_retval): Likewise.
58682         (int_retval): Likewise.
58683         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58684         macro definitions in tst-audit.h.
58685         * sysdeps/i386/tst-audit.h: New file.
58686         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58687         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58688         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58689         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58690         * sysdeps/sh/tst-audit.h: Likewise.
58691         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58692         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58693         * sysdeps/x86_64/tst-audit.h: Likewise.
58695 2012-07-26  Andreas Jaeger  <aj@suse.de>
58697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58698         ptrace.
58700         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58701         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58702         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58703         PTRACE_O_MASK.
58704         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58705         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58706         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58708         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58709         value.
58711         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58712         _sigsys.
58713         (si_call_addr, si_syscall, si_arch): Define new macro.
58714         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58715         _sigsys.
58716         (si_call_addr, si_syscall, si_arch): Define new marcro.
58717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58718         _sigsys.
58719         (si_call_addr, si_syscall, si_arch): Define new macro.
58720         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58721         _sigsys.
58722         (si_call_addr, si_syscall, si_arch): Define new macro.
58724 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58726         [BZ #13717]
58727         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58728         Change to 2.4.21 where previously 2.4.1.
58729         * sysdeps/unix/sysv/linux/configure: Regenerated.
58730         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58731         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58732         Linux kernel version.
58733         (__ASSUME_STD_AUXV): Remove.
58734         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58735         kernel version.
58736         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58737         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58738         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58739         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58740         (__ASSUME_NETLINK_SUPPORT): Likewise.
58741         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58742         (__no_netlink_support): Remove conditional definition.
58743         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58744         Remove.
58745         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58746         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58747         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58748         (if_nameindex_ioctl): Remove.
58749         (if_nameindex_netlink): Do not handle __no_netlink_support.
58750         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58751         code.
58752         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58753         Remove conditional code.
58754         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58755         code.
58756         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58757         unconditional.
58758         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58759         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58760         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58761         Remove.
58762         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58763         [!__ASSUME_STD_AUXV]: Remove conditional code.
58764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58765         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58766         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58768         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58769         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58770         code.
58771         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58773         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58774         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58775         conditional code.
58776         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58778         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58779         code.
58780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58781         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58782         conditional code.
58783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58784         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58785         code unconditional.
58786         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58787         conditional code.
58788         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58789         unconditional.
58790         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58791         conditional code.
58792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58793         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58794         unconditional.
58795         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58796         conditional code.
58797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58798         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58799         code unconditional.
58800         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58801         conditional code.
58802         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58803         unconditional.
58804         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58805         conditional code.
58806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58807         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58808         code unconditional.
58809         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58810         conditional code.
58811         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58812         unconditional.
58813         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58814         conditional code.
58816 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58818         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58819         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58820         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58821         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58822         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58823         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58824         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58825         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58826         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58827         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58828         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58829         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58830         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58831         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58832         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58833         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58834         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58835         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58836         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58838         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58839         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58840         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58842 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58844         * Versions.def: Add GLIBC_2.17.
58845         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58846         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58847         Introduce __libc_secure_getenv.
58848         * stdlib/Versions (2.17): Add secure_getenv
58849         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58850         * stdlib/secure-getenv.c: Rename __secure_getenv to
58851         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58852         symbol __secure_getenv for GLIBC_2.0.
58853         * stdlib/tst-secure-getenv.c: New.
58854         * stdlib/Makefile (tests): Add testcase.
58855         * manual/startup.texi (Environment Access): Document
58856         secure_getenv.
58857         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58858         __libc_secure_getenv.
58859         * inet/ruserpass.c (ruserpass): Likewise.
58860         * malloc/mtrace.c (mtrace): Likewise.
58861         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58862         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58863         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58864         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58865         HAVE_SECURE_GETENV.
58866         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58867         __secure_getenv to __libc_secure_getenv.
58868         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58870         Likewise.
58871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58872         Likewise.
58873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58881 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58883         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58884         (struct La_i86_retval): Likewise.
58885         (struct La_x86_64_regs): Likewise.
58886         (struct La_x86_64_retval): Likewise.
58887         (struct La_x32_regs): Likewise.
58888         (struct La_x32_retval): Likewise.
58889         (struct La_ppc32_regs): Likewise.
58890         (struct La_ppc32_retval): Likewise.
58891         (struct La_ppc64_regs): Likewise.
58892         (struct La_ppc64_retval): Likewise.
58893         (struct La_sh_regs): Likewise.
58894         (struct La_sh_retval): Likewise.
58895         (struct La_s390_32_regs): Likewise.
58896         (struct La_s390_32_retval): Likewise.
58897         (struct La_s390_64_regs): Likewise.
58898         (struct La_s390_64_retval): Likewise.
58899         (struct La_sparc32_regs): Likewise.
58900         (struct La_sparc32_retval): Likewise.
58901         (struct La_sparc64_regs): Likewise.
58902         (struct La_sparc64_retval): Likewise.
58903         (struct audit_ifaces): Remove architecture-specific pltenter and
58904         pltexit members.
58905         * sysdeps/i386/ldsodefs.h: New file.
58906         * sysdeps/powerpc/ldsodefs.h: Likewise.
58907         * sysdeps/s390/ldsodefs.h: Likewise.
58908         * sysdeps/sh/ldsodefs.h: Likewise.
58909         * sysdeps/sparc/ldsodefs.h: Likewise.
58910         * sysdeps/x86_64/ldsodefs.h: Likewise.
58912 2012-07-25  Marek Polacek  <polacek@redhat.com>
58914         [BZ #6808]
58915         * math/libm-test.inc (yn_test): Add another test.
58916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58917         to ERANGE when the result is +-Inf.
58918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58919         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58920         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58921         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58923 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58925         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58926         equal to 0.
58927         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58928         clock_t.
58929         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58931 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58933         * configure.in <sysdeps resolving>: Correct printing
58934         Implies_before.
58935         * configure: Regenerate.
58937 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58939         * math/w_ilogb.c: Include <limits.h>.
58940         * math/w_ilogbl.c: Likewise.
58942 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58944         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58945         va_copy.  Document allowing for unavailable va_copy only as
58946         pre-C99 compatibility.
58947         * manual/string.texi (Copying and Concatenation): Use va_copy
58948         instead of __va_copy in concat example.
58950 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58952         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58953         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58954         it if not null.
58956         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58957         with O_NOLINK passed to __file_name_lookup.
58959         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58960         with O_NOLINK passed to __file_name_lookup.
58962         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58963         negative N or less than NGIDS.
58965         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58966         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58967         enough.  Use memcpy instead of strncpy.
58969 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58971         * elf/Makefile (check-data): Remove.
58972         (localplt.data): New vpath directive.
58973         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58974         instead of $(check-data).
58975         * scripts/data/localplt-generic.data: Move to ...
58976         * sysdeps/generic/localplt.data: ... here.
58977         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58978         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58979         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58981         ... here.
58982         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58984         ... here.
58985         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58987         ... here.
58988         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58990         ... here.
58991         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58993         ... here.
58994         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58996         ... here.
58998 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59000         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59001         PPC32 and PPC64 files.
59002         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59003         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59005 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59007         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59008         __makecontext_ret to ...
59009         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59010         ... here and call exit if uc_link is NULL.  New file.
59011         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59012         __makecontext_ret.S.
59013         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59014         __makecontext_ret to ...
59015         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59016         ... here and call exit if uc_link is NULL.  New file.
59017         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59018         __makecontext_ret.S.
59020 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59022         * elf/elf.h (R_390_IRELATIVE): New definition.
59023         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59024         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59025         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59027         (elf_machine_lazy_rel): Likewise.
59028         * sysdeps/s390/dl-irel.h: New file.
59029         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59030         * sysdeps/s390/s390-64/memset.S: New asm code.
59031         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59032         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59033         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59034         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59035         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59036         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59038         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59039         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59040         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59041         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59042         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59043         * sysdeps/s390/s390-32/memset.S: New asm code.
59044         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59046 2012-07-17  Marek Polacek  <polacek@redhat.com>
59048         [BZ #14349]
59049         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59050         * sysdeps/s390/s390-64/configure.in: Likewise.
59051         * sysdeps/sparc/configure.in: Likewise.
59052         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59053         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59054         * sysdeps/i386/configure.in: Likewise.
59055         * sysdeps/x86_64/configure.in: Likewise.
59056         * sysdeps/sh/configure.in: Likewise.
59057         * sysdeps/s390/s390-32/configure: Regenerated.
59058         * sysdeps/s390/s390-64/configure: Likewise.
59059         * sysdeps/x86_64/configure: Likewise.
59060         * sysdeps/sh/configure: Likewise.
59061         * sysdeps/powerpc/powerpc64/configure: Likewise.
59062         * sysdeps/powerpc/powerpc32/configure: Likewise.
59063         * sysdeps/sparc/configure: Likwise.
59064         * sysdeps/i386/configure: Likewise.
59066         * elf/dl-open.c: Comment fixes.
59068 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59070         * Makefile [CXX] (check-data): Remove.
59071         [CXX] (c++-types.data): New vpath directive.
59072         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59073         vpath.  Do not allow for C++ type data being missing.
59074         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59075         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59076         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59077         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59078         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59079         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59080         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59082         ... here.
59083         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59085         ... here.
59086         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59088         ... here.
59089         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59091         ... here.
59092         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59094         ... here.
59095         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59097         ... here.
59098         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59100         ... here.
59101         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59104         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59105         definitions to architecture-specific files.
59106         (TLS_IE): Likewise.
59107         (TLS_LD): Likewise.
59108         (TLS_GD): Likewise.
59109         * sysdeps/i386/tls-macros.h: New file.
59110         * sysdeps/powerpc/tls-macros.h: Likewise.
59111         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59112         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59113         * sysdeps/sh/tls-macros.h: Likewise.
59114         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59115         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59116         * sysdeps/x86_64/tls-macros.h: Likewise.
59118 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59120         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59121         zero value for regular exit case.
59123         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59124         (__start_context): Preserve zero value for regular exit case.
59126 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59127             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59129         * manual/setjmp.texi (setcontext): Clarify normal process
59130         termination when uc_link is the null pointer.
59131         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59132         exit call.
59134 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59136         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59137         preprocessor.  Test for each exception mask separately.
59139 2012-07-16  Andreas Jaeger  <aj@suse.de>
59141         * po/ru.po: Update from translation team.
59143 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59145         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59146         equal to 0.
59147         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59148         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59149         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59150         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59151         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59153 2012-07-13  Andreas Jaeger  <aj@suse.de>
59155         * po/fr.po: Update from translation team.
59157 2012-07-12  Marek Polacek  <polacek@redhat.com>
59159         [BZ #14173]
59160         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59161         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59162         loop condition.
59164 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59166         [BZ #13717]
59167         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59168         Change to 2.4.1 where previously 2.4.0.
59169         * sysdeps/unix/sysv/linux/configure: Regenerated.
59170         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59171         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59172         version.
59173         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59174         (__ASSUME_AT_CLKTCK): Remove.
59175         (__ASSUME_AT_PAGESIZE): Likewise.
59176         (__ASSUME_AT_XID): Likewise.
59177         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59178         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59179         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59180         unconditionally.
59181         (HAVE_AUX_PAGESIZE): Likewise.
59182         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59183         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59184         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59186 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59188         [BZ #14307]
59189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59190         the temporary buffer used to invoke __gethostbyname2_r,
59191         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59192         host_data / struct gaih_addrtuple.
59193         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59194         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59195         header file nss/nsswitch.h.
59196         * nss/nsswitch.h (global scope): Add definition of implementation
59197         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59198         resolv/nss_dns/dns-host.c).
59200 2012-07-11  Andreas Jaeger  <aj@suse.de>
59202         * po/fr.po: Update from translation team.
59204         * po/sv.po: Update from translation team
59205         * po/fr.po: Another update from translation team.
59207 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59209         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59210         for subnormals or multiply small sinh result by itself.
59211         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59214 2012-07-11  David S. Miller  <davem@davemloft.net>
59216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59218 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59220         [BZ #14347]
59221         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59222         (INTERNAL_MARK): Shift it here.
59224 2012-07-10  Marek Polacek  <polacek@redhat.com>
59226         [BZ #14151]
59227         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59228         libc_cv_asm_global_directive with .globl.
59229         * configure: Regenerated.
59230         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59231         with .globl.
59232         * sysdeps/i386/configure: Regenerated.
59233         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59234         with .globl.
59235         * sysdeps/x86_64/configure: Regenerated.
59236         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59237         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59238         * elf/tst-unique2mod2.c: Likewise.
59239         * elf/tst-unique2mod1.c: Likewise.
59240         * elf/tst-unique1mod2.c: Likewise.
59241         * elf/tst-unique1mod1.c: Likewise.
59242         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59243         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59244         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59245         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59246         * sysdeps/mach/sysdep.h: Likewise.
59247         * sysdeps/i386/sysdep.h: Likewise.
59248         * sysdeps/i386/i386-mcount.S: Likewise.
59249         * sysdeps/x86_64/_mcount.S: Likewise.
59250         * sysdeps/x86_64/sysdep.h: Likewise.
59251         * sysdeps/sh/_mcount.S: Likewise.
59252         * sysdeps/sh/sysdep.h: Likewise.
59253         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59254         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59255         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59256         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59257         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59258         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59259         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59260         * locale/localeinfo.h: Likewise.
59261         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59262         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59264 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59266         [BZ #14336]
59267         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59268         system".
59269         * manual/message.texi (The Uniforum approach): Likewise.
59270         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59271         (glibc iconv Implementation): Likewise.
59273 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59275         [BZ #14337]
59276         * math/s_clog.c (__clog): Avoid scaling a value down where that
59277         could result in underflow.
59278         * math/s_clog10.c (__clog10): Likewise.
59279         * math/s_clog10f.c (__clog10f): Likewise.
59280         * math/s_clog10l.c (__clog10l): Likewise.
59281         * math/s_clogf.c (__clogf): Likewise.
59282         * math/s_clogl.c (__clogl): Likewise.
59283         * math/libm-test.inc (clog_test): Add more tests.
59284         (clog10_test): Likewise.
59285         * sysdeps/i386/fpu/libm-test-ulps: Update.
59286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59288 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59290         [BZ #14283]
59291         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59292         by 7 not 8 to examine high bit of fractional part.
59294         [BZ #14042]
59295         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59296         for call to __mcount_internal.
59297         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59298         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59299         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59301 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59303         [BZ #14154]
59304         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59305         approximation for values within 0x1p-13f of an odd multiple of
59306         pi/4.
59307         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59308         exception.  Add more tests.
59309         * sysdeps/i386/fpu/libm-test-ulps: Update.
59311         [BZ #6778]
59312         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59313         inputs and return -1 for them.  Do not check for +Inf in case not
59314         reachable for +Inf.
59315         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59316         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59317         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59318         and return -1 for them.  Do not check for +Inf in case not
59319         reachable for +Inf.
59320         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59321         define.
59322         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59323         and return -1 for them.  Do not check for +Inf in case not
59324         reachable for +Inf.
59325         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59326         spurious underflow.
59327         * sysdeps/i386/fpu/libm-test-ulps: Update.
59328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59330 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59332         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59334 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59336         [BZ #14157]
59337         [BZ #14331]
59338         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59339         could result in spurious underflow.  Scale down values above
59340         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59341         * math/s_csqrtf.c (__csqrtf): Likewise.
59342         * math/s_csqrtl.c (__csqrtl): Likewise.
59343         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59344         spurious underflow.
59345         * sysdeps/i386/fpu/libm-test-ulps: Update.
59346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59348 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59350         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59351         xopen-msg.sed.
59352         * catgets/xopen-msg.awk: New file.
59353         * catgets/xopen-msg.sed: Removed.
59355         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59356         po2text.sed.
59357         * intl/po2test.awk: New file.
59358         * intl/po2test.sed: Removed.
59360 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59362         [BZ #14328]
59363         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59364         or multiply small sinh result by itself.
59365         * math/s_ctanf.c (__ctanf): Likewise.
59366         * math/s_ctanh.c (__ctanh): Likewise.
59367         * math/s_ctanhf.c (__ctanhf): Likewise.
59368         * math/s_ctanhl.c (__ctanhl): Likewise.
59369         * math/s_ctanl.c (__ctanl): Likewise.
59370         * math/libm-test.inc (ctan_test_tonearest): New function.
59371         (ctan_test_towardzero): Likewise.
59372         (ctan_test_downward): Likewise.
59373         (ctan_test_upward): Likewise.
59374         (ctanh_test_tonearest): Likewise.
59375         (ctanh_test_towardzero): Likewise.
59376         (ctanh_test_downward): Likewise.
59377         (ctanh_test_upward): Likewise.
59378         (main): Call these new functions.
59379         * sysdeps/i386/fpu/libm-test-ulps: Update.
59380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59382 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59384         * .gitignore: Delete /ports entry.
59386 2012-07-03  Andreas Jaeger  <aj@suse.de>
59388         * po/bg.po: Update from translation team.
59389         * po/cs.po: Likewise.
59390         * po/de.po: Likewise.
59391         * po/hr.po: Likewise.
59392         * po/nl.pl: Likewise.
59393         * po/pl.po: Likewise.
59394         * po/vi.po: Likewise.
59396 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59398         * Makeconfig [!+link] (+link-before-libc): New variable.
59399         [!+link] (+link-after-libc): Likewise.
59400         [!+link] (+link-tests): Likewise.
59401         [!+link] (+link): Define in terms of $(+link-before-libc) and
59402         $(+link-after-libc).
59403         [!+link-static] (+link-static-before-libc): New variable.
59404         [!+link-static] (+link-static-after-libc): Likewise.
59405         [!+link-static] (+link-static-tests): Likewise.
59406         [!+link-static] (+link-static): Define in terms of
59407         $(+link-static-before-libc) and $(+link-static-after-libc).
59408         [build-shared] (link-libc-before-gnulib): New variable.
59409         [build-shared] (link-libc-tests): Likewise.
59410         [build-shared] (link-libc): Define in terms of
59411         $(link-libc-before-gnulib).
59412         [!build-shared] (link-libc-tests): New variable.
59413         (link-libc-static-tests): New variable.
59414         [!gnulib] (gnulib-arch): New variable.
59415         [!gnulib] (gnulib-tests): Likewise.
59416         [!gnulib] (static-gnulib-arch): Likewise.
59417         [!gnulib] (static-gnulib-tests): Likewise.
59418         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59419         Define with "=" instead of ":=".
59420         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59421         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59422         * Rules (binaries-all-notests): New variable.
59423         (binaries-all-tests): Likewise.
59424         (binaries-static-notests): Likewise.
59425         (binaries-static-tests): Likewise.
59426         (binaries-all): Define using $(binaries-all-notests) and
59427         $(binaries-all-tests).
59428         (binaries-static): Define using $(binaries-static-notests) and
59429         $(binaries-static-tests).
59430         (binaries-shared-tests): New variable.
59431         (binaries-shared-notests): Likewise.
59432         (binaries-shared): Remove variable.
59433         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59434         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59435         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59436         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59437         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59438         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59439         * elf/Makefile (sln-modules): New variable.
59440         (extra-objs): Add $(sln-modules:=.o).
59441         (ldconfig-modules): Add static-stubs.
59442         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59443         * elf/static-stubs.c: New file.
59445         [BZ #14283]
59446         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59447         by 7 not 8 to examine high bit of fractional part.  Use volatile
59448         variables when splitting into final array of floats if
59449         __FLT_EVAL_METHOD__ != 0.
59450         * math/libm-test.inc (cos_test): Add another test.
59451         (sin_test): Likewise.
59452         * sysdeps/i386/fpu/libm-test-ulps: Update.
59454         [BZ #14273]
59455         * math/libm-test.inc (cosh_test): Add more tests.
59457         * version.h (RELEASE): Set to "development".
59458         (VERSION): Set to "2.16.90".
59460 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59462         * NEWS: Update copyright. Remove last-updated date.
59463         Mention math library bug fixes and timezone data changes.
59464         * README: Mention GNU/Hurd, x32, and HPPA support status.
59466 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59468         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59470 2012-06-27  Andreas Jaeger  <aj@suse.de>
59472         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59474 2012-06-25  Andreas Jaeger  <aj@suse.de>
59476         * sysdeps/s390/fpu/libm-test-ulps: Update.
59478 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59479             Thomas Schwinge  <thomas@codesourcery.com>
59481         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59482         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59483         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59484         fanotify_mark.
59486 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59488         * sysdeps/mach/start.c: Remove file.
59489         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59490         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59491         * sysdeps/sh/init-first.c: Likewise.
59493         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59494         registers for frame unwinding purposes, add CFI directives.
59495         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59496         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59497         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59498         Likewise.
59500         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59501         __fortify_fail returning.
59502         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59504         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59505         sysdeps/sh/____longjmp_chk.S.
59506         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59507         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59508         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59509         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59511         * sysdeps/sh/abort-instr.h: New file.
59512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59513         process in case exit returns.
59515         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59516         initialize the GOT register before use.
59518         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59519         calculation of ARGC > 4.
59521         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59522         meaningful names to some local labels.
59524 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59525             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59527         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59528         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59529         (__arch_compare_and_exchange_val_16_acq): Likewise.
59530         (__arch_compare_and_exchange_val_32_acq): Likewise.
59531         (atomic_exchange_and_add): Fix gUSA sequence.
59532         (atomic_add): Likewise.
59533         (atomic_add_negative): Likewise.
59534         (atomic_add_zero): Likewise.
59535         (atomic_bit_test_set): Likewise.
59537 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59539         [BZ #13579]
59540         * include/link.h (struct link_map): Add l_free_initfini.
59541         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59542         l_initfini.
59543         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59544         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59545         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59546         set.
59548 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59550         * configure.in: Use AC_LANG_SOURCE.
59551         * configure: Regenerate.
59553 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59555         * configure.in (libc_cv_localstatedir): New substituted variable.
59556         * configure: Regenerated.
59557         * config.make.in (localstatedir): New variable, substituted from
59558         libc_cv_localstatedir.
59559         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59560         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59561         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59562         * sysdeps/gnu/configure: Regenerated.
59564 2012-06-21  Jeff Law  <law@redhat.com>
59566         [BZ #14277]
59567         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59568         free.  Simplify list management for _LIBC case.
59570 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59572         [BZ #14273]
59573         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59574         Clear sign bit of 64-bit integer value before comparing against
59575         overflow value.
59577         * sysdeps/mach/configure: Regenerated.
59579 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59581         [BZ #14278]
59582         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59584 2012-06-21  Jeff Law  <law@redhat.com>
59586         [BZ #13882]
59587         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59588         uint16_t for elements in the "seen" array to avoid char overflows.
59589         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59590         * elf/dl-open.c (dl_open_worker): Likewise.
59592 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59594         * scripts/list-sources.sh: Scan PORTS for translations.
59595         * po/libc.pot: Regenerated.
59597 2012-06-21  Andreas Jaeger  <aj@suse.de>
59599         [BZ #12194]
59600         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59601         warning.
59602         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59603         * bits/byteswap-16.h (__bswap_16): Likewise.
59604         * bits/byteswap.h (__bswap_constant_16): Likewise.
59606 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59608         [BZ #14117]
59609         * sysdeps/i386/fpu_control.h: Removed.
59610         * sysdeps/x86_64/fpu_control.h: Moved to ...
59611         * sysdeps/x86/fpu_control.h: Here.
59613         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59614         (_FPU_SETCW): Likewise.
59616 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59618         [BZ #14117]
59619         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59620         * sysdeps/x86/fpu/bits/mathinline.h: This.
59621         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59623         [BZ #14050]
59624         [BZ #14117]
59625         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59626         functions if __x86_64__ is defined.
59628 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59630         * string/endian.h: Add !__ASSEMBLER__ condition for including
59631         conversion interfaces.
59633 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59635         [BZ #14241]
59636         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59637         of ABS(x) in calculating zero to negative powers other than odd
59638         integers.
59639         * math/libm-test.inc (pow_test): Add more tests.
59641 2012-06-15  Andreas Jaeger  <aj@suse.de>
59643         * manual/contrib.texi (Contributors): Update entry of Liubov
59644         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59645         Machado Filho.
59647 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59649         * string/string.h: Add __wur to GNU version of strerror_r.
59651 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59653         [BZ #14229]
59654         * string/Makefile (tests): Add tst-strtok_r.
59655         * string/tst-strtok_r.c: New file.
59656         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59657         RAX_LP/RDX_LP on SAVE_PTR.
59659 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59661         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59663 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59665         * libm_test.inc (csqrt_test): Allow more spurious underflow
59666         exceptions.
59667         (j0_test): Likewise.
59668         (j1_test): Likewise.
59669         (y0_test): Likewise.
59670         (y1_test): Likewise.
59672 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59674         * po/Makefile (libc.pot): Use UTF-8 charset.
59676 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59678         [BZ #14210]
59679         Suppress sign-conversion warning from FD_SET.
59680         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59681         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59682         not unsigned long int.
59683         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59685 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59687         [BZ #14050]
59688         [BZ #14117]
59689         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59690         __extern_always_inline instead of __extern_inline.
59691         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59692         (__signbit): Likewise.
59693         (__signbitl): Support C++ namespace.
59694         (lrintf): New inline function.
59695         (lrint): Likewise.
59696         (llrintf): Likewise.
59697         (llrint): Likewise.
59698         (fmaxf): Likewise.
59699         (fmax): Likewise.
59700         (fminf): Likewise.
59701         (fmin): Likewise.
59702         (rint): Likewise.
59703         (rintf): Likewise.
59704         (ceil): Likewise.
59705         (ceilf): Likewise.
59706         (floor): Likewise.
59707         (floorf): Likewise.
59708         (nearbyint): Likewise.
59709         (nearbyintf): Likewise.
59711 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59713         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59714         non-default versions.
59716 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59718         [BZ #14218]
59719         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59721 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59723         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59724         (FE_UPWARD, FE_DOWNWARD): Don't define.
59725         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59726         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59728         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59729         reading it.
59730         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59731         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59733 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59735         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59736         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59737         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59738         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59740 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59742         [BZ #14117]
59743         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59744         * sysdeps/i386/fpu/Implies: New file.
59745         * sysdeps/x86_64/fpu/Implies: Likewise.
59746         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59747         * sysdeps/x86/fpu/bits/fenv.h: This.
59749         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59750         __SSE_MATH__.
59752 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59754         [BZ #14134]
59755         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59756         character 0xffff that matches the last element of the
59757         conversion table.
59759 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59762         fmodl commit.
59764 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59766         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59767         values higher than 25.6283.
59769 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59771         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59772         subnormal exponent extraction and add some __builtin_expect.
59773         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59774         Fix for subnormal mantissa calculation.
59776 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59778         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59779         cpu2 is -1 and errno is not ENOSYS.
59781 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59783         [BZ #14117]
59784         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59785         * sysdeps/x86/bits/string.h: This.
59786         * sysdeps/x86_64/bits/string.h: Removed.
59788         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59789         if not compiling for x86-64, but compiling for >= i486.
59791         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59792         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59794         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59795         New macro from Linux kernel 3.4.0.
59796         (FP_XSTATE_MAGIC2): Likewise.
59797         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59798         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59799         (struct _fpx_sw_bytes): New struct.
59800         (struct _xsave_hdr): Likewise.
59801         (struct _ymmh_state): Likewise.
59802         (struct _xstate): Likewise.
59804         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59805         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59806         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59807         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59808         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59809         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59811         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59812         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59813         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59814         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59815         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59816         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59818 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59820         [BZ #13743]
59821         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59822         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59823         (sysdep_headers): Include sys/platform/ppc.h.
59824         * sysdeps/powerpc/test-gettimebase.c: Test for
59825         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59826         * manual/Makefile (appendices): Include platform.texi.
59827         * manual/contrib.texi (Contributors): Update @node pointers.
59828         * manual/maint.texi (Maintenance): Likewise.
59829         (Platform): New node.
59830         * manual/platform.texi: New file.  Document the new features.
59832 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59833             Jakub Jelinek  <jakub@redhat.com>
59835         [BZ #14188]
59836         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59837         where __builtin_expect is unavailable.
59839 2012-06-03  David S. Miller  <davem@davemloft.net>
59841         * stdlib/longlong.h: Updated from GCC.
59843 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59845         [BZ #14042]
59846         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59847         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59848         __mcount_internal.
59849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59850         (GLIBC_2.16): Likewise.
59852 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59854         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59856 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59859         (default-abi): New variable.
59860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59861         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59862         variable.
59863         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59864         Likewise.
59865         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59866         Likewise.
59867         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59868         Likewise.
59870         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59871         definition.  Document in comment.
59873 2012-06-01  David S. Miller  <davem@davemloft.net>
59875         * stdlib/longlong.h: Updated from GCC.
59877 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59879         [BZ #14117]
59880         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59881         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59882         sys/debugreg.h sys/io.h here.
59883         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59884         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59885         sys/io.h.
59886         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59887         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59888         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59889         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59890         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59891         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59893         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59894         Define only if __x86_64__ is defined.
59896 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59898         [BZ #14048]
59899         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59900         Use int64_t for variable i.
59901         * math/libm-test.inc (fmod_test): Add more tests.
59903         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59904         z computation is not scheduled after fetestexcept.
59905         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59906         Use math_force_eval instead of asm to ensure calculation scheduled
59907         before exception test.
59908         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59909         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59911 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59914         computation is not scheduled after fetestexcept.
59916 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59918         [BZ #14117]
59919         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59920         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59922 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59924         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59925         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59927 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59929         [BZ #14117]
59930         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59931         <bits/wordsize.h>.
59932         (__WCHAR_MIN): Support __WORDSIZE == 64.
59933         (__WCHAR_MAX): Likewise.
59935         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59936         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59938         [BZ #14183]
59939         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59940         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59942         [BZ #14117]
59943         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59944         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59946         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59947         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59949         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59950         Defined to 1 if __x86_64__ isn't defined.
59951         (_STAT_VER_LINUX_OLD): New.
59952         (st_atime): Remove duplicate.
59953         (st_mtime): Likewise.
59954         (st_ctime): Likewise.
59956 2012-05-31  David S. Miller  <davem@davemloft.net>
59958         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59959         entries.
59961 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59963         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59964         gen-libm-test.pl.
59966         [BZ #14132]
59967         * elf/dl-reloc.c: Include <_itoa.h>.
59968         (_dl_reloc_bad_type): Remove use of INTUSE.
59969         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59970         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59971         * stdio-common/psiginfo.c (psiginfo): Likewise.
59972         * stdio-common/psignal.c (psignal): Likewise.
59973         * string/strsignal.c (strsignal): Likewise.
59974         * include/signal.h (_sys_siglist): Declare hidden proto.
59975         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59976         INTVARDEF with libc_hidden_data_def.
59977         * stdio-common/itoa-udigits.c: Likewise.
59978         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59979         (_itoa_lower_digits_internal): Remove declaration.
59980         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59981         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59982         (_sys_sigabbrev_internal): Remove aliases.
59983         (_sys_siglist): Define hidden alias.
59985 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59988         bits/sysctl.h.
59990 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59992         [BZ #14117]
59993         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59994         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59996         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59997         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59998         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59999         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60000         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60001         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60003         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60004         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60005         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60007         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60008         with __addr.
60009         (insw): Likewise.
60010         (insl): Likewise.
60011         (outsb): Likewise.
60012         (outsw): Likewise.
60013         (outsl): Likewise.
60015         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60016         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60017         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60019         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60020         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60021         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60022         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60023         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60024         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60026         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60027         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60029         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60030         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60032         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60033         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60034         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60036         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60037         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60038         to ...
60039         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60041         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60042         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60043         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60045         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60046         for x86-64.
60047         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60049 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60051         * math/math.h (M_El): Use two more decimal places.
60052         (M_LOG2El): Likewise.
60053         (M_LOG10El): Likewise.
60054         (M_LN2l): Likewise.
60055         (M_LN10l): Likewise.
60056         (M_PIl): Likewise.
60057         (M_PI_2l): Likewise.
60058         (M_PI_4l): Likewise.
60059         (M_1_PIl): Likewise.
60060         (M_2_PIl): Likewise.
60061         (M_2_SQRTPIl): Likewise.
60062         (M_SQRT2l): Likewise.
60063         (M_SQRT1_2l): Likewise.
60065 2012-05-31  David S. Miller  <davem@davemloft.net>
60067         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60068         values between float registers.
60069         * sysdeps/sparc/sparc64/memset.S: Likewise.
60070         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60072 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60074         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60075         -D_FORTIFY_SOURCE=1.
60076         (CPPFLAGS-tst-longjmp_chk.c): Define.
60077         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60078         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60079         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60080         CFLAGS-tst-wchar-h.c.
60082 2012-05-31  Marek Polacek  <polacek@redhat.com>
60084         [BZ #14132]
60085         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60086         __endmntent_internal): Remove declaration.
60087         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60088         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60089         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60091 2012-05-30  David S. Miller  <davem@davemloft.net>
60093         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60094         (___Q_simulate_exceptions): Use real FP ops rather than writing
60095         into the %fsr.
60096         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60097         Likewise.
60099 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60101         [BZ #14117]
60102         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60103         * sysdeps/x86/bits/xtitypes.h: This.
60105         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60106         * sysdeps/x86/bits/wordsize.h: This.
60108         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60109         * sysdeps/x86/bits/huge_vall.h: This.
60111         * sysdeps/i386/bits/select.h: Removed.
60112         * sysdeps/x86_64/bits/select.h: Renamed to ...
60113         * sysdeps/x86/bits/select.h: This.
60115         * sysdeps/i386/bits/setjmp.h: Removed.
60116         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60117         * sysdeps/x86/bits/setjmp.h: This.
60119         * sysdeps/i386/bits/mathdef.h: Removed.
60120         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60121         * sysdeps/x86/bits/mathdef.h: This.
60123 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60125         [BZ #14132]
60126         * include/sys/socket.h (__connect_internal)
60127         (__libc_sa_len_internal): Remove declaration.
60128         (__connect, __libc_sa_len): Declare hidden_proto.
60129         (SA_LEN): Remove use of INTUSE.
60130         * socket/connect.c: Add libc_hidden_def.
60131         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60132         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60133         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60134         alias.
60135         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60136         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60137         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60138         of adding _internal alias.
60140 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60142         [BZ #14117]
60143         * sysdeps/i386/bits/link.h: Removed.
60144         * sysdeps/i386/bits/linkmap.h: Likewise.
60145         * sysdeps/x86_64/bits/link.h: Renamed to ...
60146         * sysdeps/x86/bits/link.h: This.
60147         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60148         * sysdeps/x86/bits/linkmap.h: This.
60150         * sysdeps/i386/bits/endian.h: Removed.
60151         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60152         * sysdeps/x86/bits/endian.h: This.
60154         * sysdeps/i386/bits/byteswap.h: Removed.
60155         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60156         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60157         * sysdeps/x86/bits/byteswap.h: This.
60158         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60159         * sysdeps/x86/bits/byteswap-16.h: This.
60160         * sysdeps/i386/Implies: Add x86.
60161         * sysdeps/x86_64/Implies: Likewise.
60163 2012-05-30  David S. Miller  <davem@davemloft.net>
60165         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60166         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60167         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60168         (FP_TRAPPING_EXCEPTIONS): Define.
60169         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60170         (FP_TRAPPING_EXCEPTIONS): Define.
60171         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60172         subnormals only when inexact has been signalled or underflow
60173         exceptions are enabled.
60174         (_FP_PACK_CANONICAL): Likewise.
60176 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60178         [BZ #14183]
60179         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60180         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60182 2012-05-30  Richard Henderson  <rth@twiddle.net>
60184         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60185         with #ifndef NOT_IN_libc.
60187         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60188         marked to avoid plt entry.
60190 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60192         [BZ #14112]
60193         * Makeconfig (default-abi): New macro.
60194         (abi-includes): Likewise.
60195         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60196         $(abi-$(default-abi)-lib-soname) for soname if defined.
60197         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60198         abi-variants.
60199         * Makefile (installed-stubs): Likewise.
60200         * include/stubs-biarch.h: Removed.
60201         * scripts/lib-names.awk: Only handle one library at a time.
60202         * scripts/soversions.awk: Remove WORDSIZE support.
60203         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60204         entries.
60205         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60206         Removed.
60207         (syscall-list-default-condition): Likewise.
60208         (syscall-list-default-condition): Likewise.
60209         (syscall-list-includes): Likewise.
60210         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60211         syscall-list-* with abi-*.  Handle undefined abi-variants.
60212         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60213         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60214         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60215         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60216         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60217         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60218         Removed.
60219         (syscall-list-32-options): Likewise.
60220         (syscall-list-32-condition): Likewise.
60221         (syscall-list-64-options): Likewise.
60222         (syscall-list-64-condition): Likewise.
60223         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60224         macro.
60225         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60226         Renamed to ...
60227         (abi-*): This.
60228         (abi-64-ld-soname): New macro.
60229         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60230         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60231         Renamed to ...
60232         (abi-*): This.
60233         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60234         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60236 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60238         * sysdeps/unix/sysv/linux/kernel-features.h
60239         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60240         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60241         include <kernel-features.h>.
60242         [!__NR_ftruncate64]: Remove conditional code.
60243         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60244         [__NR_ftruncate64]: Make code unconditional.
60245         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60246         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60247         include <kernel-features.h>.
60248         [!__NR_ftruncate64]: Remove conditional code.
60249         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60250         [__NR_ftruncate64]: Make code unconditional.
60251         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60253         include <kernel-features.h>.
60254         [!__NR_ftruncate64]: Remove conditional code.
60255         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60256         [__NR_ftruncate64]: Make code unconditional.
60257         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60259         include <kernel-features.h>.
60260         [!__NR_ftruncate64]: Remove conditional code.
60261         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60262         [__NR_ftruncate64]: Make code unconditional.
60263         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60265         * configure.in (libc_cv_fpie): Weaken to a compile test using
60266         LIBC_TRY_CC_OPTION.
60267         * configure: Regenerated.
60269 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60275         Refreshed.
60276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60282         Refreshed.
60284 2012-05-27  David S. Miller  <davem@davemloft.net>
60286         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60287         (___Q_zero): New.
60288         (__Q_simulate_exceptions): Return void.  Change to simulate
60289         exceptions by writing into the %fsr.
60290         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60291         (__Qp_handle_exceptions): Likewise.
60292         (numbers): Delete.
60293         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60294         __Qp_handle_exceptions.
60295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60296         __Qp_handle_exceptions.
60297         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60298         as unused and give dummy FP_RND_NEAREST initializer.
60299         (FP_INHIBIT_RESULTS): Define.
60300         (___Q_simulate_exceptions): Update declaration.
60301         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60302         formatting.
60303         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60304         as unused and give dummy FP_RND_NEAREST initializer.
60305         (__Qp_handle_exceptions): Update declaration.
60306         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60307         formatting.
60309 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60311         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60312         the temporary FPU control word.
60313         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60314         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60315         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60316         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60317         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60318         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60319         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60320         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60322         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60323         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60325 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60327         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60328         fields.
60330 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60332         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60333         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60334         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60335         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60336         Likewise.
60337         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60338         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60339         Likewise.
60341 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60343         * po/h.po: Update from translation team.
60345 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60347         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60349         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60350         handling of denormals.
60351         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60352         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60353         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60354         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60358         Likewise.
60360 2012-05-26  Marek Polacek  <polacek@redhat.com>
60362         [BZ #14152]
60363         * math/libm-test.inc (fma_test): Don't always expect underflow
60364         exception.
60366 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60368         [BZ #12416]
60369         * elf/tst-execstack.c: Include stackinfo.h.
60370         (do_test): Adjust test case to ensure that pthread_getattr_np
60371         behaviour remains the same after marking stack executable.
60373 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60375         * sysdeps/unix/sysv/linux/kernel-features.h
60376         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60377         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60378         kernel-features.h.
60379         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60380         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60381         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60382         kernel-features.h.
60383         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60384         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60386 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60388         * configure.in: Define the default includes to being none.
60389         * configure: Regenerated.
60391 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60393         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60394         * sysdeps/x86_64/setjmp.S: Likewise.
60395         * sysdeps/i386/bsd-setjmp.S: Likewise.
60396         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60397         * sysdeps/i386/setjmp.S: Likewise.
60398         * sysdeps/i386/__longjmp.S: Likewise.
60399         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60400         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60402         * include/stap-probe.h: New file.
60403         * configure.in: Handle --enable-systemtap.
60404         * configure: Regenerated.
60405         * config.h.in (USE_STAP_PROBE): New #undef.
60406         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60407         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60408         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60410 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60412         [BZ #13717]
60413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60414         to 2.4.0 where earlier.
60415         * sysdeps/unix/sysv/linux/configure: Regenerated.
60416         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60417         <kernel-features.h>.
60418         [__ASSUME_32BITUIDS]: Make code unconditional.
60419         [!__ASSUME_32BITUIDS]: Remove conditional code.
60420         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60421         <kernel-features.h>.
60422         [__ASSUME_32BITUIDS]: Make code unconditional.
60423         [!__ASSUME_32BITUIDS]: Remove conditional code.
60424         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60425         [__ASSUME_32BITUIDS]: Make code unconditional.
60426         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60427         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60428         <kernel-features.h>.
60429         [__ASSUME_32BITUIDS]: Make code unconditional.
60430         [!__ASSUME_32BITUIDS]: Remove conditional code.
60431         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60432         <kernel-features.h>.
60433         [__ASSUME_32BITUIDS]: Make code unconditional.
60434         [!__ASSUME_32BITUIDS]: Remove conditional code.
60435         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60436         <kernel-features.h>.
60437         [__ASSUME_32BITUIDS]: Make code unconditional.
60438         [!__ASSUME_32BITUIDS]: Remove conditional code.
60439         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60440         <kernel-features.h>.
60441         [__ASSUME_32BITUIDS]: Make code unconditional.
60442         [!__ASSUME_32BITUIDS]: Remove conditional code.
60443         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60444         <kernel-features.h>.
60445         [__ASSUME_32BITUIDS]: Make code unconditional.
60446         [!__ASSUME_32BITUIDS]: Remove conditional code.
60447         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60448         <kernel-features.h>.
60449         [__ASSUME_32BITUIDS]: Make code unconditional.
60450         [!__ASSUME_32BITUIDS]: Remove conditional code.
60451         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60452         <kernel-features.h>.
60453         [__ASSUME_32BITUIDS]: Make code unconditional.
60454         [!__ASSUME_32BITUIDS]: Remove conditional code.
60455         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60456         <kernel-features.h>.
60457         [__ASSUME_32BITUIDS]: Make code unconditional.
60458         [!__ASSUME_32BITUIDS]: Remove conditional code.
60459         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60460         <kernel-features.h>.
60461         [__ASSUME_32BITUIDS]: Make code unconditional.
60462         [!__ASSUME_32BITUIDS]: Remove conditional code.
60463         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60464         <kernel-features.h>.
60465         [__ASSUME_32BITUIDS]: Make code unconditional.
60466         [!__ASSUME_32BITUIDS]: Remove conditional code.
60467         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60468         <kernel-features.h>.
60469         [__NR_setresgid] (__setresgid): Do not declare.
60470         [__ASSUME_32BITUIDS]: Make code unconditional.
60471         [!__ASSUME_32BITUIDS]: Remove conditional code.
60472         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60473         <kernel-features.h>.
60474         [__NR_setresuid] (__setresuid): Do not declare.
60475         [__ASSUME_32BITUIDS]: Make code unconditional.
60476         [!__ASSUME_32BITUIDS]: Remove conditional code.
60477         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60478         <kernel-features.h>.
60479         [__ASSUME_32BITUIDS]: Make code unconditional.
60480         [!__ASSUME_32BITUIDS]: Remove conditional code.
60481         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60482         <kernel-features.h>.
60483         [__ASSUME_32BITUIDS]: Make code unconditional.
60484         [!__ASSUME_32BITUIDS]: Remove conditional code.
60485         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60486         <kernel-features.h>.
60487         [__ASSUME_32BITUIDS]: Make code unconditional.
60488         [!__ASSUME_32BITUIDS]: Remove conditional code.
60489         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60490         <kernel-features.h>.
60491         [__ASSUME_32BITUIDS]: Make code unconditional.
60492         [!__ASSUME_32BITUIDS]: Remove conditional code.
60493         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60494         <kernel-features.h>.
60495         [__ASSUME_32BITUIDS]: Make code unconditional.
60496         [!__ASSUME_32BITUIDS]: Remove conditional code.
60497         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60498         <kernel-features.h>.
60499         [__ASSUME_32BITUIDS]: Make code unconditional.
60500         [!__ASSUME_32BITUIDS]: Remove conditional code.
60501         * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
60518         (__ASSUME_SETRESUID_SYSCALL): Remove.
60519         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60520         (__ASSUME_32BITUIDS): Likewise.
60521         (__ASSUME_LDT_WORKS): Likewise.
60522         (__ASSUME_O_DIRECTORY): Likewise.
60523         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60524         architecture but not kernel version.
60525         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60526         (__ASSUME_MMAP2_SYSCALL): Likewise.
60527         (__ASSUME_STAT64_SYSCALL): Likewise.
60528         (__ASSUME_IPC64): Likewise.
60529         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60530         <kernel-features.h>.
60531         [__ASSUME_32BITUIDS]: Make code unconditional.
60532         [!__ASSUME_32BITUIDS]: Remove conditional code.
60533         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60534         <kernel-features.h>.
60535         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60536         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60537         132096]: Remove conditional code.
60538         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60539         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60540         <kernel-features.h>.
60541         [__ASSUME_32BITUIDS]: Make code unconditional.
60542         [!__ASSUME_32BITUIDS]: Remove conditional code.
60543         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60544         <kernel-features.h>.
60545         [__ASSUME_32BITUIDS]: Make code unconditional.
60546         [!__ASSUME_32BITUIDS]: Remove conditional code.
60547         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60548         <kernel-features.h>.
60549         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60550         unconditional.
60551         (__setresgid): Do not declare.
60552         [__ASSUME_32BITUIDS]: Make code unconditional.
60553         [!__ASSUME_32BITUIDS]: Remove conditional code.
60554         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60555         <kernel-features.h>.
60556         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60557         unconditional.
60558         (__setresuid): Do not declare.
60559         [__ASSUME_32BITUIDS]: Make code unconditional.
60560         [!__ASSUME_32BITUIDS]: Remove conditional code.
60561         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60562         <kernel-features.h>.
60563         [__ASSUME_32BITUIDS]: Make code unconditional.
60564         [!__ASSUME_32BITUIDS]: Remove conditional code.
60565         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60566         <kernel-features.h>.
60567         [__ASSUME_32BITUIDS]: Make code unconditional.
60568         [!__ASSUME_32BITUIDS]: Remove conditional code.
60570 2012-05-25  Richard Henderson  <rth@twiddle.net>
60572         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60573         dl_hwcap to ifunc resolver.
60574         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60575         elf_ifunc_invoke.
60576         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60577         dl_hwcap to ifunc resolver.
60578         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60580 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60582         [BZ #14153]
60583         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60584         for |x| <= 2**-26, not 2**-57.
60585         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60586         exception.
60588 2012-05-24  Jeff Law  <law@redhat.com>
60590         * stdio-common/Makefile (tests): Add bug25.
60591         * stdio-common/bug25.c: New test.
60593 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60595         [BZ #13576]
60596         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60597         multiple of MALLOC_ALIGNMENT in size.
60598         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60600 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60602         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60603         Require >= 256.
60604         (FILENAME_MAX): Use macro-int-constant.
60605         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60606         (_IOFBF): Use macro-int-constant.
60607         (_IOLBF): Likewise.
60608         (_IONBF): Likewise.
60609         (SEEK_CUR): Likewise.
60610         (SEEK_END): Likewise.
60611         (SEEK_SET): Likewise.
60612         (TMP_MAX): Likewise.
60613         (EOF): Use macro-int-constant.  Require < 0.
60614         (NULL): Use macro-constant.  Require == 0.
60615         (stdin): Require type to be FILE *.
60616         (stdout): Likewise.
60617         (stderr): Likewise.
60618         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60619         macro-int-constant.
60620         (EXIT_SUCCESS): Likewise.
60621         (NULL): Use macro-constant.  Require == 0.
60622         (RAND_MAX): Use macro-int-constant.
60623         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60624         [C99-based standards] (strtof): Require function.
60625         [C99-based standards] (strtold): Likewise.
60626         [C99-based standards] (strtoll): Likewise.
60627         [C99-based standards] (strtoull): Likewise.
60628         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60629         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60630         [ISO || ISO99 || ISO11] (math.h): Likewise.
60631         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60632         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60633         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60635 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60637         [BZ #14132]
60638         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60639         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60640         * intl/dgettext.c (DCGETTEXT): Likewise.
60641         * intl/gettext.c (DCGETTEXT): Likewise.
60642         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60643         * posix/regex_internal.h (gettext): Likewise.
60644         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60645         Remove declaration.
60646         * include/argz.h (__argz_count_internal)
60647         (__argz_stringify_internal): Remove declaration.
60648         (__argz_count, __argz_stringify): Declare hidden proto.
60649         * intl/dcgettext.c: Remove use of INTDEF.
60650         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60651         * string/argz-stringify.c: Likewise.
60652         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60653         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60654         Declare hidden proto.
60655         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60656         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60657         Declare hidden proto.
60658         * include/stdio.h (__asprintf_internal): Don't declare.
60659         (__asprintf): Don't define as macro.  Declare hidden proto.
60660         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60661         (__fsetlocking): Declare hidden proto.
60662         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60663         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60664         hidden proto.
60665         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60666         (_IO_setlinebuf): Remove use of INTUSE.
60667         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60668         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60669         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60670         Remove declaration.
60671         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60672         (_IO_do_flush): Remove use of INTUSE.
60673         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60674         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60675         (_IO_adjust_column, _IO_least_wmarker)
60676         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60677         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60678         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60679         (_IO_default_doallocate, _IO_wdefault_doallocate)
60680         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60681         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60682         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60683         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60684         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60685         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60686         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60687         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60688         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60689         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60690         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60691         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60692         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60693         proto.
60694         (_IO_flush_all_internal, _IO_adjust_column_internal)
60695         (_IO_default_uflow_internal, _IO_default_finish_internal)
60696         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60697         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60698         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60699         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60700         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60701         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60702         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60703         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60704         (_IO_file_close_internal, _IO_file_close_it_internal)
60705         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60706         (_IO_file_init_internal, _IO_file_attach_internal)
60707         (_IO_file_fopen_internal, _IO_file_read_internal)
60708         (_IO_file_sync_internal, _IO_file_seek_internal)
60709         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60710         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60711         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60712         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60713         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60714         (_IO_list_all_internal, _IO_link_in_internal)
60715         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60716         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60717         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60718         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60719         (_IO_do_write_internal, _IO_padn_internal)
60720         (_IO_getline_info_internal, _IO_getline_internal)
60721         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60722         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60723         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60724         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60725         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60726         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60727         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60728         with libc_hidden_ver, remove use of INTUSE.
60729         * libio/genops.c: Likewise.
60730         * libio/freopen.c: Likewise.
60731         * libio/freopen64.c: Likewise.
60732         * libio/iofclose.c: Likewise.
60733         * libio/iofdopen.c: Likewise.
60734         * libio/iofflush.c: Likewise.
60735         * libio/iofflush_u.c: Likewise.
60736         * libio/iofgets.c: Likewise.
60737         * libio/iofgets_u.c: Likewise.
60738         * libio/iofopen.c: Likewise.
60739         * libio/iofopncook.c: Likewise.
60740         * libio/iofread.c: Likewise.
60741         * libio/iofread_u.c: Likewise.
60742         * libio/ioftell.c: Likewise.
60743         * libio/iofwrite.c: Likewise.
60744         * libio/iogetline.c: Likewise.
60745         * libio/iogets.c: Likewise.
60746         * libio/iogetwline.c: Likewise.
60747         * libio/iopadn.c: Likewise.
60748         * libio/iopopen.c: Likewise.
60749         * libio/ioseekoff.c: Likewise.
60750         * libio/ioseekpos.c: Likewise.
60751         * libio/iosetbuffer.c: Likewise.
60752         * libio/iosetvbuf.c: Likewise.
60753         * libio/ioungetc.c: Likewise.
60754         * libio/ioungetwc.c: Likewise.
60755         * libio/iovdprintf.c: Likewise.
60756         * libio/iovsprintf.c: Likewise.
60757         * libio/iovsscanf.c: Likewise.
60758         * libio/memstream.c: Likewise.
60759         * libio/obprintf.c: Likewise.
60760         * libio/oldfileops.c: Likewise.
60761         * libio/oldiofclose.c: Likewise.
60762         * libio/oldiofdopen.c: Likewise.
60763         * libio/oldiofopen.c: Likewise.
60764         * libio/oldiopopen.c: Likewise.
60765         * libio/oldstdfiles.c: Likewise.
60766         * libio/putc.c: Likewise.
60767         * libio/setbuf.c: Likewise.
60768         * libio/setlinebuf.c: Likewise.
60769         * libio/stdfiles.c: Likewise.
60770         * libio/strops.c: Likewise.
60771         * libio/vasprintf.c: Likewise.
60772         * libio/vscanf.c: Likewise.
60773         * libio/vsnprintf.c: Likewise.
60774         * libio/vswprintf.c: Likewise.
60775         * libio/wfiledoalloc.c: Likewise.
60776         * libio/wfileops.c: Likewise.
60777         * libio/wgenops.c: Likewise.
60778         * libio/wmemstream.c: Likewise.
60779         * libio/wstrops.c: Likewise.
60780         * libio/__fpurge.c: Likewise.
60781         * libio/__fsetlocking.c: Likewise.
60782         * assert/assert.c: Likewise.
60783         * debug/fgets_chk.c: Likewise.
60784         * debug/fgets_u_chk.c: Likewise.
60785         * debug/fread_chk.c: Likewise.
60786         * debug/fread_u_chk.c: Likewise.
60787         * debug/gets_chk.c: Likewise.
60788         * debug/obprintf_chk.c: Likewise.
60789         * debug/vasprintf_chk.c: Likewise.
60790         * debug/vdprintf_chk.c: Likewise.
60791         * debug/vsnprintf_chk.c: Likewise.
60792         * debug/vsprintf_chk.c: Likewise.
60793         * malloc/mtrace.c: Likewise.
60794         * misc/error.c: Likewise.
60795         * misc/syslog.c: Likewise.
60796         * stdio-common/asprintf.c: Likewise.
60797         * stdio-common/fxprintf.c: Likewise.
60798         * stdio-common/getw.c: Likewise.
60799         * stdio-common/isoc99_fscanf.c: Likewise.
60800         * stdio-common/isoc99_scanf.c: Likewise.
60801         * stdio-common/isoc99_vfscanf.c: Likewise.
60802         * stdio-common/isoc99_vscanf.c: Likewise.
60803         * stdio-common/isoc99_vsscanf.c: Likewise.
60804         * stdio-common/printf-prs.c: Likewise.
60805         * stdio-common/printf_fp.c: Likewise.
60806         * stdio-common/printf_fphex.c: Likewise.
60807         * stdio-common/printf_size.c: Likewise.
60808         * stdio-common/putw.c: Likewise.
60809         * stdio-common/scanf.c: Likewise.
60810         * stdio-common/sprintf.c: Likewise.
60811         * stdio-common/tmpfile.c: Likewise.
60812         * stdio-common/vfprintf.c: Likewise.
60813         * stdio-common/vfscanf.c: Likewise.
60814         * stdlib/strfmon_l.c: Likewise.
60815         * sunrpc/openchild.c: Likewise.
60816         * sunrpc/xdr_stdio.c: Likewise.
60817         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60818         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60820 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60822         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60824         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60825         in the third column, to generate for the shared library an IFUNC
60826         that uses _dl_vdso_vsym.
60827         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60828         * Makeconfig (object-suffixes-noshared): New variable.
60830         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60831         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60832         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60833         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60835         [BZ #14132]
60836         * include/sys/time.h (__gettimeofday): Remove macro.
60837         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60838         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60839         Remove INTDEF.
60840         (__gettimeofday): Add libc_hidden_def.
60841         (gettimeofday): Add libc_hidden_weak.
60842         * sysdeps/mach/gettimeofday.c: Likewise.
60843         * sysdeps/posix/gettimeofday.c: Likewise.
60844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60845         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60847         (__gettimeofday_internal): Remove strong_alias.
60848         (__gettimeofday): Add libc_hidden_def.
60849         (gettimeofday): Add libc_hidden_weak.
60850         * sysdeps/unix/syscalls.list (gettimeofday):
60851         Remove __gettimeofday_internal alias.
60853 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60854             H.J. Lu  <hongjiu.lu@intel.com>
60856         [BZ #12495]
60857         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60858         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60859         (largebin_index_32_big): New.
60860         (largebin_index): Use it for 16-byte alignment.
60861         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60862         correction with front_misalign.
60864 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60868         Likewise.
60869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60870         Likewise.
60871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60872         Likewise.
60873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60874         Likewise.
60875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60876         Likewise.
60877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60878         Likewise.
60879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60880         Likewise.
60881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60882         Likewise.
60883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60884         Likewise.
60885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60886         Likewise.
60887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60888         Likewise.
60889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60890         Likewise.
60892         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60893         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60895 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60897         [BZ #10846]
60898         [BZ #14036]
60899         * math/libm-test.inc (exp_test): Add test from bug 14036.
60900         (pow_test): Add test from bug 10846.
60902         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60903         and other flags.
60904         (special_function): Do not include flags in test name.
60905         (parse_args): Likewise.
60906         * sysdeps/i386/fpu/libm-test-ulps: Update.
60907         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60908         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60909         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60912         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60913         exceptions.
60914         * math/libm-test.inc ("Philosophy"): Update comment about
60915         exception testing.
60916         (UNDERFLOW_EXCEPTION): New macro.
60917         (UNDERFLOW_EXCEPTION_OK): Likewise.
60918         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60919         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60920         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60921         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60922         (INVALID_EXCEPTION_OK): Update value.
60923         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60924         (OVERFLOW_EXCEPTION_OK): Likewise.
60925         (IGNORE_ZERO_INF_SIGN): Likewise.
60926         (test_exceptions): Handle underflow exceptions.
60927         (acos_test): Update for underflow exception expectations.
60928         (cexp_test): Likewise.
60929         (clog_test): Likewise.
60930         (clog10_test): Likewise.
60931         (csqrt_test): Likewise.
60932         (ctan_test): Likewise.
60933         (ctanh_test): Likewise.
60934         (exp_test): Likewise.
60935         (exp10_test): Likewise.
60936         (exp2_test): Likewise.
60937         (expm1_test): Likewise.
60938         (fma_test): Likewise.
60939         (j0_test): Likewise.
60940         (jn_test): Likewise.
60941         (nexttoward_test): Likewise.
60942         (pow_test): Likewise.
60943         (scalbn_test): Likewise.
60944         (scalbln_test): Likewise.
60945         (tan_test): Likewise.
60946         (y1_test): Likewise.
60947         * sysdeps/i386/fpu/libm-test-ulps: Update.
60948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60950 2012-05-23  David S. Miller  <davem@davemloft.net>
60952         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60953         (__libc_sigaction): Remove unused local variables.
60955 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60957         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60959 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60961         mktime: avoid signed integer overflow
60962         * time/mktime.c (__mktime_internal): Do not mishandle the case
60963         where diff == INT_MIN.
60965         mktime: simplify computation of average
60966         * time/mktime.c (ranged_convert): Use new time_t_avg function
60967         instead of rolling our own (probably-slower) code.
60969         mktime: do not assume signed right shift propagates sign bit
60970         * time/mktime.c (isdst_differ): New static function.
60971         (__mktime_internal): No need to normalize tm_isdst now.
60972         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60973         tm_isdst values.
60975         mktime: merge another wrapv change from gnulib
60976         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60977         from some compilers.
60979         mktime: remove incorrect attempt at unusual arithmetics
60980         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60981         The code didn't really work on such machines anyway.
60982         (TYPE_MINIMUM): Assume two's complement.
60983         (twos_complement_arithmetic): Verify that long_int and time_t
60984         are two's complement (or unsigned, in the latter case).
60986         mktime: check signed shifts on long_int and time_t, too
60987         * time/mktime.c (SHR): Check that shifts work as desired
60988         on the types long_int and time_t too, as SHR is used on
60989         such types.
60991         mktime: do not assume 'long' is wide enough
60992         * time/mktime.c (verify): Move decl up.
60993         (long_int): New type.
60994         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60995         to remove assumption in the code that 'long' is wide enough to
60996         store year values.  This assumption is not true on x32 and on
60997         some non-glibc platforms.
60999         mktime: merge wrapv change from gnulib
61000         * time/mktime.c (WRAPV): New macro.
61001         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61002         (guess_time_tm, __mktime_internal): Do not assume that signed
61003         integer overflow wraps around; modern compilers generate code
61004         where this assumption is no longer valid.
61006 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61008         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61009         Replace "jmp L(pseudo_end)" with "ret".
61010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61011         Likewise.
61013 2012-05-23  Andreas Jaeger  <aj@suse.de>
61015         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61016         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61018 2012-05-23  Andreas Jaeger  <aj@suse.de>
61019             Maximilian Attems  <max@stro.at>
61021         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61022         New macros.
61024 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61026         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61027         code so that pseudo_end is just ret and the stack pointer is
61028         correct also for static library in error case.
61030 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61032         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61033         move to syscalls.list.
61034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61039         * manual/install.texi (Running make install): Do not mention Linux
61040         kernel version for which pt_chown is not needed.
61041         (Linux): Do not mention problems with nscd with 2.0 kernels.
61042         * INSTALL: Regenerated.
61044 2012-05-23  Andreas Jaeger  <aj@suse.de>
61046         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61047         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61048         macro.
61049         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61050         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61051         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61052         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61053         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61054         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61055         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61056         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61057         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61058         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61059         * sysdeps/unix/sysv/linux/bits/in.h
61060         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61062 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61064         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61065         (PREPARE_VERSION): Just use assert instead, it will be elided
61066         under [NDEBUG] anyway.
61068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61070         * sysdeps/unix/sysv/linux/Makefile: Include
61071         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61072         (sysdep_routines): Remove sysctl.
61073         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61074         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61075         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61076         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61077         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61079 2012-05-22  Andreas Jaeger  <aj@suse.de>
61081         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61082         that pseudo_end is just ret and the stack pointer is correct also
61083         for static library in error case.
61085 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61087         [BZ #14122]
61088         * nss/nsswitch.c (defconfig_entries): New variable.
61089         (__nss_database_lookup): Don't leak defconfig entries.
61090         (nss_parse_service_list): Don't leak on error paths.
61091         (free_database_entries): New function.
61092         (free_defconfig): New function.
61093         (free_mem): Move common code to free_database_entries.
61095 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61097         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61098         Add arch_prctl.
61099         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61101         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61102         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61104         New macro.
61105         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61106         (INTERNAL_SYSCALL_TYPES): Likewise.
61107         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61108         (LOAD_REGS_TYPES_[1-6]): Likewise.
61109         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61110         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61112 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61114         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61115         copysignl for GLIBC_2_0.
61116         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61117         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61119         logbl for GLIBC_2_0.
61120         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61121         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61123 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61126         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61128         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61129         Use "neg %eax".
61131         * time/mktime.c: Update copyright years.
61133 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61135         mktime: merge comment-quoting-style change from gnulib
61136         * time/mktime.c: Quote 'like this' in comments.
61137         The GNU coding standards suggest that we no longer quote `like this',
61138         as "`" and "'" are typically rendered asymmetrically nowadays.
61139         The typical gnulib style is to quote 'like this' when quoting
61140         code, and "like this" when quoting English.
61142         * time/mktime.c (compile-command): Add "-I.".
61144         mktime: merge mktime-internal.h change from gnulib
61145         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61147         mktime: merge time_r change from gnulib
61148         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61150         mktime: merge DEBUG change from gnulib
61151         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61152         case system <time.h> has a #define.
61154         mktime: merge <sys/types.h> change from gnulib
61155         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61156         since <time.t> is now guaranteed to define time_t.
61158         mktime: merge HAVE_CONFIG_H change from gnulib
61159         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61164         Use "neg %eax".
61166         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61167         __rlim_t cast.
61168         (struct rusage): Use anonymous union to pad each field to
61169         __syscall_slong_t.
61171 2012-05-21  David S. Miller  <davem@davemloft.net>
61173         * Makefules (o-iterator): Remove .s cases.
61174         (compile-command.s): Delete.
61175         (COMPILE.s): Delete.
61176         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61178 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61180         * configure.in (libc_cv_predef_stack_protector): Only consider
61181         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61182         * configure: Regenerated.
61184 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61187         New macro.  Use R*LP on int and pointer.
61188         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61189         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61190         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61191         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61193         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61194         [__WORDSIZE_TIME64_COMPAT32] instead of
61195         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61196         (struct utmp): Likewise.
61197         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61198         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61199         Renamed to ...
61200         (__WORDSIZE_TIME64_COMPAT32): This.
61201         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61202         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61203         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61204         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61205         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61206         (__WORDSIZE_TIME64_COMPAT32): New macro.
61208 2012-05-21  Andreas Jaeger  <aj@suse.de>
61210         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61211         only if [SHARED]. Add prototype for __wcschr_ia32.
61213 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61215         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61216         of %rbp unmolested in the jmp_buf while mangling the low bits.
61217         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61218         unmolested high bits of %rbp while demangling the low bits.
61219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61221 2012-05-21  Andreas Jaeger  <aj@suse.de>
61223         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61224         * sunrpc/svc_simple.c: Use it for registerrpc.
61225         * sunrpc/xcrypt.c: Use it for passwd2des.
61227         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61229 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61231         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61232         Don't define if [__SYSCALL_WORDSIZE != 32].
61233         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61234         New macro.
61236 2012-05-21  Bruno Haible  <bruno@clisp.org>
61237             Andreas Jaeger  <aj@suse.de>
61239         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61240         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61241         inptr and inend for must_buffer_ch.
61242         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61243         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61244         * stdio-common/Makefile (tests): Remove bug15.
61245         (bug15-ENV): Remove macro.
61246         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61247         anymore.
61249 2012-05-19  Andreas Jaeger  <aj@suse.de>
61250             Roland McGrath  <roland@hack.frob.com>
61252         * manual/contrib.texi: Completely rewritten. It contains now an
61253         alphabetical list of contributors and their contributions.
61255 2012-05-21  Richard Henderson  <rth@twiddle.net>
61257         * misc/getauxval.c (__getauxval): Use unsigned long int.
61258         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61259         (getauxval): Use unsigned long int.
61261 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61263         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61265 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61267         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61268         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61269         __alignof__ (long double).
61271 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61275 2012-05-20  Richard Henderson  <rth@twiddle.net>
61277         * misc/getauxval.c: New file.
61278         * misc/sys/auxv.h: New file.
61279         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61280         (routines): Add getauxval.
61281         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61282         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61283         * elf/dl-sysdep.c (_dl_auxv): Remove.
61284         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61285         * elf/dl-support.c (_dl_auxv): New variable.
61286         (_dl_aux_init): Initialize it.
61287         * manual/startup.texi (Auxiliary Vector): New node.
61288         * sysdeps/generic/bits/hwcap.h: New file.
61289         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61290         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61291         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61292         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61293         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61296         Update.
61297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61306 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61310 2012-05-19  David S. Miller  <davem@davemloft.net>
61312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61314 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61316         [BZ #14123]
61317         * math/s_ccosh.c: Include <float.h>
61318         (__ccosh): Avoid internal overflow calculating sinh and cosh
61319         values before multiplying by sin and cos values.
61320         * math/s_ccoshf.c: Likewise.
61321         * math/s_ccoshl.c: Likewise.
61322         * math/s_csin.c: Likewise.
61323         * math/s_csinf.c: Likewise.
61324         * math/s_csinl.c: Likewise.
61325         * math/s_csinh.c: Likewise.
61326         * math/s_csinhf.c: Likewise.
61327         * math/s_csinhl.c: Likewise.
61328         * math/libm-test.inc (ccos_test): Add more tests.
61329         (ccosh_test): Likewise.
61330         (csin_test): Likewise.
61331         (csinh_test): Likewise.
61332         * sysdeps/i386/fpu/libm-test-ulps: Update.
61333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61335 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61337         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61338         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61340         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61342 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61344         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61345         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61346         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61347         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61348         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61349         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61350         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61351         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61352         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61353         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61354         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61355         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61356         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61357         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61358         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61359         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61360         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61361         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61362         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61363         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61364         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61365         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61366         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61367         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61368         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61369         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61370         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61371         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61372         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61373         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61374         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61376 2012-05-18  Andreas Jaeger  <aj@suse.de>
61378         * csu/.gitignore: Delete.
61380 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61382         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61383         (timex): Use __syscall_slong_t.
61385 2012-05-18  Andreas Jaeger  <aj@suse.de>
61386             Carlos O'Donell  <carlos_odonell@mentor.com>
61388         * manual/install.texi (Configuring and compiling): Update
61389         description about files modified in the source directory.
61390         * INSTALL: Regenerated.
61392 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61394         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61395         value.  Use "or" to set return value to -1.
61396         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61397         negate return value.
61399 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61401         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61402         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61403         failure if the compiler has Graphite support disabled.
61404         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61405         Likewise.
61406         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61407         (CFLAGS-memmove.c): Likewise.
61408         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61409         Likewise.
61411 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61413         * sysdeps/x86_64/x32/_itoa.h: New file.
61415         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61416         getdents system call only if kernel and user dirents have the
61417         same d_ino and d_off.
61419         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61420         LLONG_MAX != LONG_MAX.
61421         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61422         (_fitoa_word): Likewise.
61424         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61425         years.
61426         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61427         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61428         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61430         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61431         include <bits/wordsize.h>.  Check __x86_64__ instead of
61432         __WORDSIZE.
61433         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61434         if __x86_64__ is defined.  Use anonymous union on fpstate.
61436         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61437         anonymous union.
61439 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61441         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61442         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61444         Refer to _rtld_local_ro instead of _rtld_global_ro.
61445         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61446         Likewise.
61447         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61448         Likewise.
61449         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61450         Likewise.
61451         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61452         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61453         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61455         [BZ #10882]
61456         * sysdeps/powerpc/powerpc32/dl-machine.c
61457         (__elf_machine_runtime_setup) [PROF]: Don't reference
61458         _dl_prof_resolve.
61460 2012-05-18  Andreas Jaeger  <aj@suse.de>
61462         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61463         function only available for GCCs before 3.4 since GCC 3.4
61464         introduced a builtin.
61465         (lrint): Likewise.
61466         (llrintf): Likewise.
61467         (llrint): Likewise.
61468         (fmaxf): Likewise.
61469         (fmax): Likewise.
61470         (fminf): Likewise.
61471         (fmin): Likewise.
61472         (rint): Likewise.
61473         (rintf): Likewise.
61474         (nearbyint): Likewise.
61475         (nearbyintf): Likewise.
61476         (ceil): Likewise.
61477         (ceilf): Likewise.
61478         (floor): Likewise.
61479         (floorf): Likewise.
61481 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61483         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61484         on both fields and cast pointer to __syscall_ulong_t.
61486         * bits/types.h (__fsword_t): New type.
61487         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61488         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61489         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61490         (__FSWORD_T_TYPE): Likewise.
61491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61492         (__FSWORD_T_TYPE): Likewise.
61493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61494         (__FSWORD_T_TYPE): Likewise.
61495         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61496         (__FSWORD_T_TYPE): Likewise.
61497         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61498         __SWORD_TYPE with __fsword_t.
61499         (statfs64): Likewise.
61501 2012-05-17  David S. Miller  <davem@davemloft.net>
61503         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61505 2012-05-17  Andreas Jaeger  <aj@suse.de>
61507         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61508         warning.
61510 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61512         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61514 2012-05-17  Andreas Jaeger  <aj@suse.de>
61516         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61517         when it is used.
61519 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61521         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61523 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61525         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61526         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61528 2012-05-17  Andreas Jaeger  <aj@suse.de>
61529             Carlos O'Donell  <carlos_odonell@mentor.com>
61531         [BZ #14059]
61532         * sysdeps/x86_64/multiarch/init-arch.h
61533         (bit_YMM_Usable): Rename to...
61534         (bit_AVX_Usable): ... this.
61535         (bit_FMA4_Usable): New macro.
61536         (bit_XMM_state): New macro.
61537         (bit_YMM_state): New macro.
61538         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61539         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61540         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61541         (CPUID_OSXSAVE): New macro.
61542         (CPUID_AVX): New macro.
61543         (CPUID_FMA4): New macro.
61544         (index_YMM_Usable): Rename to...
61545         (index_AVX_Usable): ... this.
61546         (HAS_AVX): Use HAS_ARCH_FEATURE.
61547         (HAS_FMA4): Likewise.
61548         (HAS_YMM_USABLE): Remove.
61549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61550         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61551         are present.
61552         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61553         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61554         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61555         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61556         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61558 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61560         * math/libm-test.c: Support platforms without multiple rounding modes.
61561         * math/bug-nextafter.c: Support platforms without FP exceptions.
61562         * math/bug-nexttoward.c: Likewise.
61563         * math/test-fenv.c: Likewise.
61564         * math/test-misc.c: Likewise.
61565         * stdlib/bug-getcontext.c: Likewise.
61567 2012-05-17  Andreas Jaeger  <aj@suse.de>
61569         * manual/examples/search.c (critter_cmp): Change signature to
61570         avoid warnings.
61571         * manual/string.texi (Collation Functions): Likewise.
61573 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61575         * bits/types.h: Fold copyright years.
61576         * bits/typesizes.h: Likewise.
61577         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61579         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61580         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61581         * time/time.h: Likewise.
61583 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61585         [BZ #208]
61586         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61587         in instead of returning them.  Return void.
61588         (__libc_mallinfo): Accumulate over all arenas.
61589         (__malloc_stats): Adjust for change in int_mallinfo interface.
61591 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61593         [BZ #10375]
61594         * configure.in (NM): Add AC_CHECK_TOOL for it.
61595         (libc_extra_cflags): New substituted variable.
61596         Check for -fstack-protector being used implicitly.
61597         * configure: Regenerated.
61598         * config.make.in (config-extra-cflags): New variable,
61599         gets @libc_extra_cflags@.
61600         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61602         [BZ #10375]
61603         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61604         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61605         * configure: Regenerated.
61606         * config.make.in (CPPUNDEFS): New substituted variable.
61607         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61608         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61609         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61613         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61614         (mq_attr): Use __syscall_slong_t.
61616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61618         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61619         Check __x86_64__ instead of __WORDSIZE.
61620         (_STAT_VER_LINUX): Likewise.
61621         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61622         __syscall_ulong_t and __syscall_slong_t.
61623         (stat64): Likewise.
61625 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61633 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61635         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61636         __syscall_ulong_t.
61638         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61639         include <bits/wordsize.h>.  Check __x86_64__ instead of
61640         __WORDSIZE.
61641         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61642         defined.
61643         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61645         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61646         include <bits/wordsize.h>.  Check __x86_64__ instead of
61647         __WORDSIZE.
61648         (user_regs_struct): Use "__extension__ unsigned long long"
61649         instead of "unsigned long" if __x86_64__ is defined.
61650         (user): Likewise.  Pad after pointer field if __ILP32__ is
61651         defined.
61653 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61655         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61656         versions 5 to 9.
61657         * configure: Regenerated.
61658         * manual/install.texi (texinfo): Increase version requirement to
61659         4.5 or later.
61660         * INSTALL: Regenerated.
61662         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61664 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61666         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61668         * sysdeps/x86_64/x32/ffs.c: New file.
61670         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61671         __syscall_ulong_t.
61672         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61673         defined.  Use __syscall_ulong_t.
61674         (shminfo): Use __syscall_ulong_t.
61675         (shm_info): Likewise.
61677         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61678         __syscall_ulong_t.
61680         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61681         <bits/wordsize.h>.
61682         (msgqnum_t): Use __syscall_ulong_t.
61683         (msglen_t): Likewise.
61684         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61685         __syscall_ulong_t.
61687         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61688         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61690         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61692         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61693         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61695         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61696         __syscall_slong_t.
61698         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61699         include <bits/wordsize.h>.  Check __x86_64__ instead of
61700         __WORDSIZE.
61702         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61703         "unsigned long long int" if __x86_64__ is defined.
61704         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61706         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61707         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61708         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61710         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61711         <stdint.h>.
61712         (GET_PC): Cast to uintptr_t first.
61713         (GET_FRAME): Likewise.
61714         (GET_STACK): Likewise.
61716         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61722         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61723         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61724         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61725         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61726         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61727         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61728         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61729         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61730         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61731         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61732         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61733         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61734         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61735         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61736         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61737         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61738         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61739         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61740         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61741         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61742         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61743         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61744         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61746 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61748         * Makerules (+depfiles): Also collect depfiles from .oS in
61749         $(extra-objs).
61750         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61751         .oS, $(libnldbl-routines)).
61753         * Makerules (native-compile-mkdep-flags): Define.
61754         * sunrpc/Makefile (extra-objs): Add $(addprefix
61755         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61756         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61757         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61758         calling $(make-target-directory).
61760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61762         * bits/types.h (__snseconds_t): Removed.
61763         * time/time.h (struct timespec): Replace __snseconds_t with
61764         __syscall_slong_t.
61765         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61766         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61767         Likewise.
61768         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61769         (__SNSECONDS_T_TYPE): Likewise.
61770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61771         (__SNSECONDS_T_TYPE): Likewise.
61772         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61773         (__SNSECONDS_T_TYPE): Likewise.
61775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61777         * sysdeps/mach/hurd/bits/typesizes.h
61778         (__SYSCALL_SLONG_TYPE): New macro.
61779         (__SYSCALL_ULONG_TYPE): Likewise.
61781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61783         * bits/types.h (__syscall_slong_t): New type.
61784         (__syscall_ulong_t): Likewise.
61786         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61787         (__SYSCALL_ULONG_TYPE): Likewise.
61788         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61789         (__SYSCALL_SLONG_TYPE): Likewise.
61790         (__SYSCALL_ULONG_TYPE): Likewise.
61791         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61792         (__SYSCALL_SLONG_TYPE): Likewise.
61793         (__SYSCALL_ULONG_TYPE): Likewise.
61794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61795         (__SYSCALL_SLONG_TYPE): Likewise.
61796         (__SYSCALL_ULONG_TYPE): Likewise.
61798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61800         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61801         Add sigaltstack-offsets.sym.
61802         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61803         <sigaltstack-offsets.h>.
61804         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61805         longjmp_msg pointer.
61806         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61807         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61808         signal stack.
61809         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61811 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61813         * elf/stackguard-macros.h: Remove file.
61814         * sysdeps/generic/stackguard-macros.h: New file.
61815         * sysdeps/i386/stackguard-macros.h: Likewise.
61816         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61817         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61818         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61819         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61820         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61821         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61822         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61823         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61824         <elf/stackguard-macros.h>.
61826         [BZ #14109]
61827         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61828         __aligned__ in attribute.
61829         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61830         (gregset_t): Likewise.
61832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61834         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61835         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61836         * sysdeps/x86_64/x32/Implies-after: New file.
61838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61840         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61841         and access return value for _dl_profile_fixup.  Use R10_LP to
61842         load frame size.
61844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61846         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61850         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61851         * sysdeps/x86_64/x32/sysdep.h: New file.
61853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61855         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61856         * sysdeps/x86_64/setjmp.S: Likewise.
61858 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61860         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61861         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61862         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61863         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61864         remove unused global constant.
61866 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61868         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61869         include of <not-cancel.h>.
61871 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61873         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61875 2012-05-15  Jeff Law  <law@redhat.com>
61876             Andreas Jaeger  <aj@suse.de>
61878         [BZ #13594]
61879         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61880         out from...
61881         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61882         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61883         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61884         code changing __hst_map_handle.map.
61886 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61888         * configure.in (sysnames): Look for Implies-before and Implies-after
61889         files.
61890         * configure: Regenerated.
61892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61894         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61895         8-byte data alignment with LP_SIZE alignment.
61897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61899         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61900         into R10_LP.
61902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61904         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61908         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61909         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61910         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61911         Likewise.
61912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61916         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61917         (stackinfo_sub_sp): Likewise.
61919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61921         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61922         RAX_LP.
61924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61927         into R*_LP.
61929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61931         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61932         sizes into R*_LP.
61934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61936         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61940         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61941         into R11_LP and load __x86_64_shared_cache_size_half into
61942         R8_LP.
61944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61946         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61947         R8_LP.
61949 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61951         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61952         logb for POWER7.
61953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61954         logbf for POWER7.
61955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61956         logbl for POWER7.
61957         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61958         powerpc32/power7/fpu/s_logb.c via #include.
61959         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61960         powerpc32/power7/fpu/s_logbf.c via #include.
61961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61962         powerpc32/power7/fpu/s_logbl.c via #include.
61964 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61966         * README.libm: Remove file.
61968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61970         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61971         count for x32.  Use R*_LP and omit operand-size suffix.
61973 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61975         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61976         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61977         * sysdeps/x86_64/x32/shlib-versions: New file.
61979 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61981         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61982         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61983         Use _dl_fatal_printf instead.
61985 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61987         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61988         set if not set by the user.  Do not allow for being unset.
61989         * sysdeps/unix/sysv/linux/configure: Regenerated.
61991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61993         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61994         the `q' suffix from lea and replace .quad with ASM_ADDR.
61996 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61999         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62000         instead of $17.
62001         (PTR_DEMANGLE): Likewise.
62003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62005         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62006         (LP_OP): Likewise.
62007         (ASM_ADDR): Likewise.
62008         (RAX_LP): Likewise.
62009         (RBP_LP): Likewise.
62010         (RBX_LP): Likewise.
62011         (RCX_LP): Likewise.
62012         (RDI_LP): Likewise.
62013         (RSI_LP): Likewise.
62014         (RSP_LP): Likewise.
62015         (R8_LP): Likewise.
62016         (R9_LP): Likewise.
62017         (R10_LP): Likewise.
62018         (R10_LP): Likewise.
62019         (R11_LP): Likewise.
62020         (R12_LP): Likewise.
62021         (R13_LP): Likewise.
62022         (R14_LP): Likewise.
62023         (R15_LP): Likewise.
62025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62027         * sysdeps/x86_64/x32/dl-machine.h: New file.
62029 2012-05-14  Andreas Jaeger  <aj@suse.de>
62031         * manual/Makefile (subdir): Remove export of subdir.
62032         (all): Remove target.
62033         (.PHONY): Remove all from list.
62034         (mkinstalldirs): Remove.
62035         (.PHONY): Remove installdirs from list.
62036         ($(inst_infodir)/libc.info): Use make-target-directory.
62037         (installdirs): Remove.
62038         (subdir_%): Remove.
62039         (glibc-targets): Remove.
62040         (lib): Remove.
62041         (stubs): Remove.
62042         ($(objpfx)stubs ../po/manual.pot): Remove.
62043         ($(objpfx)stamp%): Remove.
62044         (make-target-directory): Remove.
62045         (subdir_install): Remove.
62046         (routines): Remove.
62047         (aux): Remove.
62048         (sources): Remove.
62049         (objects): Remove.
62050         (headers): Remove.
62052         [BZ #13750]
62053         * manual/.gitignore: Remove, it's not needed anymore.
62054         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62055         all files in it.
62056         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62057         directory.
62058         (texis): Renamed to $(objpfx)texis.
62059         (texis-path): New, contains path to generated files.
62060         (chapters.%): Use texis-path for complete path, add extra argument
62061         libc-texinfo.sh.
62062         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62063         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62064         (summary,texi, stamp-summary): Use complete path of
62065         files. Generate files in build dir.
62066         (dir-add.texi): Build in build dir.
62067         (libm-err.texi,stamp-libm-err): Likewise.
62068         (version.texi, stamp-version): Likewise.
62069         (.%c.texi): Likewise.
62070         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62071         (mostlyclean): Remove target.
62072         (realclean): Remove target.
62073         (generated): Add new variable with contents from mostlyclean and
62074         realclean, remove entries duplicated in common-mostlyclean, add
62075         stamp-libm-err and stamp-version.
62076         (generated-dirs): Add libc directory.
62077         ($(inst_infodir)/libc.info): Install files from build dir.
62079         * manual/install.texi (Configuring and compiling): Adjust since
62080         the info files are not part of the tar ball anymore.
62082 2012-05-14  Andreas Jaeger  <aj@suse.de>
62084         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62085         variable.
62087 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62089         [BZ #13717]
62090         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62091         to 2.2.0 where earlier.
62092         * sysdeps/unix/sysv/linux/configure: Regenerated.
62093         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62094         Remove conditional code.
62095         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62096         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62097         Remove conditional code.
62098         [!__NR_lchown]: Likewise.
62099         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62100         [__NR_lchown]: Likewise.
62101         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62102         comment referencing __ASSUME_LCHOWN_SYSCALL.
62103         * sysdeps/unix/sysv/linux/i386/sigaction.c
62104         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62105         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62106         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62107         Remove conditional code.
62108         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62109         (__protocol_available): Remove #if 0 code.
62110         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62111         conditional code.
62112         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62113         * sysdeps/unix/sysv/linux/kernel-features.h
62114         (__ASSUME_GETCWD_SYSCALL): Don't define.
62115         (__ASSUME_REALTIME_SIGNALS): Likewise.
62116         (__ASSUME_PREAD_SYSCALL): Likewise.
62117         (__ASSUME_PWRITE_SYSCALL): Likewise.
62118         (__ASSUME_POLL_SYSCALL): Likewise.
62119         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62120         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62121         non-SPARC.
62122         (__ASSUME_SIOCGIFNAME): Don't define.
62123         (__ASSUME_MSG_NOSIGNAL): Likewise.
62124         (__ASSUME_SENDFILE): Define unconditionally.
62125         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62126         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62127         conditional code.
62128         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62129         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62130         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62131         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62132         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62133         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62134         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62139         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62148         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62151         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62154         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62157         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62159         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62160         Remove conditional code.
62161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62162         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62163         Remove conditional code.
62164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62165         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62166         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62167         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62168         Remove conditional code.
62169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62170         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62171         Remove conditional code.
62172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62173         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62174         Remove conditional code.
62175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62176         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62177         Remove conditional code.
62178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62179         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62180         Remove conditional code.
62181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62182         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62183         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62185         * sysdeps/unix/sysv/linux/sigaction.c
62186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62188         * sysdeps/unix/sysv/linux/sigpending.c
62189         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62190         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62191         * sysdeps/unix/sysv/linux/sigprocmask.c
62192         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62193         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62194         * sysdeps/unix/sysv/linux/sigsuspend.c
62195         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62196         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62197         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62198         (__libc_missing_rt_sigs): Remove.
62199         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62200         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62201         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62202         Remove conditional code.
62203         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62204         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62205         return 1.
62206         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62207         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62208         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62209         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62211 2012-05-14  Andreas Jaeger  <aj@suse.de>
62213         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62214         it's not used in glibc.
62215         (__coshm1): Likewise.
62216         (__acosh1p): Likewise.
62217         (__sgn): Likewise.
62219         * manual/string.texi (Copying and Concatenation): Add missing
62220         variable in concat example.
62221         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62223 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62225         [BZ #14103]
62226         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62227         __builtin_clzl with __builtin_clzll.
62229 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62231         [BZ #14104]
62232         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62233         libc_freeres_ptr.
62235 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62237         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62238         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62239         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62240         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62242 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62244         * NEWS: Update ia64 info.
62246 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62248         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62249         used as bcopy.
62251 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62253         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62254         * sysdeps/unix/syscalls.list (dup3): Likewise.
62255         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62256         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62258 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62260         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62261         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62263 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62265         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62266         thread pointer.
62267         (TLS_IE): Use mov/add instead of movq/addq to load thread
62268         pointer.
62269         (TLS_GD_PREFIX): New.
62270         (TLS_GD): Use it.
62272 2012-05-11  David S. Miller  <davem@davemloft.net>
62274         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62275         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62276         (_FPU_SETCW): Likewise.
62278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62280         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62281         is 32-byte aligned.
62283 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62285         [BZ #11837]
62286         * iconvdata/gb18030.c: Update tables.
62287         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62288         characters specially.
62289         (BODY for TO_LOOP): Add encoding of missing ranges.
62291 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62293         [BZ #13673]
62294         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62295         * sysdeps/mach/hurd/dup3.c: Likewise.
62296         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62297         * sysdeps/powerpc/memmove.c:: Likewise.
62299 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62302         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62304 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62306         * elf/elf.h (R_X86_64_RELATIVE64): New.
62307         (R_X86_64_NUM): Updated.
62308         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62309         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62310         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62311         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62312         tst-quad1pie tst-quad2pie
62313         (modules-names): Add tst-quadmod1 tst-quadmod2.
62314         ($(objpfx)tst-quad1): New dependency.
62315         ($(objpfx)tst-quad2): Likewise.
62316         ($(objpfx)tst-quad1pie): Likewise.
62317         ($(objpfx)tst-quad2pie): Likewise.
62318         * sysdeps/x86_64/tst-quad1.c: New file.
62319         * sysdeps/x86_64/tst-quad1pie.c: New file.
62320         * sysdeps/x86_64/tst-quad2.c: Likewise.
62321         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62322         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62323         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62324         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62325         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62329         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62330         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62331         * streams/stropts.h (t_scalar_t): Define type.
62333         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62334         (_PATH_PRESERVE): Set to "/var/lib".
62335         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62337         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62338         instead of int.
62340         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62341         if __dir_mkfile succeeded.
62343         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62344         checking for _hurd_dtablesize.  Unlock it right after having
62345         finished _hurd_dtable allocation.
62347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62349         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62350         * sysdeps/mach/hurd/configure: Regenerated.
62351         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62352         special-casing to...
62353         * sysdeps/gnu/configure.in: ... this new file.
62354         * sysdeps/unix/sysv/linux/configure: Regenerated.
62355         * sysdeps/gnu/configure: New generated file.
62357         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62358         for Linux: use nsec instead of usec, as well as:
62359         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62360         members of type struct timespec.
62361         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62362         New macros.
62363         (struct stat64): Likewise.
62364         (_STATBUF_ST_NSEC): New macro.
62365         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62367         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62368         __strtoul_internal rather than strtoul.
62370 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62372         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62373         and reject them.
62375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62377         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62378         which preserves existing values.
62379         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62381 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62383         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62384         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62385         greater than FD_SETSIZE.
62387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62389         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62390         allocated, call __vm_protect to finish enabling the existing space, and
62391         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62392         allocate the remainder.
62394 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62396         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62397         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62401         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62402         sysdeps/mach/hurd/readlink.c.
62404         * posix/tst-sysconf.c (posix_options): Only use
62405         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62406         _POSIX_SYNCHRONIZED_IO when they are defined
62407         * sysdeps/mach/hurd/bits/posix_opt.h:
62408         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62409         (_XOPEN_REALTIME): Undefine macro.
62410         (_XOPEN_REALTIME_THREADS): Undefine macro.
62411         (_XOPEN_SHM): Undefine macro.
62412         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62413         macro to -1.
62414         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62415         macro to -1.
62416         (_POSIX_ASYNC_IO): Undefine macro.
62417         (_POSIX_PRIORITIZED_IO): Undefine macro.
62418         (_POSIX_SPIN_LOCKS): Define macro to -1.
62420         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62421         SA_NODEFER, SA_RESETHAND.
62422         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62423         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62424         F_DUPFD_CLOEXEC.
62426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62428         * elf/Makefile (pldd-modules): Define unconditionally.
62430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62432         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62436         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62437         Return ENOENT when name is empty.
62438         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62442         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62444         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62448         Fix mlock in all cases except non-readable pages.
62449         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62450         instead of VM_PROT_ALL as parameter to __vm_wire function.
62452         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62453         (__mkdir): When path is `/', just fail with EEXIST.
62454         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62458         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62459         <sys/uio.h> (for writev).
62460         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62461         and <sys/param.h> (for MIN).
62463 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62465         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62466         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62467         if interrupted.
62469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62471         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62472         Depend on against $(link-rpcuserlibs).
62474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62476         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62477         (__libc_stack_end): Do not use attribute_relro.
62478         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62479         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62480         to libthread-provided value.
62481         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62482         attribute_relro.
62484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62486         [BZ #3748]
62487         * bits/libc-lock.h (__libc_once_get): New macro.
62488         * sysdeps/mach/bits/libc-lock.h: Likewise.
62489         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62490         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62491         instead of using implementation details.
62493         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62494         * libio/freopen.c: Likewise.
62495         * libio/freopen64.c: Likewise.
62496         * misc/syslog.c: Likewise.
62497         * nscd/connections.c: Likewise.
62498         * nscd/netgroupcache.c: Likewise.
62499         * sysdeps/posix/getcwd.c: Likewise.
62501 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62503         * math/w_ilogbf.c: Add #include <limits.h>.
62505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62507         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62508         path instead of returning without unlocking.
62510         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62511         immediate-write ioctls.
62512         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62516         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62517         __builtin_frame_address instead of making assumptions about the
62518         location of the return address relative to DATA.  Force early load of
62519         the return address.
62520         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62521         __builtin_frame_address.
62523         dup3 for GNU Hurd.
62524         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62525         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62526         implement dup3 and do some further code clean-ups.
62527         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62528         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62532         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62534         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62535         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62536         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62537         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62538         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62539         d->port.lock.
62541         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62542         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62543         when handler == SIG_ERR, not when handler != SIG_ERR.
62545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62547         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62548         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62549         definitions.
62551         accept4 for GNU Hurd.
62552         * include/sys/socket.h (__libc_accept4): New prototype.
62553         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62554         to implement __libc_accept4.
62555         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62556         __libc_accept4.
62557         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62559         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62560         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62561         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62562         signal-defines.sym.
62564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62566         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62570         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62571         assertion on O_CLOEXEC flag.
62572         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62573         * hurd/intern-fd.c: Likewise.
62574         * hurd/port2fd.c: Likewise.
62576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62578         [BZ #3906]
62579         * bits/in.h (IPV6_PKTINFO): Define new macro.
62580         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62582 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62584         [BZ #13954]
62585         [BZ #13955]
62586         [BZ #13956]
62587         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62589         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62590         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62591         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62592         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62593         * math/libm-test.inc (logb_test) : Additional logb tests.
62595 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62596             Andreas Jaeger  <aj@suse.de>
62598         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62599         * configure: Regenerated.
62600         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62601         * config.make.in (link-obsolete-rpc): New substituted variable.
62602         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62603         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62604         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62605         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62606         so that libc.a contains the symbols.
62607         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62608         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62609         * sunrpc/auth_none.c: Likewise.
62610         * sunrpc/auth_unix.c: Likewise.
62611         * sunrpc/authdes_prot.c: Likewise.
62612         * sunrpc/authuxprot.c: Likewise.
62613         * sunrpc/clnt_gen.c: Likewise.
62614         * sunrpc/clnt_perr.c: Likewise.
62615         * sunrpc/clnt_raw.c: Likewise.
62616         * sunrpc/clnt_simp.c: Likewise.
62617         * sunrpc/clnt_tcp.c: Likewise.
62618         * sunrpc/clnt_udp.c: Likewise.
62619         * sunrpc/clnt_unix.c: Likewise.
62620         * sunrpc/des_crypt.c: Likewise.
62621         * sunrpc/des_soft.c: Likewise.
62622         * sunrpc/get_myaddr.c: Likewise.
62623         * sunrpc/key_call.c: Likewise.
62624         * sunrpc/key_prot.c: Likewise.
62625         * sunrpc/netname.c: Likewise.
62626         * sunrpc/pm_getmaps.c: Likewise.
62627         * sunrpc/pm_getport.c: Likewise.
62628         * sunrpc/pmap_clnt.c: Likewise.
62629         * sunrpc/pmap_prot.c: Likewise.
62630         * sunrpc/pmap_prot2.c: Likewise.
62631         * sunrpc/pmap_rmt.c: Likewise.
62632         * sunrpc/publickey.c: Likewise.
62633         * sunrpc/rpc_cmsg.c: Likewise.
62634         * sunrpc/rpc_common.c: Likewise.
62635         * sunrpc/rpc_dtable.c: Likewise.
62636         * sunrpc/rpc_prot.c: Likewise.
62637         * sunrpc/rpc_thread.c: Likewise.
62638         * sunrpc/rtime.c: Likewise.
62639         * sunrpc/svc.c: Likewise.
62640         * sunrpc/svc_auth.c: Likewise.
62641         * sunrpc/svc_raw.c: Likewise.
62642         * sunrpc/svc_run.c: Likewise.
62643         * sunrpc/svc_tcp.c: Likewise.
62644         * sunrpc/svc_udp.c: Likewise.
62645         * sunrpc/svc_unix.c: Likewise.
62646         * sunrpc/svcauth_des.c: Likewise.
62647         * sunrpc/xcrypt.c: Likewise.
62648         * sunrpc/xdr.c: Likewise.
62649         * sunrpc/xdr_array.c: Likewise.
62650         * sunrpc/xdr_float.c: Likewise.
62651         * sunrpc/xdr_intXX_t.c: Likewise.
62652         * sunrpc/xdr_mem.c: Likewise.
62653         * sunrpc/xdr_rec.c: Likewise.
62654         * sunrpc/xdr_ref.c: Likewise.
62655         * sunrpc/xdr_sizeof.c: Likewise.
62656         * sunrpc/xdr_stdio.c: Likewise.
62658 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62661         change.  Update copyright years.
62663 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62665         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62667 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62668             Joseph Myers  <joseph@codesourcery.com>
62669             Paul Pluzhnikov  <ppluzhnikov@google.com>
62671         [BZ #14012]
62672         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62673         requiring rpcgen.
62674         [cross-compiling] (extra-libs): Likewise.
62675         [cross-compiling] (extra-libs-others): Likewise.
62676         [cross-compiling] (librpcsvc-routines): Likewise.
62677         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62678         [cross-compiling] (omit-deps): Likewise.
62679         (sunrpc-CPPFLAGS): New variable.
62680         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62681         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62682         (cross-rpcgen-objs): New variable.
62683         (extra-objs): Append $(cross-rpcgen-objs).
62684         ($(cross-rpcgen-objs)): New rule.
62685         ($(objpfx)cross-rpcgen): Likewise.
62686         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62687         comment.
62688         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62689         ($(objpfx)x%.stmp): Likewise.
62690         * sunrpc/proto.h [IS_IN_build] (_): Define.
62691         [IS_IN_build] (_libc_intl_domainname): Likewise.
62693 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62696         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62697         and R_X86_64_TPOFF64.
62699 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62701         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62702         sysdeps/unix/sysv/syscalls.list.
62703         (stime): Likewise.
62704         (utime): Likewise.
62705         * sysdeps/unix/sysv/syscalls.list: Remove file.
62707 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62709         [BZ #3440]
62710         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62711         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62712         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62713         (__LC_IDENTIFICATION): Make these macros useful in #if
62714         expressions, as required by C99.
62716 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62718         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62719         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62720         after this.
62722 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62724         * stdlib/longlong.h: Updated from GCC.
62726 2012-05-09  Andreas Jaeger  <aj@suse.de>
62728         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62729         default is first entry.
62730         (run_mode): Set type.
62731         (main): Remove informal message about syslog.
62732         (options): Fix typo.
62734         [BZ #14053]
62735         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62736         to asm.
62737         (lrint): Likewise.
62738         (llrintf): Likewise.
62739         (llrint): Likewise.
62740         (rint): Likewise.
62741         (rintf): Likewise.
62742         (nearbyint): Likewise.
62743         (nearbyintf): Likewise.
62745 2012-05-09  Andreas Jaeger  <aj@suse.de>
62746             Pedro Alves  <palves@redhat.com>
62748         * nscd/nscd.c (run_mode): Use enum.
62749         (main): Cleanup coding style issue.
62751 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62752             Andreas Jaeger  <aj@suse.de>
62754         * nscd/nscd.c (go_background): Replaced with...
62755         (run_mode): ... this.
62756         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62757         (options): Add -F --foreground.
62758         (main): Implement it.
62759         (parse_opt): Parse it.
62761 2012-05-09  Andreas Jaeger  <aj@suse.de>
62763         [BZ #14083]
62764         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62765         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62766         -Wconversion warning.
62767         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62768         Likewise.
62770 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62772         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62773         == 0.
62774         (LC_ALL): Use macro-int-constant.
62775         (LC_COLLATE): Likewise.
62776         (LC_CTYPE): Likewise.
62777         (LC_MESSAGES): Likewise.
62778         (LC_MONETARY): Likewise.
62779         (LC_NUMERIC): Likewise.
62780         (LC_TIME): Likewise.
62781         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62782         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62784         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62785         Specify type.
62786         [C99-based standards] (float_t): Expect type.
62787         [C99-based standards] (double_t): Expect type.
62788         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62789         type.
62790         [C99-based standards] (HUGE_VALL): Likewise.
62791         [C99-based standards] (INFINITY): Likewise.
62792         [C99-based standards] (NAN): Likewise.
62793         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62794         [C99-based standards] (FP_NAN): Likewise.
62795         [C99-based standards] (FP_NORMAL): Likewise.
62796         [C99-based standards] (FP_SUBNORMAL): Likewise.
62797         [C99-based standards] (FP_ZERO): Likewise.
62798         [C99-based standards] (FP_FAST_FMA): Use
62799         optional-macro-int-constant.  Specify type.  Require == 1.
62800         [C99-based standards] (FP_FAST_FMAF): Likewise.
62801         [C99-based standards] (FP_FAST_FMAL): Likewise.
62802         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62803         [C99-based standards] (FP_ILOGBNAN): Likewise.
62804         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62805         Specify type.
62806         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62807         [C99-based standards] (math_errhandling): Specify type.
62808         [ISO99 || ISO11] (signgam): Do not allow.
62809         [non-C99-based standards] (copysignf): Do not allow.
62810         [non-C99-based standards] (exp2f): Likewise.
62811         [non-C99-based standards] (log2f): Likewise.
62812         [non-C99-based standards] (modff): Allow.
62813         [non-C99-based standards] (erff): Do not allow.
62814         [non-C99-based standards] (erfcf): Likewise.
62815         [non-C99-based standards] (gammaf): Likewise.
62816         [non-C99-based standards] (hypotf): Likewise.
62817         [non-C99-based standards] (j0f): Likewise.
62818         [non-C99-based standards] (j1f): Likewise.
62819         [non-C99-based standards] (jnf): Likewise.
62820         [non-C99-based standards] (lgammaf): Likewise.
62821         [non-C99-based standards] (tgammaf): Likewise.
62822         [non-C99-based standards] (y0f): Likewise.
62823         [non-C99-based standards] (y1f): Likewise.
62824         [non-C99-based standards] (ynf): Likewise.
62825         [non-C99-based standards] (isnanf): Likewise.
62826         [non-C99-based standards] (acoshf): Likewise.
62827         [non-C99-based standards] (asinhf): Likewise.
62828         [non-C99-based standards] (atanhf): Likewise.
62829         [non-C99-based standards] (cbrtf): Likewise.
62830         [non-C99-based standards] (expm1f): Likewise.
62831         [non-C99-based standards] (ilogbf): Likewise.
62832         [non-C99-based standards] (log1pf): Likewise.
62833         [non-C99-based standards] (logbf): Likewise.
62834         [non-C99-based standards] (nextafterf): Likewise.
62835         [non-C99-based standards] (remainderf): Likewise.
62836         [non-C99-based standards] (rintf): Likewise.
62837         [non-C99-based standards] (scalbf): Likewise.
62838         [non-C99-based standards] (copysignl): Likewise.
62839         [non-C99-based standards] (exp2l): Likewise.
62840         [non-C99-based standards] (log2l): Likewise.
62841         [non-C99-based standards] (modfl): Allow.
62842         [non-C99-based standards] (erfl): Do not allow.
62843         [non-C99-based standards] (erfcl): Likewise.
62844         [non-C99-based standards] (gammal): Likewise.
62845         [non-C99-based standards] (hypotl): Likewise.
62846         [non-C99-based standards] (j0l): Likewise.
62847         [non-C99-based standards] (j1l): Likewise.
62848         [non-C99-based standards] (jnl): Likewise.
62849         [non-C99-based standards] (lgammal): Likewise.
62850         [non-C99-based standards] (tgammal): Likewise.
62851         [non-C99-based standards] (y0l): Likewise.
62852         [non-C99-based standards] (y1l): Likewise.
62853         [non-C99-based standards] (ynl): Likewise.
62854         [non-C99-based standards] (isnanl): Likewise.
62855         [non-C99-based standards] (acoshl): Likewise.
62856         [non-C99-based standards] (asinhl): Likewise.
62857         [non-C99-based standards] (atanhl): Likewise.
62858         [non-C99-based standards] (cbrtl): Likewise.
62859         [non-C99-based standards] (expm1l): Likewise.
62860         [non-C99-based standards] (ilogbl): Likewise.
62861         [non-C99-based standards] (log1pl): Likewise.
62862         [non-C99-based standards] (logbl): Likewise.
62863         [non-C99-based standards] (nextafterl): Likewise.
62864         [non-C99-based standards] (remainderl): Likewise.
62865         [non-C99-based standards] (rintl): Likewise.
62866         [non-C99-based standards] (scalbl): Likewise.
62867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62868         [non-C99-based standards] (FP_*): Do not allow.
62869         [C99-based standards] (FP_*): Change to
62870         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62871         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62872         allow.
62873         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62874         (SIG_ERR): Likewise.
62875         [X/Open-based standards] (SIG_HOLD): Likewise.
62876         (SIG_IGN): Likewise.
62877         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62878         positive value.
62879         (SIGFPE): Likewise.
62880         (SIGILL): Likewise.
62881         (SIGINT): Likewise.
62882         (SIGSEGV): Likewise.
62883         (SIGTER): Likewise.
62884         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62885         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62886         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62887         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62888         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62889         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62890         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62891         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62892         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62893         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62894         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62895         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62896         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62897         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62898         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62899         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62900         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62901         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62902         [X/Open-based standards] (SIGTRAP): Likewise.
62903         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62904         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62905         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62906         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62907         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62908         allow.
62910 2012-05-08  Ian Wienand  <ianw@vmware.com>
62912         [BZ #14080]
62913         * time/tzset.c (__tzset_parse_tz): Update default rules for
62914         daylight time changes in the Energy Policy Act of 2005.
62916 2012-05-09  Andreas Jaeger  <aj@suse.de>
62918         [BZ #13983]
62919         * elf/ldconfig.c (parse_conf): Change string to make clear that
62920         ldconfig only issued a warning if ld.so.conf does not exist.
62922 2012-05-08  David S. Miller  <davem@davemloft.net>
62924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62925         movxtod instead of popping the value on the stack.
62927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62929 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62931         * config.h.in: Add HAVE_ARM_PCS_VFP.
62933 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62935         [BZ #13979]
62936         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62937         checking but the checks are disabled for any reason.
62939 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62941         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62942         and ELF64_R_TYPE with ELFW(R_TYPE).
62944 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62946         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62947         (ulimit): Likewise.
62949         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62950         (settimeofday): Likewise.
62952 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62954         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62955         a struct th_u2 inside the union, and move tu_block/tu_code into
62956         a new th_u3 union of tu_block/tu_code inside of that.  Move
62957         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62958         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62959         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62960         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62961         (th_stuff): Change to th_u1.tu_stuff.
62962         (th_data): Define.
62963         (th_msg): Change to th_u1.th_u2.tu_data.
62965 2012-05-07  David S. Miller  <davem@davemloft.net>
62967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62969         [BZ #14074]
62970         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62971         (SETUP_PIC_REG): Use it.
62972         (SETUP_PIC_REG_LEAF): Use it.
62974 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62976         [BZ #13885]
62977         [BZ #13923]
62978         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62979         USE_AS_EXPM1L.
62980         (EXPL_FINITE): Likewise.
62981         (FLDLOG): Likewise.
62982         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62983         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62984         e_expl.S.
62985         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62986         USE_AS_EXPM1L.
62987         (EXPL_FINITE): Likewise.
62988         (FLDLOG): Likewise.
62989         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62990         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62991         e_expl.S.
62992         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62993         test of -max_value argument for long double.
62994         * sysdeps/i386/fpu/libm-test-ulps: Update.
62995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62997 2012-05-06  David S. Miller  <davem@davemloft.net>
62999         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63000         quad soft-float symbols whose references which are compiler
63001         generated.
63002         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63004 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63006         [BZ #13884]
63007         [BZ #13914]
63008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63009         USE_AS_EXP10L.
63010         (EXPL_FINITE): Likewise.
63011         (FLDLOG): Likewise.
63012         (c0): Likewise.
63013         (c1): Likewise.
63014         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63015         Adjust comments for base varying.
63016         (__expl_finite): Change alias to EXPL_FINITE.
63017         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63018         e_expl.S.
63019         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63020         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63021         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63022         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63023         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63024         USE_AS_EXP10L.
63025         (EXPL_FINITE): Likewise.
63026         (FLDLOG): Likewise.
63027         (c0): Likewise.
63028         (c1): Likewise.
63029         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63030         Adjust comments for base varying.
63031         (__expl_finite): Change alias to EXPL_FINITE.
63032         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63033         tests for bugs.
63034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63036         [BZ #14064]
63037         * math/libm-test.inc (check_float_internal): Correct ulp
63038         calculation for subnormal expected results.
63040 2012-05-06  Andreas Jaeger  <aj@suse.de>
63042         * Makeconfig (+math-flags): New, set to -frounding-math.
63043         (+cflags): Add +math-flags so that all of glibc gets compiled with
63044         it.
63046         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63048 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63050         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63051         Disable one test.
63053         [BZ #13787]
63054         [BZ #13922]
63055         [BZ #14036]
63056         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63057         (__ieee754_expl): Allow for and saturate large arguments.
63058         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63059         (u_threshold): Likewise.
63060         (__exp): Call __ieee754_exp before checking for overflow and
63061         underflow.
63062         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63063         (u_threshold): Likewise.
63064         (__expf): Call __ieee754_expf before checking for overflow and
63065         underflow.
63066         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63067         (u_threshold): Likewise.
63068         (__expl): Call __ieee754_expl before checking for overflow and
63069         underflow.
63070         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63071         (__ieee754_expl): Allow for and saturate large arguments.
63072         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63073         missing overflow exception on overflow.
63074         (expm1_test): Do not allow missing overflow exception on overflow.
63076         * sysdeps/i386/fpu/e_expl.c: Move to ...
63077         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63078         rather than using inline asm.
63079         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63080         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63081         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63083         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63084         (nice): Likewise.
63085         (poll): Likewise.
63086         (signal): Likewise.
63087         (time): Likewise.
63088         (times): Likewise.
63090 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63092         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63093         sysdeps/unix/common/syscalls.list.
63094         (fchmod): Likewise.
63095         (fchown): Likewise.
63096         (ftruncate): Likewise.
63097         (getrusage): Likewise.
63098         (gettimeofday): Likewise.
63099         (setpgid): Likewise.
63100         (setregid): Likewise.
63101         (setreuid): Likewise.
63102         (sigaction): Likewise.
63103         (truncate): Likewise.
63104         (vhangup): Likewise.
63105         * sysdeps/unix/common/syscalls.list: Remove file.
63106         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63107         * sysdeps/unix/sysv/linux/Implies: Likewise.
63109 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63111         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63113         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63114         Moved to ...
63115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63116         Here.
63117         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63118         to ...
63119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63120         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63121         to ...
63122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63123         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63124         to ...
63125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63126         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63127         to ...
63128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63129         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63130         to ...
63131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63132         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63133         to ...
63134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63135         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63136         to ...
63137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63138         Here.
63139         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63140         to ...
63141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63142         Here.
63143         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63144         to ...
63145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63146         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63147         Moved to ...
63148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63149         Here.
63150         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63151         to ...
63152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63154 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63156         * sysdeps/unix/common/bits/dirent.h: Remove file.
63157         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63159         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63160         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63161         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63162         * sysdeps/unix/bsd/isatty.c: Likewise.
63163         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63164         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63165         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63167 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63169         [BZ #13563]
63170         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63171         long double comparison inaccuracies.
63172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63175 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63177         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63178         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63180 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63182         [BZ #14049]
63183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63184         nonzero digits before rounding a hex value.
63185         * stdlib/tst-strtod.c (tests): Add another test.
63187 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63189         * sysdeps/s390/fpu/libm-test-ulps: Update.
63191 2012-05-03  Andreas Jaeger  <aj@suse.de>
63193         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63194         does not get optimized out.
63195         (malloc_opt_barrier): New.
63197 2012-05-03  Andreas Jaeger  <aj@suse.de>
63198             Roland McGrath  <roland@hack.frob.com>
63200         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63201         intermediate file deletion.
63202         (generated): Add .symlist files.
63204 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63206         [BZ #13775]
63207         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63208         Redirect under this condition.
63209         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63210         [__USE_GNU] (__dprintf_chk): Not under this condition.
63211         [__USE_GNU] (__vdprintf_chk): Likewise.
63212         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63213         under this condition.
63214         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63215         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63216         [__USE_XOPEN2K8] (vdprintf): Likewise.
63217         [__USE_GNU] (__dprintf_chk): Not under this condition.
63218         [__USE_GNU] (__vdprintf_chk): Likewise.
63219         [__USE_GNU] (dprintf): Likewise.
63220         [__USE_GNU] (vdprintf): Likewise.
63222 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63224         * elf/Makefile (common-generated): Set this instead of generated for
63225         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63226         $(all-built-dso)-derived lists.
63228 2012-05-03  Andreas Jaeger  <aj@suse.de>
63230         * sysdeps/i386/fpu/libm-test-ulps: Update.
63232         * FAQ: Removed.
63233         * FAQ.in: Likewise.
63234         * scripts/gen-FAQ.pl: Likewise.
63235         * manual/install.texi (Installation): Point to online location of
63236         FAQ.
63237         * Makefile (files-for-dist): Remove FAQ.
63238         (FAQ): Remove.
63240 2012-05-02  Allan McRae  <allan@archlinux.org>
63242         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63243         (LDFLAGS-reldepmod5.so): Likewise.
63244         (LDFLAGS-reldep6mod1.so): Likewise.
63245         (LDFLAGS-reldep6mod4.so): Likewise.
63246         (LDFLAGS-reldep8mod3.so): Likewise.
63247         (LDFLAGS-unload4mod1.so): Likewise.
63248         (LDFLAGS-unload4mod2.so): Likewise.
63249         (LDFLAGS-tst-initorder): Likewise.
63250         (LDFLAGS-tst-initordera2.so): Likewise.
63251         (LDFLAGS-tst-initordera3.so): Likewise.
63252         (LDFLAGS-tst-initordera4.so): Likewise.
63253         (LDFLAGS-tst-initorderb2.so): Likewise.
63254         (LDFLAGS-noload): Likewise.
63255         (LDFLAGS-next): Likewise.
63256         (LDFLAGS-order2mod1.so): Likewise.
63257         (LDFLAGS-order2mod2.so): Likewise.
63258         (LDFLAGS-tst-initorder2): Likewise.
63259         (LDFLAGS-tst-initorder2a.so): Likewise.
63260         (LDFLAGS-tst-initorder2b.so): Likewise.
63261         (LDFLAGS-tst-initorder2c.so): Likewise.
63262         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63264 2012-05-02  David S. Miller  <davem@davemloft.net>
63266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63268 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63270         [BZ #14055]
63271         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63273 2012-05-02  Andreas Jaeger  <aj@suse.de>
63275         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63276         since we manipulate rounding mode.
63277         (CPPFLAGS-test-idouble.c): Likewise.
63278         (CPPFLAGS-test-ifloat.c): Likewise.
63279         (CFLAGS-test-ldouble.c): Likewise.
63280         (CFLAGS-test-double.c): Likewise.
63281         (CFLAGS-test-float.c): Likewise.
63282         (CFLAGS-test-misc.c): Likewise.
63283         (CFLAGS-test-test-fenv.c): Likewise.
63285 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63287         [BZ #2550]
63288         [BZ #2570]
63289         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63290         comparisons to determine direction to adjust input.
63292 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63294         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63295         output to the target.
63297         * scripts/localplt.awk: New file.
63298         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63299         (check-localplt-CFLAGS): Variable removed.
63300         ($(all-built-dso:=.jmprel)): New static pattern rule.
63301         (generated): Add those targets.
63302         (localplt-built-dso): New variable.
63303         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63305         * elf/check-localplt.c: File removed.
63307         * scripts/check-execstack.awk: New file.
63308         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63309         (check-execstack-CFLAGS): Variable removed.
63310         ($(objpfx)check-execstack.h): Target removed.
63311         ($(objpfx)execstack-default): New target.
63312         (generated): Add that instead of check-execstack.h.
63313         ($(all-built-dso:=.phdr)): New static pattern rule.
63314         (generated): Add those targets.
63315         * elf/check-execstack.c: File removed.
63317         * scripts/check-textrel.awk: New file.
63318         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63319         (check-textrel-CFLAGS): Variable removed.
63320         (all-built-dso): Use := to define.o
63321         ($(all-built-dso:=.dyn)): New static pattern rule.
63322         (generated): Add those targets.
63323         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63324         * config.make.in (READELF): New substituted variable.
63325         * elf/check-textrel.c: File removed.
63327 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63329         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63330         allow.
63331         * conform/data/ctype.h-data [C99-based standards] (isblank):
63332         Expect function.
63333         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63334         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63335         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63336         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63337         Specify type.  Require positive value.
63338         (EILSEQ): Likewise.
63339         (ERANGE): Likewise.
63340         [ISO || POSIX] (EILSEQ): Do not expect.
63341         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63342         Specify type.  Require positive value.
63343         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63344         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63345         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63346         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63347         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63348         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63349         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63350         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63351         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63352         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63353         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63354         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63355         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63356         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63357         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63358         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63359         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63360         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63361         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63362         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63363         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63364         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63365         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63366         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63367         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63368         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63369         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63370         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63371         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63372         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63373         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63374         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63375         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63376         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63377         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63378         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63379         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63380         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63381         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63382         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63383         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63384         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63385         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63386         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63387         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63388         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63389         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63390         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63391         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63392         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63393         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63394         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63395         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63396         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63397         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63398         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63399         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63400         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63401         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63402         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63403         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63404         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63405         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63406         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63407         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63408         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63409         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63410         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63411         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63412         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63413         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63414         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63415         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63416         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63417         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63418         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63419         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63420         Require >= 2.
63421         (FLT_ROUNDS): Expect as macro, not constant.
63422         (FLT_MANT_DIG): Use macro-int-constant.
63423         (DBL_MANT_DIG): Likewise.
63424         (LDBL_MANT_DIG): Likewise.
63425         (FLT_DIG): Likewise.
63426         (DBL_DIG): Likewise.
63427         (LDBL_DIG): Likewise.
63428         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63429         (DBL_MIN_EXP): Likewise.
63430         (LDBL_MIN_EXP): Likewise.
63431         (FLT_MAX_EXP): Use macro-int-constant.
63432         (DBL_MAX_EXP): Likewise.
63433         (LDBL_MAX_EXP): Likewise.
63434         (FLT_MAX_10_EXP): Likewise.
63435         (DBL_MAX_10_EXP): Likewise.
63436         (LDBL_MAX_10_EXP): Likewise.
63437         (FLT_MAX): Use macro-constant.
63438         (DBL_MAX): Likewise.
63439         (LDBL_MAX): Likewise.
63440         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63441         (DBL_EPSILON): Likewise.
63442         (LDBL_EPSILON): Likewise.
63443         (FLT_MIN): Likewise.
63444         (DBL_MIN): Likewise.
63445         (LDBL_MIN): Likewise.
63446         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63447         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63448         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63449         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63450         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63451         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63452         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63453         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63454         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63455         [ISO11] (FLT_TRUE_MIN): Likewise.
63456         [ISO11] (LDBL_TRUE_MIN): Likewise.
63457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63458         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63459         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63460         (SCHAR_MAX): Likewise.
63461         (UCHAR_MAX): Likewise.
63462         (CHAR_MIN): Likewise.
63463         (CHAR_MAX): Likewise.
63464         (MB_LEN_MAX): Use macro-int-constant.
63465         (SHRT_MIN): Use macro-int-constant.  Specify type.
63466         (SHRT_MAX): Likewise.
63467         (USHRT_MAX): Likewise.
63468         (INT_MAX): Likewise.
63469         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63470         bound negative.
63471         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63472         bound with "U".
63473         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63474         bound with "L".
63475         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63476         bound negative.  Suffix upper bound with "L".
63477         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63478         bound with "UL".
63479         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63480         Specify type.
63481         [C99-based standards] (LLONG_MAX): Likewise.
63482         [C99-based standards] (ULLONG_MAX): Likewise.
63483         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63484         == 0.
63485         [ISO11] (max_align_t): Require type.
63486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63488         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63489         from $CFLAGS, without defining away __attribute__ calls.
63490         (checknamespace): Use $CFLAGS_namespace.
63492         * conform/conformtest.pl (@keywords): Only include C99 keywords
63493         for standards based on C99 or C11.
63495         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63496         Disable tests.
63497         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63498         UNIX98]: Likewise.
63500         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63501         usability of symbols in #if.
63503         * conform/conformtest.pl: If macro or constant types start
63504         "promoted:", expect the symbol to be of the following type
63505         promoted by the integer promotions.
63507         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63508         in one place.  Also handle "macro-constant".
63510         * conform/conformtest.pl: Only accept expected macro values with
63511         "==".  Parse all "macro" lines in one place.
63512         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63514         * conform/conformtest.pl: Handle braced types on "constant" lines
63515         instead of handling "typed-constant".
63516         * conform/data/signal.h-data: Use "constant" instead of
63517         "typed-constant".
63519         * conform/conformtest.pl: Handle "optional-" at start of lines in
63520         one place rather than duplicating several cases.  Handle each
63521         format of "macro" line with initial "optional-".
63523         * conform/conformtest.pl: Only accept expected constant or
63524         optional-constant values with "==".  Parse all "constant" lines in
63525         one place.  Parse all "optional-constant" lines in one place.
63526         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63527         * conform/data/fmtmsg.h-data: Likewise.
63528         * conform/data/netinet/in.h-data: Likewise.
63529         * conform/data/tar.h-data: Likewise.
63530         * conform/data/limits.h-data: Use "==" form on "constant" and
63531         "optional-constant" lines.
63533         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63534         Use -std=c99 for XOPEN2K.
63535         (@knownproblems): Remove.
63536         (newtoken): Don't check %isknown.
63538         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63539         Do not expect macro.
63540         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63541         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63542         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63543         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63544         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63545         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63546         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63547         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63548         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63549         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63550         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63551         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63552         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63553         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63554         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63555         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63556         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63557         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63558         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63559         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63560         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63561         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63562         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63563         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63564         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63565         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63566         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63567         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63568         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63569         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63570         [XPG3] (acosh): Likewise.
63571         [XPG3] (asinh): Likewise.
63572         [XPG3] (atanh): Likewise.
63573         [XPG3] (cbrt): Likewise.
63574         [XPG3] (expm1): Likewise.
63575         [XPG3] (ilogb): Likewise.
63576         [XPG3] (log1p): Likewise.
63577         [XPG3] (logb): Likewise.
63578         [XPG3] (nextafter): Likewise.
63579         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63580         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63581         [XPG3] (remainder): Likewise.
63582         [XPG3] (rint): Likewise.
63583         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63584         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63585         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63586         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63587         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63588         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63589         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63590         [UNIX98 || XOPEN2K] (scalb): Expect.
63591         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63592         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63593         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63594         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63595         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63596         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63597         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63598         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63599         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63600         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63601         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63602         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63603         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63604         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63605         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63606         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63607         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63608         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63609         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63610         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63611         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63612         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63613         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63614         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63615         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63616         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63617         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63618         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63619         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63620         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63621         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63622         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63623         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63624         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63625         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63626         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63627         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63628         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63629         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63630         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63631         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63632         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63633         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63634         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63635         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63636         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63637         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63638         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63639         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63640         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63641         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63642         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63643         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63644         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63645         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63646         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63647         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63648         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63649         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63650         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63651         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63652         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63653         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63655         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63656         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63657         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63658         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63664         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63665         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63666         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63670         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63671         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63672         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63673         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63674         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63675         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63676         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63677         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63678         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63681         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63682         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63690         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63691         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63692         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63729         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63730         _XOPEN_SOURCE_EXTENDED for XPG4.
63732         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63734         * Makeconfig (localtime): Remove variable.
63735         (inst_localtime-file): Likewise.
63737 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63740         Update.
63741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63742         Update.
63743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63744         Update.
63745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63746         Update.
63747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63748         Update.
63749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63750         Update.
63751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63752         Update.
63753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63754         Update.
63755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63756         Update.
63758 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63760         [BZ #2550]
63761         [BZ #2570]
63762         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63763         comparisons to determine direction to adjust input.
63764         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63765         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63767         Likewise.
63768         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63769         Likewise.
63770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63771         Likewise.
63772         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63773         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63774         Likewise.
63775         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63776         Likewise.
63777         * math/libm-test.inc (nexttoward_test): Add more tests.
63779 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63781         [BZ #14040]
63782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63783         in version GLIBC_2.1, not GLIBC_2.0.
63784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63785         Likewise.
63787 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63789         [BZ #13942]
63790         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63791         (1 - x) * (1 + x).
63792         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63793         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63794         * math/libm-test.inc (acos_test): Add more tests.
63795         (asin_test): Likewise.
63796         * sysdeps/i386/fpu/libm-test-ulps: Update.
63797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63799         [BZ #14034]
63800         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63801         of square root.
63802         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63803         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63804         * math/libm-test.inc (acos_test_tonearest): New function.
63805         (acos_test_towardzero): Likewise.
63806         (acos_test_downward): Likewise.
63807         (acos_test_upward): Likewise.
63808         (asin_test_tonearest): Likewise.
63809         (asin_test_towardzero): Likewise.
63810         (asin_test_downward): Likewise.
63811         (asin_test_upward): Likewise.
63812         (main): Call the new functions.
63813         * sysdeps/i386/fpu/libm-test-ulps: Update.
63814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63816         [BZ #13884]
63817         [BZ #13924]
63818         * math/e_exp10.c: Include <float.h>.
63819         (__ieee754_exp10): Handle underflow here rather than multiplying
63820         large negative argument by M_LN10.
63821         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63822         of __ieee754_expf.
63823         * math/e_exp10l.c: Include <float.h>.
63824         (__ieee754_exp10l): Handle underflow here rather than multiplying
63825         large negative argument by M_LN10l.
63826         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63827         spurious overflow exception on underflow.
63829 2012-04-29  Marek Polacek  <polacek@redhat.com>
63831         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63832         (__fortify_function): New macro.
63833         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63834         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63835         __extern_always_inline.
63836         * libio/bits/stdio2.h: Likewise.
63837         * libio/bits/stdio.h: Likewise.
63838         * string/string.h: Likewise.
63839         * string/bits/string3.h: Likewise.
63840         * include/stdio.h: Likewise.
63841         * stdlib/bits/stdlib.h: Likewise.
63842         * stdlib/stdlib.h: Likewise.
63843         * rt/bits/mqueue2.h: Likewise.
63844         * rt/mqueue.h: Likewise.
63845         * posix/bits/unistd.h: Likewise.
63846         * posix/unistd.h: Likewise.
63847         * io/bits/poll2.h: Likewise.
63848         * io/bits/fcntl2.h: Likewise.
63849         * io/fcntl.h: Likewise.
63850         * io/sys/poll.h: Likewise.
63851         * misc/bits/syslog.h: Likewise.
63852         * misc/bits/syslog-ldbl.h: Likewise.
63853         * misc/sys/syslog.h: Likewise.
63854         * socket/bits/socket2.h: Likewise.
63855         * socket/sys/socket.h: Likewise.
63856         * debug/tst-chk1.c: Likewise.
63857         * wcsmbs/bits/wchar2.h: Likewise.
63858         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63859         * wcsmbs/wchar.h: Likewise.
63861 2012-04-29  Andreas Jaeger  <aj@suse.de>
63863         * Makerules (tests): Remove enable-check-abi protection.
63864         (check-abi-warn): Remove.
63865         (check-abi-%): Remove check-abi-warn usage.
63867         * configure.in: Remove check-abi configure option.
63868         * configure: Regenerated.
63869         * config.make.in (enable-check-abi): Remove.
63871 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63873         [BZ #14033]
63874         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63875         double functions to double *_finite functions.
63877         [BZ #13941]
63878         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63879         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63880         LDBL_MIN_EXP.
63881         * stdio-common/Makefile (tests): Add tst-sprintf3.
63882         * stdio-common/tst-sprintf3.c: New file.
63884         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63885         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63887 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63889         * conform/conformtest.pl: Remove duplicate typed-constant
63890         handling.
63892 2012-04-28  David S. Miller  <davem@davemloft.net>
63894         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63895         (check-abi-%): Remove AWK script prerequisite and explicit
63896         abilist directory.
63897         (check-abi): Rewrite to just diff the symlist with the abilist.
63898         (config-tls, config-abi-config): Delete, no longer used.
63899         (update-abi-%): Remove AWK script and explicit abilist directory.
63900         (update-abi): Rewrite to simply compare and conditionally copy the
63901         symlist and the sysdep abilist file.  Remove update-abi-config
63902         checks.
63903         * abilist/ld.abilist: Remove.
63904         * abilist/libBrokenLocale.abilist: Remove.
63905         * abilist/libanl.abilist: Remove.
63906         * abilist/libcrypt.abilist: Remove.
63907         * abilist/libdl.abilist: Remove.
63908         * abilist/librt.abilist: Remove.
63909         * abilist/libthread_db.abilist: Remove.
63910         * abilist/libutil.abilist: Remove.
63911         * scripts/extract-abilist.awk: Remove.
63912         * scripts/merge-abilist.awk: Remove.
63913         * sysdeps/generic/libcidn.abilist: New file.
63914         * sysdeps/generic/libnss_compat.abilist: New file.
63915         * sysdeps/generic/libnss_db.abilist: New file.
63916         * sysdeps/generic/libnss_dns.abilist: New file.
63917         * sysdeps/generic/libnss_files.abilist: New file.
63918         * sysdeps/generic/libnss_hesiod.abilist: New file.
63919         * sysdeps/generic/libnss_nis.abilist: New file.
63920         * sysdeps/generic/libnss_nisplus.abilist: New file.
63921         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63922         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63923         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63924         file.
63925         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63926         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63927         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63928         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63929         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63930         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63931         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63932         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63933         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63934         file.
63935         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63936         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63937         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63938         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63939         file.
63940         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63941         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63942         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63943         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63944         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63945         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63946         file.
63947         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63948         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63949         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63950         file.
63951         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63953         New file.
63954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63955         New file.
63956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63957         New file.
63958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63959         New file.
63960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63961         New file.
63962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63963         New file.
63964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63965         New file.
63966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63967         New file.
63968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63969         New file.
63970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63971         New file.
63972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63973         New file.
63974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63975         New file.
63976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63977         New file.
63978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63979         file.
63980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63981         New file.
63982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63983         New file.
63984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63985         file.
63986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63987         New file.
63988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63989         New file.
63990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63991         file.
63992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63993         New file.
63994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63995         New file.
63996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63997         New file.
63998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63999         New file.
64000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64001         New file.
64002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64003         New file.
64004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64006         file.
64007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64008         New file.
64009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64010         file.
64011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64012         file.
64013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64014         file.
64015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64016         file.
64017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64018         file.
64019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64020         New file.
64021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64022         file.
64023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64024         file.
64025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64026         New file.
64027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64028         file.
64029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64031         file.
64032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64033         New file.
64034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64035         file.
64036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64037         file.
64038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64039         file.
64040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64041         file.
64042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64043         file.
64044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64045         New file.
64046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64047         file.
64048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64049         file.
64050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64051         New file.
64052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64053         file.
64054         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64055         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64056         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64057         file.
64058         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64059         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64060         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64061         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64062         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64063         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64064         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64065         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64066         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64067         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64070         file.
64071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64072         New file.
64073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64074         file.
64075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64076         file.
64077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64078         file.
64079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64080         file.
64081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64082         file.
64083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64084         New file.
64085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64086         New file.
64087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64088         file.
64089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64090         New file.
64091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64092         file.
64093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64095         file.
64096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64097         New file.
64098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64099         file.
64100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64101         file.
64102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64103         file.
64104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64105         file.
64106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64107         file.
64108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64109         New file.
64110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64111         New file.
64112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64113         file.
64114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64115         New file.
64116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64117         file.
64119 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64121         * conform/conformtest.pl: Fix typo in handling typed-constant from
64122         allow-header.
64124 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64126         * README: Cut down references to pre-2.6 Linux kernels and
64127         Linuxthreads.  Update lists of configurations in libc and ports
64128         and sort alphabetically.  Say "or newer" with Linux kernel version
64129         requirements.
64131         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64133 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64135         [BZ #887]
64136         * math/libm-test.inc (logb_test_downward): New test to expose
64137         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64138         rounding mode.
64140 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64142         [BZ #14027]
64143         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64144         to be done.
64145         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64146         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64148 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64150         * sysdeps/unix/i386/brk.S: Remove file.
64151         * sysdeps/unix/i386/dl-brk.S: Likewise.
64152         * sysdeps/unix/i386/pipe.S: Likewise.
64153         * sysdeps/unix/i386/sigreturn.S: Likewise.
64154         * sysdeps/unix/i386/syscall.S: Likewise.
64155         * sysdeps/unix/i386/vfork.S: Likewise.
64156         * sysdeps/unix/i386/wait.S: Likewise.
64158         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64159         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64161         * configure.in (arm*-none*): Do not allow without
64162         --enable-hacker-mode.
64163         (netbsd*): Remove case setting base_os.
64164         (386bsd*): Likewise.
64165         (freebsd*): Likewise.
64166         (bsdi*): Likewise.
64167         (osf*): Likewise.
64168         (sunos*): Likewise.
64169         (ultrix*): Likewise.
64170         (newsos*): Likewise.
64171         (dynix*): Likewise.
64172         (*bsd*): Likewise.
64173         (sysv*): Likewise.
64174         (isc*): Likewise.
64175         (esix*): Likewise.
64176         (sco*): Likewise.
64177         (minix*): Likewise.
64178         (irix4*): Likewise.
64179         (irix6*): Likewise.
64180         (solaris[2-9]*): Likewise.
64181         (none): Likewise.
64182         * configure: Regenerated.
64184 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64186         [BZ #11521]
64187         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64188         overflow or cancellation in calculating denominator.
64189         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64190         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64191         down expression to avoid unexpected rounding in newer GCCs.
64192         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64194 2012-04-26  David S. Miller  <davem@davemloft.net>
64196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64197         long-double compat symbols.
64198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64212 2012-04-25  David S. Miller  <davem@davemloft.net>
64214         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64215         HWCAP_* values only after the memory barriers have been defined.
64216         (atomic_full_barrier): Define.
64217         (atomic_read_barrier): Define.
64218         (atomic_write_barrier): Define.
64220 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64222         * shlib-versions: Add libgcc_s version information.
64223         * sysdeps/generic/libgcc_s.h: Remove.
64224         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64225         libgcc_s.h.
64226         * sysdeps/gnu/unwind-resume.c: Likewise.
64227         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64229 2012-04-25  David S. Miller  <davem@davemloft.net>
64231         * sysdeps/unix/sparc/brk.S: Delete.
64232         * sysdeps/unix/sparc/dl-brk.S: Delete.
64233         * sysdeps/unix/sparc/pipe.S: Delete.
64234         * sysdeps/unix/sparc/sysdep.S: Delete.
64235         * sysdeps/unix/sparc/sysdep.h: Delete.
64236         * sysdeps/unix/sparc/vfork.S: Delete.
64237         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64238         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64239         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64240         (ret_ERRVAL, r0, r1, MOVE): Define.
64241         (JUMPTARGET): Remove.
64242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64243         sysdeps/unix/sparc/sysdep.h
64244         (ENTRY, END): Remove.
64245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64247 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64249         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64250         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64251         -DIS_IN_build.
64253         * timezone/README: Update upstream location and email address for
64254         tzcode and tzdata.
64255         * timezone/zdump.c: Update from tzcode 2012b.
64256         * timezone/zic.c: Likewise.
64258         * configure.in (libc_cv_as_needed): Remove test.
64259         * configure: Regenerated.
64260         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64261         conditional definition.
64262         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64263         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64264         * config.make.in (have-as-needed): Remove variable.
64266 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64267             Paul Pluzhnikov  <ppluzhnikov@google.com>
64269         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64270         strings correctly.
64272 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64274         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64275         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64276         * sysdeps/sh/strlen.S: Likewise.
64278 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64280         * sysdeps/unix/fork.S: Remove file.
64281         * sysdeps/unix/i386/fork.S: Likewise.
64282         * sysdeps/unix/sparc/fork.S: Likewise.
64284         * sysdeps/unix/system.c: Remove file.
64285         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64287         * sysdeps/unix/getegid.S: Remove file.
64288         * sysdeps/unix/geteuid.S: Likewise.
64290 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64292         * scripts/check-localplt.awk: New file.
64293         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64294         of diff.
64295         * scripts/data/localplt-generic.data: Add a comment.
64297         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64298         NODE when __dir_mkfile failed.
64299         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64300         Reported by Ludovic Courtès <ludo@gnu.org>.
64302 2012-04-24  Andreas Jaeger  <aj@suse.de>
64304         * Makerules (common-clean): Also remove gen-as-const-headers
64305         files.
64307 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64309         * Makerules (native-compile): Do not change working directory for
64310         build.  Use $(OUTPUT_OPTION) in command.
64311         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64313 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64315         [BZ #13886]
64316         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64317         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64318         * math/libm-test.inc (floor_test): Add more tests.
64319         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64321 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64323         * sysdeps/unix/getdents.c: Remove file.
64324         * sysdeps/unix/sysv/getdents.c: Likewise.
64325         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64327         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64328         sysdeps/unix/mman/syscalls.list.
64329         (mmap): Likewise.
64330         (mprotect): Likewise.
64331         (msync): Likewise.
64332         (munmap): Likewise.
64333         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64334         * sysdeps/unix/mman/syscalls.list: Remove.
64335         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64337         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64338         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64339         * configure: Regenerated.
64340         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64341         $(libgcc_s_suffix).
64342         * config.make.in (libgcc_s_suffix): Remove variable.
64344 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64346         * sysdeps/unix/sysv/gethostname.c: Move to ...
64347         * sysdeps/posix/gethostname.c: ... here.
64349         * sysdeps/unix/execve.S: Remove file.
64351         * sysdeps/unix/_exit.S: Remove file.
64353 2012-04-23  Andreas Jaeger  <aj@suse.de>
64355         [BZ #13739]
64356         * manual/Makefile: Remove make dist support, there's no
64357         need for a stand-alone documentation tar ball.
64358         (TEXI2DVI): Define always, it's not in Makeconfig.
64359         (dist): Removed.
64360         (tar-it): Removed.
64361         (edition): Removed.
64362         (glibc-doc-$(edition).tar): Removed
64363         (%.Z): Removed.
64364         (%.gz): Removed.
64365         (%.uu): Removed.
64366         (ETAGS): Remove, it's in Makeconfig.
64367         (move-if-change): Remove, it's in Makeconfig.
64369 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64371         [BZ #13970]
64372         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64373         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64374         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64375         (strtod_l, strtof_l, strtold_l): Remove __wur.
64376         It is not necessarily an error to ignore strtol's return value.
64377         One can reliably look at the stored endptr to decide whether
64378         the number had valid syntax.
64380 2012-04-21  Andreas Jaeger  <aj@suse.de>
64382         [BZ #13739]
64383         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64385 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64387         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64388         * sysdeps/unix/sysv/Versions: Remove file.
64390 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64392         [BZ #13927]
64393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64395 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64397         [BZ #7064]
64398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64399         version from __vm86.
64401 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64403         * sysdeps/unix/common/lxstat.c: Remove file.
64404         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64406         * sysdeps/unix/sysv/Makefile: Remove file.
64408         * sysdeps/unix/sysv/direct.h: Remove file.
64410         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64411         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64412         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64413         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64414         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64415         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64416         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64418         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64420         * sysdeps/unix/xmknod.c: Remove file.
64421         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64423         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64425         * sysdeps/unix/sysv/i386/time.S: Remove file.
64427         * sysdeps/unix/fxstat.c: Remove file.
64428         * sysdeps/unix/xstat.c: Likewise.
64429         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64431         * sysdeps/unix/sysv/sigaction.c: Remove file.
64433         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64434         (sysdep_headers): Remove variable.
64435         [termio.h not in sysdep_headers] (generated): Likewise.
64436         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64437         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64438         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64439         * sysdeps/unix/sysv/tcflow.c: Likewise.
64440         * sysdeps/unix/sysv/tcflush.c: Likewise.
64441         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64442         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64443         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64444         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64445         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64447         * sysdeps/unix/siglist.c: Remove file.
64449         * sysdeps/unix/getppid.S: Remove file.
64451         * sysdeps/unix/mkdir.c: Remove file.
64452         * sysdeps/unix/rmdir.c: Likewise.
64454 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64456         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64457         ERR_MAX value.
64458         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64459         errlist-compat value.
64461 2012-04-18  David S. Miller  <davem@davemloft.net>
64463         * sysdeps/generic/memcopy.h (reg_char): Delete.
64464         * debug/strcat_chk.c: Use char, not reg_char.
64465         * debug/strcpy_chk.c: Likewise.
64466         * debug/strncat_chk.c: Likewise.
64467         * debug/strncpy_chk.c: Likewise.
64468         * string/memchr.c: Likewise.
64469         * string/memrchr.c: Likewise.
64470         * string/rawmemchr.c: Likewise.
64471         * string/strcat.c: Likewise.
64472         * string/strchr.c: Likewise.
64473         * string/strchrnul.c: Likewise.
64474         * string/strcmp.c: Likewise.
64475         * string/strcpy.c: Likewise.
64476         * string/strncat.c: Likewise.
64477         * string/strncmp.c: Likewise.
64478         * string/strncpy.c: Likewise.
64480 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64482         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64483         __builtin_memcopy is called when src and dest ranges are known to not
64484         overlap.
64486 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64488         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64489         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64490         fwd_align_merge macro call.
64491         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64492         bwd_align_merge macro call.
64493         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64495 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64497         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64498         bwd_align_merge macros.
64499         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64500         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64501         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64503 2012-04-18  David S. Miller  <davem@davemloft.net>
64505         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64507 2012-04-18  Andreas Jaeger  <aj@suse.de>
64509         [BZ# 6794]
64510         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64511         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64512         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64515         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64516         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64518         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64519         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64520         Adjust for changed ldbl-128 files.
64522         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64523         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64524         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64526 2012-04-17  David S. Miller  <davem@davemloft.net>
64528         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64530 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64532         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64533         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64534         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64535         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64536         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64537         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64539 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64541         [BZ #6794]
64542         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64543         * math/libm-test.inc: Add ilogb errno and exception tests.
64544         * math/w_ilogb.c: New file: ilogb wrapper.
64545         * math/w_ilogbf.c: New file: ilogbf wrapper.
64546         * math/w_ilogbl.c: New file: ilogbl wrapper.
64547         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64548         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64549         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64550         exception being thrown with 0.0 as argument.
64551         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64552         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64553         exception being thrown with 0.0 as argument.
64554         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64555         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64556         exception being thrown with 0.0 as argument.
64557         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64558         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64559         exception being thrown with 0.0 as argument.
64560         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64561         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64562         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64563         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64564         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64565         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64566         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64567         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64568         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64570 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64572         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64573         with altivec.
64575 2012-04-16  Marek Polacek  <polacek@redhat.com>
64577         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64579 2012-04-16  Marek Polacek  <polacek@redhat.com>
64581         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64582         operands of fdivp instruction.
64584 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64586         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64587         * elf/tst-auditmod3b.c: Likewise.
64588         * elf/tst-auditmod4b.c: Likewise.
64589         * elf/tst-auditmod5b.c: Likewise.
64590         * elf/tst-auditmod6b.c: Likewise.
64591         * elf/tst-auditmod6c.c: Likewise.
64592         * elf/tst-auditmod7b.c: Likewise.
64593         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64594         * sysdeps/x86_64/preconfigure.in: Likewise.
64595         * sysdeps/x86_64/preconfigure: Regenerated.
64597 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64599         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64600         __ILP32__.
64602 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64604         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64605         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64607 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64609         [BZ #13973]
64610         * locale/iso-639.def: Fix gl language name. Spotted by
64611         Yaron Shahrabani.
64613 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64615         [BZ #2074]
64616         * libio/libio.h (__io_write_fn): Update comment.
64618 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64620         [BZ #2074]
64621         * stdio.texi (Hook Functions): The user provided writer function
64622         is not allowed to return -1.
64624 2012-04-11  David S. Miller  <davem@davemloft.net>
64626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64628 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64630         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64631         Add a leading slash to rtkaio.
64633 2012-04-11  Jim Meyering  <meyering@redhat.com>
64635         [BZ #11959]
64636         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64637         It is not necessarily an error to ignore fwrite's return
64638         value.  One can reliably use ferror to test for errors after
64639         the fact.
64641 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64643         * bits/types.h (__snseconds_t): New type.
64644         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64646         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64648         (__SNSECONDS_T_TYPE): Likewise.
64649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64650         (__SNSECONDS_T_TYPE): Likewise.
64651         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64652         (__SNSECONDS_T_TYPE): Likewise.
64654 2012-04-10  Andreas Jaeger  <aj@suse.de>
64656         [BZ #2636]
64657         * manual/time.texi (Processor Time): Return type of times is
64658         elapsed real time since an arbitrary point in the past.
64659         (CPU Time): Move CLK_TCK from here...
64660         (Processor Time): ...to here.  Correct description.
64661         * manual/conf.texi (Constants for Sysconf): Correct description of
64662         _SC_CLK_TCK.
64664 2012-04-10  David S. Miller  <davem@davemloft.net>
64666         [BZ #13967]
64667         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64668         where the is a gap between DT_REL(A) and DT_JMPREL.
64670 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64672         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64673         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64674         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64676 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64678         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64679         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64680         (dl_main): Handle --inhibit-cache.
64681         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64682         _dl_inhibit_cache.
64683         * elf/dl-load.c (_dl_map_object): Use it.
64684         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64686 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64688         [BZ #13872]
64689         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64690         (__ieee754_powl): Saturate large exponents rather than testing for
64691         overflow of y*log2(x).
64692         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64693         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64694         exceptions.
64696         [BZ #11521]
64697         * math/s_ctan.c: Include <float.h>.
64698         (__ctan): Avoid internal overflow or cancellation in calculating
64699         denominator.
64700         * math/s_ctanf.c: Likewise.
64701         * math/s_ctanl.c: Likewise.
64702         * math/s_ctanh.c: Likewise.
64703         * math/s_ctanhf.c: Likewise.
64704         * math/s_ctanhl.c: Likewise.
64705         * math/libm-test.inc (ctan_test): Add more tests.
64706         (ctanh_test): Likewise.
64707         * sysdeps/i386/fpu/libm-test-ulps: Update.
64708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64710 2012-04-09  Andreas Jaeger  <aj@suse.de>
64712         [BZ #6894]
64713         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64714         is an optional BSD extension.
64716         [BZ #10254]
64717         * manual/stdio.texi (Opening Streams): Document additional fopen
64718         parameters.
64720 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64722         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64723         %eax without telling the compiler.
64725 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64727         [BZ # 13963]
64728         * manual/install.texi: Use sourceware.org.
64730 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64732         [BZ #13873]
64733         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64734         (__ieee754_pow): Generate overflow and underflow using huge*huge
64735         and tiny*tiny rather than just returning constant infinity or zero
64736         for large exponents.
64737         * math/libm-test.inc (pow_test): Require overflow exceptions for
64738         applicable cases of large exponents.
64740         [BZ #706]
64741         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64742         (__ieee754_pow): Use iterative multiplication algorithm only for
64743         integer exponents with absolute value below 1024.  Check for odd
64744         integer exponents when using algorithm for real exponents.
64745         * math/libm-test.inc (pow_test): Add more tests.
64746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64748 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64750         [BZ #13705]
64751         * math/libm-test.inc (exp_test): Do not allow overflow exception
64752         on underflow test.
64754 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64756         [BZ #13705]
64757         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64758         instead of __kernel_standard_f.
64760 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64762         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64763         * sysdeps/x86_64/memset_chk.S: Likewise.
64765 2012-04-08  Andreas Jaeger  <aj@suse.de>
64767         [BZ #10153]
64768         * manual/startup.texi (Environment Access): Describe return value
64769         for putenv and setenv.
64771         [BZ #6895]
64772         * manual/filesys.texi (Directory Entries): Add description for
64773         DT_LNK.
64775         [BZ #6890]
64776         * manual/filesys.texi (Directory Entries): Clarify that it's file
64777         system not operating system in the description of DT_UNKNOWN.
64779         [BZ #6578]
64780         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64782 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64784         [BZ #6649]
64785         * manual/llio.texi (Opening and Closing Files): Add cross
64786         reference to explain mode argument.
64788 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64790         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64791         * sysdeps/x86_64/memset_chk.S: Likewise.
64793 2012-04-07  David S. Miller  <davem@davemloft.net>
64795         * elf/elf.h (R_SPARC_WDISP10): Define.
64796         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64797         R_SPARC_SIZE32.
64798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64799         R_SPARC_SIZE64 and R_SPARC_H34.
64801 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64803         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64804         conditions and remove no longer applicable assertion.
64806 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64808         * bits/byteswap.h: Include <features.h>.
64809         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64810         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64812 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64814         * bits/byteswap.h (__bswap_16): Removed.
64815         Include <bits/byteswap-16.h> to get __bswap_16.
64816         * sysdeps/i386/bits/byteswap.h: Likewise.
64817         * sysdeps/s390/bits/byteswap.h: Likewise.
64818         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64819         * bits/byteswap-16.h: New file.
64820         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64821         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64822         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64823         * string/Makefile (headers): Add bits/byteswap-16.h.
64825 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64827         [BZ #13895]
64828         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64829         extra indirection.
64830         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64831         * nss/tst-nss-static.c: New.
64833 2012-04-06  Robert Millan  <rmh@gnu.org>
64835         [BZ #6486]
64836         * manual/llio.texi (File Position Primitive): lseek
64837         refers to WHENCE when it really means OFFSET.
64839 2012-04-06  Andreas Jaeger  <aj@suse.de>
64841         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64842         strncmp declarations.
64844         * abilist/libc.abilist: Add __poll and __ppoll.
64846 2012-04-05  David S. Miller  <davem@davemloft.net>
64848         * scripts/check-local-headers.sh: Accept a host triplet in the
64849         path matched by the exclude regexp.
64851         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64852         definition.
64853         * sysdeps/powerpc/powerpc32/dl-machine.h
64854         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64855         * sysdeps/s390/s390-32/dl-machine.h
64856         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64857         * sysdeps/sparc/sparc32/dl-machine.h
64858         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64859         * sysdeps/sparc/sparc64/dl-machine.h
64860         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64862         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64863         lazy binding.
64864         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64865         undefined symbol errors.
64867         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64868         DT_NEEDED entries.
64870 2012-04-05  Michael Matz  <matz@suse.de>
64872         [BZ #13592]
64873         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64875 2012-04-05  Andreas Jaeger  <aj@suse.de>
64877         [BZ #13908]
64878         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64879         comment.
64881 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64883         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64884         which ROUND is no valid rounding mode.
64886 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64888         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64889         read again.
64890         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64892 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64894         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64895         an exception using FPU order intentionally.
64897 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64899         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64900         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64901         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64902         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64904 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64906         [BZ #12340]
64907         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64908         EINVAL when BUFLEN is too smal.
64910 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64912         [BZ #13553]
64913         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64914         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64916 2012-04-03  Andreas Jaeger  <aj@suse.de>
64918         [BZ #13938]
64919         * manual/setjmp.texi (System V contexts): Fix sentence.
64921         [BZ #13926]
64922         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64923         New macro for this case.
64924         [!__GNUC__] (__bswap_64): New inline function for this case.
64925         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64926         * bits/byteswap.h: Likewise.
64927         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64928         ull, guard with __GLIBC_HAVE_LONG_LONG.
64930         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64931         __GLIBC_HAVE_LONG_LONG.
64933         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64934         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64936 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64938         [BZ #13691]
64939         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64940         inptr and inend, rather than using last_ch.
64942 2012-04-02  David S. Miller  <davem@davemloft.net>
64944         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64945         * stdio-common/printf-parse.h (read_int): Change return type to
64946         'int', return -1 on INT_MAX overflow.
64947         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64948         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64949         overflows INT_MAX.  Check for overflow of in-format-string precision
64950         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64951         SIZE_MAX not INT_MAX for integer overflow test.
64952         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64953         skip the construct in the format string but do not record anything.
64954         * stdio-common/bug22.c: Adjust to test both width/prevision
64955         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64956         explicitly for proper errno values.
64958 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64960         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64961         CHAR_MAX.
64962         * string/test-strcmp.c [! WIDE]: Likewise.
64963         * time/tst-mktime2.c: Likewise for INT_MAX.
64964         * string/test-string.h: #include <sys/param.h> for MIN.
64966         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64967         * sysdeps/i386/init-first.c (init): Likewise.
64968         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64969         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64970         * sysdeps/sh/init-first.c (init): Likewise.
64972 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64974         * po/ru.po: Update from translation team.
64975         * po/vi.po: Likewise.
64977 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64979         * resolv/nss_dns/dns-host.c: Merge copyright years.
64981 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64983         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64984         Optimize memcpy with prefetch if
64985         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64986         src, dst pointers have unequal 16 byte alignments.
64988 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64990         [BZ #13928]
64991         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64992         from a CNAME entry and return the minimum ttl for the query.
64993         (gaih_getanswer_slice): Likewise.
64995 2012-03-30  Jeff Law  <law@redhat.com>
64997         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64998         due to long keys.
64999         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65000         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65002         * resolv/nss_dns/dns-host.c: Update copyright year.
65004 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65006         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65007         requests to save a system call.  Fix check that all bytes are sent.
65009         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65010         comments for sendmmsg.
65012 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65014         [BZ #13691]
65015         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65016         with only 1 character between 0x0041 and 0x01b0.
65017         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65018         * wcsmbs/tst-mbsnrtowcs.c: New file.
65020 2012-03-29  David S. Miller  <davem@davemloft.net>
65022         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65023         small copies by hand.
65025 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65027         [BZ #13761]
65028         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65029         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65030         group memberships.
65032 2012-03-28  David S. Miller  <davem@davemloft.net>
65034         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65035         that branches into memcpy.
65036         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65039         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65041         bits.
65042         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65043         implementation too.
65044         * sysdeps/sparc/mempcpy.S: New file.
65046         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65047         the IFUNC routine in the libc case.
65048         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65050         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65051         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65052         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65053         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65054         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65055         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65056         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65057         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65059         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65060         loop to 256 bytes instead of 64 bytes and fix test signedness.
65062         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65063         * sysdeps/sparc/sparc32/Makefile: rather than here...
65064         * sysdeps/sparc/sparc64/Makefile: and here.
65066 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65068         * malloc/mallocbug.c: Avoid warnings about unused variables.
65070 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65072         [BZ #13760]
65073         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65074         in the right place. Discard and retry query if response is
65075         larger than input buffer size.
65077 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65079         [BZ #369]
65080         [BZ #2678]
65081         [BZ #3866]
65082         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65083         x for large integer exponent.
65084         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65085         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65086         sign of result as needed afterwards.
65087         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65088         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65089         result for underflowing pow the same as for overflow.
65090         (__kernel_standard_l): Handle powl overflow and underflow here
65091         rather than calling __kernel_standard.
65092         * math/libm-test.inc (pow_test): Add more tests.
65094         [BZ #3868]
65095         [BZ #13879]
65096         [BZ #13910]
65097         [BZ #13911]
65098         [BZ #13912]
65099         [BZ #13913]
65100         [BZ #13915]
65101         [BZ #13916]
65102         [BZ #13917]
65103         [BZ #13918]
65104         [BZ #13919]
65105         [BZ #13920]
65106         [BZ #13921]
65107         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65108         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65109         (__kernel_standard_l): New function.
65110         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65111         __kernel_standard.
65112         * math/w_acosl.c (__acosl): Likewise.
65113         * math/w_asinl.c (__asinl): Likewise.
65114         * math/w_atan2l.c (__atan2l): Likewise.
65115         * math/w_atanhl.c (__atanhl): Likewise.
65116         * math/w_coshl.c (__coshl): Likewise.
65117         * math/w_exp10l.c (__exp10l): Likewise.
65118         * math/w_exp2l.c (__exp2l): Likewise.
65119         * math/w_fmodl.c (__fmodl): Likewise.
65120         * math/w_hypotl.c (__hypotl): Likewise.
65121         * math/w_j0l.c (__j0l, __y0l): Likewise.
65122         * math/w_j1l.c (__j1l, __y1l): Likewise.
65123         * math/w_jnl.c (__jnl, __ynl): Likewise.
65124         * math/w_lgammal.c (__lgammal): Likewise.
65125         * math/w_log10l.c (__log10l): Likewise.
65126         * math/w_log2l.c (__log2l): Likewise.
65127         * math/w_logl.c (__logl): Likewise.
65128         * math/w_powl.c (__powl): Likewise.
65129         * math/w_remainderl.c (__remainderl): Likewise.
65130         * math/w_scalbl.c (sysv_scalbl): Likewise.
65131         * math/w_sinhl.c (__sinhl): Likewise.
65132         * math/w_sqrtl.c (__sqrtl): Likewise.
65133         * math/w_tgammal.c (__tgammal): Likewise.
65134         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65135         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65136         * math/libm-test.inc (acos_test): Add more tests.
65137         (acosh_test): Likewise.
65138         (asin_test): Likewise.
65139         (atanh_test): Likewise.
65140         (exp_test): Likewise.
65141         (exp10_test): Likewise.
65142         (exp2_test): Likewise.
65143         (expm1_test): Likewise.
65144         (lgamma_test): Likewise.
65145         (log_test): Likewise.
65146         (log10_test): Likewise.
65147         (log1p_test): Likewise.
65148         (log2_test): Likewise.
65149         (pow_test): Do not allow some spurious overflow exceptions.
65150         (sqrt_test): Add more tests.
65151         (tgamma_test): Likewise.
65152         (y0_test): Likewise.
65153         (y1_test): Likewise.
65154         (yn_test): Likewise.
65156 2012-03-27  Anton Blanchard  <anton@samba.org>
65158         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65159         MAP_HUGETLB.
65160         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65161         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65162         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65164 2012-03-27  David S. Miller  <davem@davemloft.net>
65166         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65168         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65169         have-as-vis3 check.
65171 2012-03-27  Andreas Jaeger  <aj@suse.de>
65173         * sysdeps/x86_64/elf/configure.in: Moved to ...
65174         * sysdeps/x86_64/configure.in: ... here.
65175         * sysdeps/x86_64/elf/start.S: Moved to ...
65176         * sysdeps/x86_64/start.S: ... here.
65177         * sysdeps/x86_64/elf/configure: Delete.
65179         * sysdeps/x86_64/configure.in: Merge contents from
65180         sysdeps/i386/configure.in (without i686 check).
65182         * sysdeps/i386/elf/Versions: Merge into ...
65183         * sysdeps/i386/Versions: ... this.
65184         * sysdeps/i386/elf/Versions: Delete file.
65185         * sysdeps/i386/elf/start.S: Moved to ...
65186         * sysdeps/i386/start.S: ...here.
65187         * sysdeps/i386/elf/configure.in: Merge into...
65188         * sysdeps/i386/configure.in: ...here.
65189         * sysdeps/i386/elf/configure.in: Delete file.
65190         * sysdeps/i386/elf/configure: Delete file.
65192         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65193         * debug/backtracesyms.c: ... here.
65194         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65195         * debug/backtracesymsfd.c: ... here.
65196         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65197         * sysdeps/generic/ifunc-sel.h: ... here.
65199         * sysdeps/unix/i386/start.c: Delete file.
65200         * sysdeps/unix/sparc/start.c: Delete file.
65201         * sysdeps/unix/start.c: Delete file.
65203         * sysdeps/sh/elf/configure.in: Moved to ...
65204         * sysdeps/sh/configure.in: ... here.
65205         * sysdeps/sh/elf/start.S: Moved to ...
65206         * sysdeps/sh/start.S: ... here.
65207         * sysdeps/sh/elf/configure: Delete file.
65209         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65210         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65211         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65212         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65213         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65214         * sysdeps/powerpc/powerpc64/start.S: here.
65215         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65216         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65217         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65218         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65219         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65221         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65222         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65223         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65224         * sysdeps/powerpc/powerpc32/start.S: ... here.
65225         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65226         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65227         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65229         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65230         * sysdeps/powerpc/ifunc-sel.h: ... here.
65231         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65232         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65234         * sysdeps/sparc/elf/configure.in: Moved to ...
65235         * sysdeps/sparc/configure.in: ... here.
65236         * sysdeps/sparc/elf/configure: Delete file.
65237         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65238         * sysdeps/sparc/sparc32/start.S: ... here.
65239         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65240         * sysdeps/sparc/sparc64/start.S: ... here.
65241         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65242         * sysdeps/sparc/sparc32/Makefile: ... this.
65243         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65244         * sysdeps/sparc/sparc64/Makefile: ... this.
65246         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65247         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65248         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65249         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65250         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65251         * sysdeps/s390/s390-32/setjmp.S: ... here.
65252         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65253         * sysdeps/s390/s390-32/configure.in: ... here.
65254         * sysdeps/s390/s390-32/elf/configure: Delete file.
65255         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65256         * sysdeps/s390/s390-32/start.S: ... here.
65258         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65259         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65260         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65261         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65262         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65263         * sysdeps/s390/s390-64/setjmp.S: ... here.
65264         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65265         * sysdeps/s390/s390-64/configure.in: ... here
65266         * sysdeps/s390/s390-64/elf/configure: Delete file.
65267         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65268         * sysdeps/s390/s390-64/start.S: ... here.
65269         * sysdeps/s390/s390-64/elf/configure: Delete.
65271         * configure.in: Remove support for elf directories in sysdeps.
65273         * configure: Regenerated.
65274         * sysdeps/i386/configure: Regenerated.
65275         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65276         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65277         * sysdeps/s390/s390-32/configure: Regenerated.
65278         * sysdeps/s390/s390-64/configure: Regenerated.
65279         * sysdeps/sh/configure: Regenerated.
65280         * sysdeps/sparc/configure: Regenerated.
65281         * sysdeps/x86_64/configure: Regenerated.
65283 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65287         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65288         denormal result into account.
65290 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65292         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65293         Reported by Allan McRae <allan@archlinux.org>.
65295 2012-03-23  Jeff Law  <law@redhat.com>
65297         * nss/getnssent.c (__nss_getent): Fix typo.
65299 2012-03-23  David S. Miller  <davem@davemloft.net>
65301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65303 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65305         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65306         to pad to uint64_t for each field.
65307         (dl_tls_index): Replace unsigned long with uint64_t.
65309 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65310         Paul Pluzhnikov  <ppluzhnikov@google.com>
65312         [BZ #6528]
65313         * grp/Makefile (otherlibs): Don't set it.
65314         * inet/Makefile (otherlibs): Likewise.
65315         * login/Makefile (otherlibs): Likewise.
65316         * nscd/Makefile (otherlibs): Likewise.
65317         * posix/Makefile (otherlibs): Likewise.
65318         * pwd/Makefile (otherlibs): Likewise.
65319         * rt/Makefile (otherlibs): Likewise.
65320         * sunrpc/Makefile (otherlibs): Likewise.
65321         * nss/Makefile (otherlibs): Likewise.
65322         Add libnss_files to routines and static-only-routines.
65323         ($(objpfx)getent): Remove rule.
65324         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65325         static-only-routines.
65327 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65329         [BZ #13892]
65330         * math/s_cexp.c: Include <float.h>.
65331         (__cexp): Handle exp result overflowing not necessarily
65332         overflowing both real and imaginary parts of result.
65333         * math/s_cexpf.c: Likewise.
65334         * math/s_cexpl.c: Likewise.
65335         * math/libm-test.inc (cexp_test): Add more tests.
65336         * sysdeps/i386/fpu/libm-test-ulps: Update.
65337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65339 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65341         * include/link.h (ELFW): New macro.
65342         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65343         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65345 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65347         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65348         with uint64_t.
65350 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65352         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65353         declaration.
65354         (struct La_x32_retval): Likewise.
65356 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65358         * sysdeps/x86_64/preconfigure.in: New file.
65359         * sysdeps/x86_64/preconfigure: New generated file.
65361 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65363         [BZ #13824]
65364         * math/e_exp2l.c: Include <float.h>.
65365         (__ieee754_exp2l): Handle overflow and underflow cases
65366         separately.  Only pass fractional part of argument to
65367         __ieee754_expl.
65368         * math/libm-test.inc (exp2_test): Add more tests.
65370         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65371         negating x to take absolute value.
65372         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65373         Likewise.
65374         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65375         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65376         Likewise.
65377         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65378         computing low part if x was negated.
65379         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65381 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65383         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65384         la_x32_gnu_pltexit.
65385         (pltexit): Cast int_retval to ptrdiff_t.
65386         * elf/tst-auditmod3b.c: Likewise.
65387         * elf/tst-auditmod4b.c: Likewise.
65388         * elf/tst-auditmod5b.c: Likewise.
65389         * elf/tst-auditmod6b.c: Likewise.
65390         * elf/tst-auditmod6c.c: Likewise.
65391         * elf/tst-auditmod7b.c: Likewise.
65393         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65394         and x32_gnu_pltexit.
65396         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65397         __ELF_NATIVE_CLASS.
65398         (La_x32_regs): New macro.
65399         (La_x32_retval): Likewise.
65400         (la_x32_gnu_pltenter): New function prototype.
65401         (la_x32_gnu_pltexit): Likewise.
65403 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65405         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65406         exponent.
65408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65410         * configure.in (libc_cv_cc_nofma): Check for option to disable
65411         generation of FMA instructions.
65412         * configure: Regenerate.
65413         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65414         * sysdeps/ieee754/dbl-64/Makefile: New file.
65415         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65416         Remove brandred-fma4.
65417         (CFLAGS-brandred-fma4.c): Remove.
65418         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65419         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65420         define.
65421         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65422         define.
65424 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65426         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65427         LLONG_MAX != LONG_MAX.
65428         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65429         (_fitoa_word): Likewise.
65430         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65431         LLONG_MAX != LONG_MAX.
65432         * stdio-common/_itowa.h: Include <_itoa.h>.
65433         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65434         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65435         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65436         only if not defined.
65437         (_ITOA_WORD_TYPE): Likewise.
65438         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65439         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65441 2012-03-21  David S. Miller  <davem@davemloft.net>
65443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65445 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65447         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65448         of x86_64 when setting libc_cv_slibdir, libdir and
65449         libc_cv_localedir.
65450         * sysdeps/unix/sysv/linux/configure: Regenerated.
65452 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65454         * manual/lang.texi (Old Varargs): Remove section.
65455         (How Variadic): Update menu.
65456         (va_start): Do not mention varargs.h.
65458 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65459             Joseph Myers  <joseph@codesourcery.com>
65461         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65462         link test.
65463         * configure: Regenerated.
65465 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65467         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65468         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65469         conformtest.pl
65471 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65473         * NOTES: Remove.
65474         * Makefile (files-for-dist): Remove NOTES.
65475         (NOTES): Remove rule.
65476         * README: Don't refer to NOTES.
65477         * manual/creature.texi: Don't include macros.texi.
65478         * manual/intro.texi (creature.texi): Remove comment referring to
65479         NOTES.
65481         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65482         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65483         * configure: Regenerated.
65484         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65485         LIBC_TRY_CC_OPTION.
65486         (libc_cv_as_i686): Likewise.
65487         (libc_cv_cc_avx): Likewise.
65488         (libc_cv_cc_sse2avx): Likewise.
65489         (libc_cv_cc_fma4): Likewise.
65490         (libc_cv_cc_novzeroupper): Likewise.
65491         * sysdeps/i386/configure: Regenerated.
65493         [BZ #13883]
65494         * sysdeps/i386/fpu/s_cexp.S: Remove.
65495         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65496         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65497         * math/libm-test.inc (cexp_test): Add more tests.
65498         * sysdeps/i386/fpu/libm-test-ulps: Update.
65499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65501 2012-03-21  Allan McRae  <allan@archlinux.org>
65503         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65505 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65507         [BZ #13871]
65508         * math/w_exp2.c: Do not include <float.h>.
65509         (o_threshold, u_threshold): Remove.
65510         (__exp2): Calculate result before checking finiteness and calling
65511         __kernel_standard.
65512         * math/w_exp2f.c: Likewise.
65513         * math/w_exp2l.c: Likewise.
65514         * math/libm-test.inc (exp2_test): Require overflow exception for
65515         1e6 input.
65517         [BZ #3866]
65518         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65519         range of signed 64-bit integers before using fistpll.  Remove
65520         checks for whether integers fit in mantissa bits.
65521         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65522         the range of signed 32-bit integers before using fistpl.  Remove
65523         checks for whether integers fit in mantissa bits.
65524         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65525         (__ieee754_powl): Test for y outside the range of signed 64-bit
65526         integers before using fistpll.  Reduce 64-bit values to 63-bit
65527         ones as needed.
65528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65529         divide-by-zero is raised for zero to large negative powers.
65530         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65531         (__ieee754_powl): Test for y outside the range of signed 64-bit
65532         integers before using fistpll.  Reduce 64-bit values to 63-bit
65533         ones as needed.
65534         * math/libm-test.inc (pow_test): Add more tests.
65536 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65538         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65539         <stdio-common/_itoa.h>.
65540         * debug/segfault.c: Likewise.
65541         * elf/dl-cache.c: Likewise.
65542         * elf/dl-minimal.c: Likewise.
65543         * elf/dl-misc.c: Likewise.
65544         * elf/dl-sysdep.c: Likewise.
65545         * elf/dl-version.c: Likewise.
65546         * elf/rtld.c: Likewise.
65547         * hurd/hurdsock.c: Likewise.
65548         * hurd/lookup-retry.c: Likewise.
65549         * malloc/malloc.c: Likewise.
65550         * malloc/mtrace.c: Likewise.
65551         * nscd/nscd_getgr_r.c: Likewise.
65552         * nscd/nscd_getpw_r.c: Likewise.
65553         * nscd/nscd_getserv_r.c: Likewise.
65554         * posix/getopt_init.c: Likewise.
65555         * posix/wordexp.c: Likewise.
65556         * stdio-common/_itoa.c: Likewise.
65557         * stdio-common/printf_fphex.c: Likewise.
65558         * stdio-common/vfprintf.c: Likewise.
65559         * string/_strerror.c: Likewise.
65560         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65561         * sysdeps/i386/i686/hp-timing.h: Likewise.
65562         * sysdeps/mach/_strerror.c: Likewise.
65563         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65564         * sysdeps/mach/hurd/sethostid.c: Likewise.
65565         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65566         * sysdeps/mach/xpg-strerror.c: Likewise.
65567         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65569         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65570         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65571         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65572         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65573         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65574         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65575         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65576         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65577         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65578         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65579         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65580         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65581         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65582         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65583         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65584         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65585         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65586         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65587         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65589         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65591         * stdio-common/_itoa.h: Moved to ...
65592         * sysdeps/generic/_itoa.h: Here.
65594         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65596         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65597         instead of "_itoa.h" and "_itowa.h".
65598         * stdio-common/vfprintf.: Likewise.
65600 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65602         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65603         <bits/wordsize.h>.
65604         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65605         (__signbit): Likwise.
65606         (llrintf): Likwise.
65607         (llrint): Likwise.
65609 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65611         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65612         __WORDSIZE != 64.
65614 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65616         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65617         OVERFLOW_EXCEPTION_OK.
65618         * math/libm-test.inc ("Philosophy"): Update comment about
65619         exception testing.
65620         (OVERFLOW_EXCEPTION): Define.
65621         (OVERFLOW_EXCEPTION_OK): Likewise.
65622         (INVALID_EXCEPTION_OK): Renumber.
65623         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65624         (IGNORE_ZERO_INF_SIGN): Likewise.
65625         (test_exceptions): Handle FE_OVERFLOW.
65626         (exp10_test): Expect overflow exceptions.
65627         (exp2_test): Likewise.
65628         (expm1_test): Likewise.
65629         (nextafter_test): Likewise.
65630         (pow_test): Likewise.
65631         (scalbn_test): Likewise.
65632         (scalbln_test): Likewise.
65634 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65636         * sysdeps/x86_64/bits/atomic.h
65637         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65638         64bit integer.
65639         (atomic_exchange_acq): Likewise.
65640         (__arch_exchange_and_add_body): Likewise.
65641         (__arch_add_body): Likewise.
65642         (atomic_add_negative): Likewise.
65643         (atomic_add_zero): Likewise.
65645 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65647         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65648         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65650 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65652         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65653         Check __x86_64__ instead of __WORDSIZE.
65655 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65657         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65659 2012-03-19  David S. Miller  <davem@davemloft.net>
65661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65663         * sysdeps/sparc/fpu/fenv_private.h: New file.
65664         * sysdeps/sparc/fpu/math_private.h: Use it.
65665         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65666         Remove.
65667         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65668         (libc_feholdexcept_setroundl): Remove.
65669         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65670         Remove.
65671         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65672         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65674 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65676         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65677         int64_t instead of long int.
65678         (INSERT_WORDS64): Likwise.
65680 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65682         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65683         _Unwind_GetCFA return to _Unwind_Ptr first.
65685 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65687         [BZ #13629]
65688         * math/s_clog.c: Include <float.h>.
65689         (__clog): Scale large or subnormal inputs.
65690         * math/s_clogf.c: Likewise.
65691         * math/s_clogl.c: Likewise.
65692         * math/s_clog10.c: Include <float.h>.
65693         (M_LOG10_2): Define.
65694         (__clog10): Scale large or subnormal inputs.
65695         * math/s_clog10f.c: Likewise.
65696         * math/s_clog10l.c: Likewise.
65697         * math/libm-test.inc (clog_test): Add more tests.
65698         (clog10_test): Likewise.
65699         * sysdeps/i386/fpu/libm-test-ulps: Update.
65700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65702         [BZ #11451]
65703         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65704         x and y.
65705         * math/libm-test.inc (atan2_test): Add another test.
65707         * Makerules (common-objdir-compile): Remove.
65708         * sysdeps/unix/Makefile (config-generated): Do not add
65709         $(unix-generated) to variable.
65710         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65711         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65712         Remove rule.
65713         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65714         Likewise.
65715         [generic bits/local_lim.h] (before-compile): Do not append to
65716         variable.
65717         [generic bits/local_lim.h] (common-generated): Likewise.
65718         [generic sys/param.h] (before-compile): Do not append to variable.
65719         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65720         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65721         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65722         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65723         include.
65724         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65725         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65726         [generic sys/param.h] ($(addprefix
65727         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65728         [generic sys/param.h] (common-generated): Do not append to
65729         variable.
65730         [generic sys/param.h] (sysdep_headers): Likewise.
65731         [generic bits/errno.h] (before-compile): Do not append to
65732         variable.
65733         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65734         rule.
65735         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65736         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65737         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65738         [generic bits/errno.h] (common-generated): Do not append to
65739         variable.
65740         [generic bits/ioctls.h] (before-compile): Do not append to
65741         variable.
65742         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65743         rule.
65744         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65745         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65746         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65747         rule.
65748         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65749         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65750         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65751         [generic bits/ioctls.h] (common-generated): Do not append to
65752         variable.
65753         [generic sys/syscall.h] (syscall.h): Remove variable.
65754         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65755         rule.
65756         [generic sys/syscall.h] (before-compile): Do not append to
65757         variable.
65758         [generic sys/syscall.h] (common-generated): Likewise.
65759         * sysdeps/unix/errnos-tmpl.c: Remove file.
65760         * sysdeps/unix/errnos.awk: Likewise.
65761         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65762         * sysdeps/unix/ioctls.awk: Likewise.
65763         * sysdeps/unix/mk-local_lim.c: Likewise.
65764         * sysdeps/unix/snarf-ioctls: Likewise.
65766 2012-03-19  Richard Henderson  <rth@twiddle.net>
65768         * sysdeps/i386/fpu/fenv_private.h: New file.
65769         * sysdeps/i386/fpu/math_private.h: Use it.
65770         (math_opt_barrier, math_force_eval): Remove.
65771         (libc_feholdexcept_setround_53bit): Remove.
65772         (libc_feupdateenv_53bit): Remove.
65773         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65774         (math_opt_barrier, math_force_eval): Remove.
65775         (libc_feholdexcept): Remove.
65776         (libc_feholdexcept_setround): Remove.
65777         (libc_fetestexcept, libc_fesetenv): Remove.
65778         (libc_feupdateenv_test): Remove.
65779         (libc_feupdateenv, libc_feholdsetround): Remove.
65780         (libc_feresetround): Remove.
65782         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65783         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65785         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65786         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65787         (libc_feupdateenv_testl): New.
65788         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65789         (libc_feupdateenv_testf): New.
65790         (libc_feupdateenv): Use libc_feupdateenv_test.
65791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65792         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65794         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65795         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65796         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65797         (libc_feresetround_noex): New.
65798         (libc_feresetround_noexf): New.
65799         (libc_feresetround_noexl): New.
65800         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65801         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65802         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65803         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65804         SET_RESTORE_ROUND.
65805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65807         (__cos): Likewise.
65808         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65809         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65810         SET_RESTORE_ROUND_NOEX.
65811         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65812         SET_RESTORE_ROUND_NOEXF.
65813         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65814         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65815         (libc_feholdsetroundf): New.
65816         (libc_feresetround, libc_feresetroundf): New.
65818         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65819         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65820         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65822         * sysdeps/generic/math_private.h: Include <fenv.h>.
65823         (default_libc_feholdexcept): New.
65824         (default_libc_feholdexcept_setround): New.
65825         (default_libc_fesetenv, default_libc_feupdateenv): New.
65826         (libc_feholdexcept): Only define if undefined.
65827         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65828         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65829         (libc_feholdexcept_setroundl): Likewise.
65830         (libc_feholdexcept_setround_53bit): Likewise.
65831         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65832         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65833         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65834         (libc_feupdateenv_53bit): Likewise.
65835         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65836         (libc_feholdexcept): Convert from macro to inline function.
65837         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65838         (libc_fesetenv, libc_feupdateenv): Likewise.
65840         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65841         not previously defined.
65842         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65843         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65844         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65845         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65846         * sysdeps/ieee754/flt-32/math_private.h: New file.
65847         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65848         math_private.h below SET_FLOAT_WORD.
65849         (__isnan, __isinf_ns, __finite): Remove.
65850         (__isnanf, __isinf_nsf, __finitef): Remove.
65852 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65856 2012-03-17  David S. Miller  <davem@davemloft.net>
65858         [BZ #6471]
65859         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65860         for 2.16.
65862 2012-03-16  David S. Miller  <davem@davemloft.net>
65864         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65865         warnings.
65867         [BZ #6471]
65868         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65869         properly.
65870         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65871         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65872         sysdep_routines when subdir is sysvipc.
65873         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65874         __getshmlba helper.
65876         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65880         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65881         [__LP64__].
65883 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65885         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65886         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65887         (__lround): Renamed to ...
65888         (__llround): This.  Replace long int with long long int.
65889         Define lround functions as aliases of llround functions.
65890         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65892 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65894         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65895         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65896         adresses to uintptr_t.  Replace "long int" and "unsigned long
65897         int" with "greg_t" on va_arg.
65899 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65901         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65902         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65904         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65905         Move e_machine check before EI_CLASS check.  Handle x32
65906         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65907         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65908         SKIP_EM_IA_64 and include
65909         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65911         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65912         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65913         (add_system_dir): New macro.
65915         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65916         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65918 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65920         [BZ #2551]
65921         [BZ #2552]
65922         [BZ #2553]
65923         [BZ #2554]
65924         [BZ #2562]
65925         [BZ #2563]
65926         [BZ #2565]
65927         [BZ #2566]
65928         [BZ #2576]
65929         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65930         (y0): Likewise.
65931         * math/w_j0f.c (j0f): Likewise.
65932         (y0f): Likewise.
65933         * math/w_j0l.c (__j0l): Likewise.
65934         (__y0l): Likewise.
65935         * math/w_j1.c (j1): Likewise.
65936         (y1): Likewise.
65937         * math/w_j1f.c (j1f): Likewise.
65938         (y1f): Likewise.
65939         * math/w_j1l.c (__j1l): Likewise.
65940         (__y1l): Likewise.
65941         * math/w_jn.c (jn): Likewise.
65942         (yn): Likewise.
65943         * math/w_jnf.c (jnf): Likewise.
65944         (ynf): Likewise.
65945         * math/w_jnl.c (__jnl): Likewise.
65946         (__ynl): Likewise.
65947         * math/libm-test.inc (j0_test): Add more tests.
65948         (j1_test): Likewise.
65949         (jn_test): Likewise.  Add trailing semicolon to existing test.
65950         (y0_test): Likewise.
65951         (y1_test): Likewise.
65952         * sysdeps/i386/fpu/libm-test-ulps: Update.
65953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65955         [BZ #13851]
65956         [BZ #13854]
65957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65958         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65959         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65960         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65961         (__tanl): Set errno for infinite argument.
65962         * sysdeps/i386/fpu/mptan.c: Remove.
65963         * sysdeps/i386/fpu/s_tan.S: Likewise.
65964         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65965         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65966         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65967         * math/libm-test.inc (tan_test): Add more tests and enable more
65968         tests for double and long double.
65969         * sysdeps/i386/fpu/libm-test-ulps: Update.
65970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65972 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65974         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65975         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65977 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65979         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65980         * configure.in: Use it for both main tree and add-ons.
65981         * configure: Regenerated.
65983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65985         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65987 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65989         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65990         in comment.
65992         [BZ #13851]
65993         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65994         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65995         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65996         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65997         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65998         infinite argument.
65999         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66000         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66001         != 0 for prec == 2.
66002         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66003         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66004         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66005         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66006         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66007         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66008         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66009         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66010         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66011         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66012         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66013         * math/libm-test.inc (cos_test): Add more tests and enable more
66014         tests for long double.
66015         (sin_test): Likewise.
66016         (sincos_test): Likewise.
66017         * sysdeps/i386/fpu/libm-test-ulps: Update.
66018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66020 2012-03-16  David S. Miller  <davem@davemloft.net>
66022         * sysdeps/sparc/fpu/math_private.h: New file.
66024 2012-03-15  David S. Miller  <davem@davemloft.net>
66026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66027         file.
66028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66030         file.
66031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66036         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66037         sysdep routines.
66038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66040         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66041         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66043         * sysdeps/sparc/sparc-ifunc.h: New file.
66044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66045         sparc-ifunc.h
66046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66048         Likewise.
66049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66050         Likewise.
66051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66055         Likewise.
66056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66061         Likewise.
66062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66063         Likewise.
66064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66070         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66071         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66072         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66082         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66083         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66086         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66087         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66089 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66091         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66092         scaling.
66093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66095 2012-03-15  Andreas Jaeger  <aj@suse.de>
66097         [BZ #13852]
66098         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66099         ieee754/flt-32 implementation for sin, cos and sincos.
66100         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66101         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66102         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66103         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66104         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66105         ieee754/flt-32 implementation for tan.
66107         * math/libm-test.inc (cos_test): Enable some large input tests for
66108         float as well
66109         (sin_test): Likewise.
66110         (sincos_test): Likewise.
66111         (tan_test): Add tests for large input.
66113         * sysdeps/i386/fpu/libm-test-ulps: Update.
66115 2012-03-15  Andreas Jaeger  <aj@suse.de>
66117         [BZ #13658]
66118         * math/libm-test.inc (cos_test): Add more test cases.
66119         (sin_test): Likewise.
66120         (sincos_test): Likewise.
66122 2012-03-15  Andreas Jaeger  <aj@suse.de>
66124         [BZ #13837]
66125         * math/libm-test.inc (cos_test): Add a test case for large input
66126         value.
66127         (sin_test): Likewise.
66128         (sincos_test): Likewise.
66130 2012-03-15  Andreas Jaeger  <aj@suse.de>
66131             Joseph Myers  <joseph@codesourcery.com>
66133         [BZ #13658]
66134         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66135         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66136         * sysdeps/i386/fpu/branred.c: Likewise.
66137         * sysdeps/i386/fpu/dosincos.c: Likewise.
66138         * sysdeps/i386/fpu/mpa.c: Likewise.
66139         * sysdeps/i386/fpu/s_cos.S: Likewise.
66140         * sysdeps/i386/fpu/s_sin.S: Likewise.
66141         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66142         * sysdeps/i386/fpu/sincos32.c: Likewise.
66144         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66145         Define.
66146         (libc_feupdateenv_53bit): Define.
66147         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66148         Define.
66149         (libc_feupdateenv_53bit): Define.
66151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66152         53 bit (without extend i386 double precision).
66154         * math/libm-test.inc (sincos_test): Add tests for large input.
66155         (sin): Likewise.
66156         (cos): Likewise.
66158         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66160 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66164 2012-03-15  David S. Miller  <davem@davemloft.net>
66166         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66167         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66168         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66169         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66182         file.
66183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66185         file.
66186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66188         file.
66189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66191         file.
66192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66194         fmin/fmax sysdep routines.
66195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66197 2012-03-14  David S. Miller  <davem@davemloft.net>
66199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66203         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66204         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66205         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66206         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66219         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66220         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66225         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66226         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66228         routines.
66229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66230         file.
66231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66233         file.
66234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66236         file.
66237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66239         file.
66240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66242         file.
66243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66245         file.
66246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66247         file.
66248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66249         file.
66250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66251         file.
66252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66253         New file.
66254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66255         file.
66256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66257         file.
66258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66260         file.
66261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66263         file.
66264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66266         file.
66267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66269         VIS3 routines.
66271         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66272         New file.
66274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66276         * sysdeps/sparc/configure.in: New file.
66277         * sysdeps/sparc/configure: Generate.
66278         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66279         * configure: Regenerate.
66280         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66281         * config.make.in (have-as-vis3): New.
66282         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66283         available use -Av9d instead of -Av9a.
66284         * sysdeps/sparc/sparc64/Makefile: Likewise.
66285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66287         New file.
66288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66289         file.
66290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66291         New file.
66292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66293         file.
66294         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66295         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66296         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66297         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66300         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66301         fzeros/fnegs to load 0x80000000 into a float register instead of
66302         using the stack.
66303         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66305 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66308         bits/syscall.h.
66309         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66310         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66311         ($(inst_includedir)/bits/syscall.h): Remove rule.
66312         ($(objpfx)bits/syscall.d): Include instead of
66313         $(objpfx)syscall-list.d.
66314         (generated): Change syscall-list.h and syscall-list.d to
66315         bits/syscall.h and bits/syscall.d.
66317 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66319         [BZ #13846]
66320         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66322 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66324         [BZ #13841]
66325         * math/s_csqrt.c: Include <float.h>.
66326         (__csqrt): Scale large or subnormal inputs.
66327         * math/s_csqrtf.c: Likewise.
66328         * math/s_csqrtl.c: Likewise.
66329         * math/libm-test.inc (csqrt_test): Add more tests.
66330         * sysdeps/i386/fpu/libm-test-ulps: Update.
66331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66333         [BZ #13840]
66334         * math/libm-test.inc (hypot_test): Add more tests.
66336 2012-03-13  David S. Miller  <davem@davemloft.net>
66338         [BZ #13840]
66339         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66340         double-precision for the calculation instead of scaling.
66342 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66344         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66345         manipulate bits before adding and subtracting TWO52[sx].
66346         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66347         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66348         Likewise.
66349         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66351 2012-03-13  David S. Miller  <davem@davemloft.net>
66353         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66354         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66355         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66356         rtld-global-offsets.h
66357         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66359         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66360         large parameters.
66362         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66364         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66365         'err' in the ifdef scope in which it is actually used.
66367         * nss/nss_db/db-init.c: Include string.h
66369 2012-03-12  David S. Miller  <davem@davemloft.net>
66371         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66372         masking out of the most significant byte of random value used.
66373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66374         Fix coding style in previous change.
66376         * sysdeps/unix/sysv/linux/kernel-features.h
66377         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66378         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66379         expression.
66380         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66381         later.
66383 2012-03-11  David S. Miller  <davem@davemloft.net>
66385         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66386         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66388         for 'resultvar' otherwise things get truncated on 64-bit.
66390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66391         Fix masking out of the most significant byte of random value used.
66393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66395 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66399 2012-03-09  David S. Miller  <davem@davemloft.net>
66401         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66402         variables with appropriate CPP guards.
66403         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66404         from the frame pointer, not the stack pointer.  Correct layout
66405         comments.  Fix test on resulting framesize and the management of
66406         the outregs buffer for pltexit.  Preserve floating point return
66407         values across _dl_call_pltexit call.
66408         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66409         framesize and the management of the outregs buffer for pltexit.
66410         Preserve floating point return values across _dl_call_pltexit
66411         call.
66412         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66413         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66414         (la_sparc64_gnu_pltexit): New functions.
66415         (print_exit): Fix format string for return register value.
66417 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66419         * sunrpc/Makefile (others): Add rpcgen.
66420         ($(objpfx)rpcgen): Remove special build rule and dependency on
66421         libc.
66422         * sunrpc/rpcgen.c: New file.
66424 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66426         [BZ #13673]
66427         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66428         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66429         * sysdeps/i386/crti.S: Likewise.
66430         * sysdeps/i386/crtn.S: Likewise.
66431         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66432         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66433         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66434         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66435         * sysdeps/sh/crti.S: Likewise.
66436         * sysdeps/sh/crtn.S: Likewise.
66437         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66439         [BZ #13673]
66440         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66441         with URL.
66442         * locale/programs/locfile-kw.gperf: Likewise.
66443         * locale/programs/charmap-kw.h: Regenerated.
66444         * locale/programs/locfile-kw.h: Likewise.
66446         [BZ #13673]
66447         * intl/plural.y: Replace FSF snail mail address with URL.
66448         * intl/plural.c: Regenerated.
66450 2012-03-09  Richard Henderson  <rth@twiddle.net>
66452         * include/math_private.h: Remove file.
66453         * math/math_private.h: Move file ...
66454         * sysdeps/generic/math_private.h: ... here.
66456         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66457         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66458         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66460         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66461         and <math_private.h>.
66462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66467         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66468         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66469         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66470         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66471         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66473         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66474         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66475         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66476         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66477         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66478         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66479         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66480         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66481         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66483         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66484         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66486         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66488         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66492         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66494         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66495         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66496         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66497         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66498         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66499         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66500         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66501         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66502         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66503         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66504         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66505         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66506         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66507         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66508         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66509         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66510         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66511         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66512         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66513         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66514         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66515         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66516         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66517         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66518         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66519         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66520         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66521         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66522         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66523         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66524         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66525         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66526         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66531         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66532         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66534         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66535         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66536         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66537         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66540         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66541         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66542         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66543         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66546         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66547         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66548         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66550         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66551         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66552         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66553         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66554         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66555         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66556         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66557         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66558         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66559         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66560         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66561         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66562         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66563         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66564         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66565         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66566         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66567         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66568         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66569         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66570         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66571         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66572         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66573         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66574         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66575         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66576         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66577         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66578         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66579         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66580         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66581         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66582         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66583         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66584         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66585         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66586         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66587         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66588         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66589         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66590         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66591         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66592         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66593         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66594         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66595         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66596         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66597         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66598         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66599         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66600         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66601         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66602         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66603         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66604         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66605         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66606         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66607         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66608         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66609         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66610         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66611         * sysdeps/ieee754/k_standard.c: Likewise.
66612         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66613         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66614         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66615         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66616         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66617         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66618         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66619         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66620         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66621         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66622         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66624         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66625         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66626         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66627         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66628         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66629         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66630         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66631         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66632         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66633         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66634         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66635         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66636         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66637         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66638         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66639         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66640         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66641         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66642         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66643         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66644         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66645         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66646         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66647         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66648         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66649         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66650         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66651         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66652         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66653         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66654         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66655         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66656         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66657         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66658         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66659         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66660         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66662         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66663         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66664         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66665         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66668         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66669         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66670         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66671         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66672         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66673         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66674         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66675         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66727         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66729         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66730         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66731         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66732         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66734         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66739         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66740         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66744         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66745         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66747         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66751         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66752         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66753         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66755         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66757         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66758         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66759         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66760         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66761         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66762         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66763         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66771         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66772         * sysdeps/ieee754/s_lib_version.c: Likewise.
66773         * sysdeps/ieee754/s_matherr.c: Likewise.
66774         * sysdeps/ieee754/s_signgam.c: Likewise.
66775         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66776         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66777         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66778         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66779         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66780         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66781         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66782         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66783         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66784         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66785         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66786         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66787         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66788         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66789         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66790         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66791         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66792         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66793         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66794         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66797 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66799         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66800         * sunrpc/rpc_main.c: Likewise.
66801         * sunrpc/rpc_svcout.c: Likewise.
66803 2012-03-09  David S. Miller  <davem@davemloft.net>
66805         * include/math_private.h: New file.
66807 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66809         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66810         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66811         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66812         from <bits/socket_type.h>.
66813         (enum __socket_type): Don't define here.
66814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66816         bits/socket_type.h.
66818         [BZ #13566]
66819         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66820         checking __USE_GNU.
66822         * Makerules ($(inst_includedir)/%.h): New rule.
66823         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66824         (install-others): Remove variable setting.
66825         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66827 2012-03-08  Richard Henderson  <rth@twiddle.net>
66829         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66830         from macro to inline function; merge with the
66831         !__LIBC_INTERNAL_MATH_INLINES version.
66832         (__ieee754_sqrtf): Likewise.
66834         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66835         to inline function.
66836         (__rintf, __floor, __floorf): Likewise.
66838         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66839         macro to inline function.
66840         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66842         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66843         not <math/math_private.h>.
66845 2012-03-08  David S. Miller  <davem@davemloft.net>
66847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66848         copyright year.
66849         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66851 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66853         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66854         normalization.
66855         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66856         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66858 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66860         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66861         be defined individually, they must be defined as a block.  Define
66862         S for printing a string instead of hidint the different by using a
66863         macro for adding the 'l'.
66864         * stdio-common/tst-fphex-wide.c: Adjust.
66866 2012-03-07  Marek Polacek  <polacek@redhat.com>
66868         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66870 2012-03-08  Marek Polacek  <polacek@redhat.com>
66872         [BZ #13806]
66873         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66874         * stdio-common/tst-fphex.c: Define a few macros to make the
66875         test reusable.  Use them.
66876         * stdio-common/tst-fphex-wide.c: New file.
66878 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66880         [BZ #6911]
66881         * manual/macros.texi (gnusystems): New macro.
66882         (nongnusystems): Likewise.
66883         (gnulinuxhurdsystems): Likewise.
66884         (gnuhurdsystems): Likewise..
66885         (gnulinuxsystems): Likewise.
66886         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66887         variants of the GNU system, not "GNU system".
66888         * manual/conf.texi: Likewise.
66889         * manual/errno.texi: Likewise.  Update example of errno macro
66890         expansion.
66891         * manual/filesys.texi: Likewise.
66892         (getumask): Document as specific to GNU/Hurd.
66893         * manual/install.texi: Likewise.  Reword some references to
66894         GNU/Linux.
66895         * manual/intro.texi: Likewise.
66896         * manual/io.texi: Likewise.
66897         (File Name Portability): Detail which constraints are inapplicable
66898         to all GNU systems and which are only inapplicable to GNU/Hurd.
66899         * manual/job.texi: Likewise.
66900         * manual/llio.texi: Likewise.
66901         (O_NOCTTY): Document as present on GNU/Linux.
66902         * manual/maint.texi: Likewise.
66903         * manual/memory.texi: Likewise.
66904         * manual/pattern.texi: Likewise.
66905         * manual/pipe.texi: Likewise.
66906         * manual/process.texi: Likewise.
66907         * manual/resource.texi: Likewise.
66908         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66909         child on GNU/Hurd.
66910         * manual/setjmp.texi: Likewise.
66911         * manual/signal.texi: Likewise.
66912         * manual/startup.texi: Likewise.
66913         * manual/stdio.texi: Likewise.
66914         * manual/terminal.texi: Likewise.
66915         (ONLCR): Document as POSIX.
66916         (OXTABS): Document availability on GNU/Linux as XTABS.
66917         (ONOEOT): Document availability separately from other bits.
66918         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66919         * manual/time.texi: Likewise.
66920         * manual/users.texi: Likewise.
66921         * INSTALL: Regenerated.
66922         * sysdeps/gnu/errlist.c: Regenerated.
66924         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66925         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66926         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66927         puts.
66928         * configure: Regenerated.
66930 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66932         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66933         default includes instead of AC_HEADER_CHECK.
66934         * sysdeps/i386/configure: Regenerated.
66936         [BZ #10716]
66937         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66938         * math/s_cacoshf.c (__cacoshf): Likewise.
66939         * math/s_cacoshl.c (__cacoshl): Likewise.
66940         * math/s_casinh.c (__casinh): Set signs of result from argument.
66941         * math/s_casinhf.c (__casinhf): Likewise.
66942         * math/s_casinhl.c (__casinhl): Likewise.
66943         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66944         (casinh_test): Add more tests.
66945         * sysdeps/i386/fpu/libm-test-ulps: Update.
66946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66948 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66950         * po/zh_TW.po: Update from translation team.
66952         * login/Makefile (distribute): Remove variable.
66953         * catgets/Makefile: Likewise.
66954         * mach/Makefile: Likewise.
66955         * malloc/Makefile: Likewise.
66956         * misc/Makefile: Likewise.
66957         * iconv/Makefile: Likewise.
66958         * nscd/Makefile: Likewise.
66959         * hurd/Makefile: Likewise.
66960         * manual/Makefile: Likewise.
66961         * locale/Makefile: Likewise.
66962         * intl/Makefile: Likewise.
66963         * conform/Makefile: Likewise.
66964         * nss/Makefile: Likewise.
66965         * time/Makefile: Likewise.
66966         * soft-fp/Makefile: Likewise.
66967         * dirent/Makefile: Likewise.
66968         * gmon/Makefile: Likewise.
66969         * po/Makefile: Likewise.
66970         * rt/Makefile: Likewise.
66971         * socket/Makefile: Likewise.
66972         * math/Makefile: Likewise.
66973         * signal/Makefile: Likewise.
66974         * debug/Makefile: Likewise.
66975         * elf/Makefile: Likewise.
66976         * timezone/Makefile: Likewise.
66977         * stdlib/Makefile: Likewise.
66978         * iconvdata/Makefile: Likewise.
66979         * sunrpc/Makefile: Likewise.
66980         * io/Makefile: Likewise.
66981         * argp/Makefile: Likewise.
66982         * inet/Makefile: Likewise.
66983         * hesiod/Makefile: Likewise.
66984         * grp/Makefile: Likewise.
66985         * csu/Makefile: Likewise.
66986         * wctype/Makefile: Likewise.
66987         * crypt/Makefile: Likewise.
66988         * libio/Makefile: Likewise.
66989         * string/Makefile: Likewise.
66990         * nis/Makefile: Likewise.
66991         * resolv/Makefile: Likewise.
66992         * stdio-common/Makefile: Likewise.
66993         * wcsmbs/Makefile: Likewise.
66994         * dlfcn/Makefile: Likewise.
66995         * posix/Makefile: Likewise.
66997         [BZ #6959]
66998         * timezone/Makefile: Don't install timezone files, just the programs
66999         and scripts.
67001 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67003         * nss/databases.def: Add missing gshadow entry.
67005         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67007 2012-03-06  Marek Polacek  <polacek@redhat.com>
67009         [BZ #13726]
67010         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67011         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67012         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67013         * stdio-common/tst-long-dbl-fphex.c: New file.
67015 2012-03-06  David S. Miller  <davem@davemloft.net>
67017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67018         (set_obp_int): New function.
67019         (get_obp_int): New function.
67020         (__get_clockfreq_via_dev_openprom): Likewise.
67021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67022         Avoid unused variable warnings on 'val' and use builtin_expect.
67023         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67024         __builtin_expect.
67025         (INLINE_CLONE_SYSCALL): Likewise.
67027 2012-03-05  David S. Miller  <davem@davemloft.net>
67029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67031 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67035         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67036         only for |x| >= 40.
67037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67039 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67042         Replace gettimeofday with __vdso_gettimeofday.
67044         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67045         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67046         __vdso_clock_gettime and __vdso_getcpu.
67048         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67049         time with __vdso_time.
67051 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67053         * manual/lang.texi (size_t): Note types to which size_t may be
67054         equivalent with the GNU C Library, but do not describe when
67055         differences between them are significant.
67057 2012-03-05  Andreas Jaeger  <aj@suse.de>
67059         * sysdeps/i386/fpu/libm-test-ulps: Update.
67061 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67063         [BZ #3976]
67064         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67065         (__ieee754_pow): Save and restore rounding mode and use
67066         round-to-nearest for main computations.
67067         * math/libm-test.inc (pow_test_tonearest): New function.
67068         (pow_test_towardzero): Likewise.
67069         (pow_test_downward): Likewise.
67070         (pow_test_upward): Likewise.
67071         (main): Call the new functions.
67072         * sysdeps/i386/fpu/libm-test-ulps: Update.
67073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67075         [BZ #3976]
67076         * math/libm-test.inc (cosh_test_tonearest): New function.
67077         (cosh_test_towardzero): Likewise.
67078         (cosh_test_downward): Likewise.
67079         (cosh_test_upward): Likewise.
67080         (sinh_test_tonearest): Likewise.
67081         (sinh_test_towardzero): Likewise.
67082         (sinh_test_downward): Likewise.
67083         (sinh_test_upward): Likewise.
67084         (main): Call the new functions.
67085         * sysdeps/i386/fpu/libm-test-ulps: Update.
67086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67088 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67090         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67091         default stack guard is set in last bytes.
67092         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67094 2012-03-05  Kees Cook  <keescook@chromium.org>
67096         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67098         [BZ #13656]
67099         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67100         possibly allocate from heap instead of stack.
67101         * stdio-common/bug-vfprintf-nargs.c: New file.
67102         * stdio-common/Makefile (tests): Add nargs overflow test.
67104 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67108 2012-03-03  Marek Polacek  <polacek@redhat.com>
67110         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67111         * math/math_private.h: Likewise.
67112         * stdlib/tst-strtod.c: Likewise.
67113         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67114         * sysdeps/x86_64/bits/atomic.h: Likewise.
67116 2012-03-02  David S. Miller  <davem@davemloft.net>
67118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67122         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67123         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67124         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67125         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67127 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67129         [BZ #13792]
67130         * manual/examples/README: New file, says the example source files
67131         can be used under GPL>=2.
67132         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67133         line containing just "*/".
67134         * manual/examples/add.c: Add copyright header (GPL>=2).
67135         * manual/examples/argp-ex1.c: Likewise.
67136         * manual/examples/argp-ex2.c: Likewise.
67137         * manual/examples/argp-ex3.c: Likewise.
67138         * manual/examples/argp-ex4.c: Likewise.
67139         * manual/examples/atexit.c: Likewise.
67140         * manual/examples/db.c: Likewise.
67141         * manual/examples/dir.c: Likewise.
67142         * manual/examples/dir2.c: Likewise.
67143         * manual/examples/execinfo.c: Likewise.
67144         * manual/examples/filecli.c: Likewise.
67145         * manual/examples/filesrv.c: Likewise.
67146         * manual/examples/fmtmsgexpl.c: Likewise.
67147         * manual/examples/genpass.c: Likewise.
67148         * manual/examples/inetcli.c: Likewise.
67149         * manual/examples/inetsrv.c: Likewise.
67150         * manual/examples/isockad.c: Likewise.
67151         * manual/examples/longopt.c: Likewise.
67152         * manual/examples/memopen.c: Likewise.
67153         * manual/examples/memstrm.c: Likewise.
67154         * manual/examples/mkfsock.c: Likewise.
67155         * manual/examples/mkisock.c: Likewise.
67156         * manual/examples/mygetpass.c: Likewise.
67157         * manual/examples/pipe.c: Likewise.
67158         * manual/examples/popen.c: Likewise.
67159         * manual/examples/rprintf.c: Likewise.
67160         * manual/examples/search.c: Likewise.
67161         * manual/examples/select.c: Likewise.
67162         * manual/examples/setjmp.c: Likewise.
67163         * manual/examples/sigh1.c: Likewise.
67164         * manual/examples/sigusr.c: Likewise.
67165         * manual/examples/stpcpy.c: Likewise.
67166         * manual/examples/strdupa.c: Likewise.
67167         * manual/examples/strftim.c: Likewise.
67168         * manual/examples/strncat.c: Likewise.
67169         * manual/examples/subopt.c: Likewise.
67170         * manual/examples/swapcontext.c: Likewise.
67171         * manual/examples/termios.c: Likewise.
67172         * manual/examples/testopt.c: Likewise.
67173         * manual/examples/testpass.c: Likewise.
67174         * manual/examples/timeval_subtract.c: Likewise.
67176         [BZ #13792]
67177         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67178         function to ...
67179         * manual/timeval_subtract.c.texi: ... here, new file.
67181 2012-03-02  David S. Miller  <davem@davemloft.net>
67183         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67185 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67187         [BZ #3976]
67188         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67189         (__sin): Save and restore rounding mode and use round-to-nearest
67190         for all computations.
67191         (__cos): Save and restore rounding mode and use round-to-nearest
67192         for all computations.
67193         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67194         <fenv.h>.
67195         (tan): Save and restore rounding mode and use round-to-nearest for
67196         all computations.
67197         * math/libm-test.inc (cos_test_tonearest): New function.
67198         (cos_test_towardzero): Likewise.
67199         (cos_test_downward): Likewise.
67200         (cos_test_upward): Likewise.
67201         (sin_test_tonearest): Likewise.
67202         (sin_test_towardzero): Likewise.
67203         (sin_test_downward): Likewise.
67204         (sin_test_upward): Likewise.
67205         (tan_test_tonearest): Likewise.
67206         (tan_test_towardzero): Likewise.
67207         (tan_test_downward): Likewise.
67208         (tan_test_upward): Likewise.
67209         (main): Call the new functions.
67210         * sysdeps/i386/fpu/libm-test-ulps: Update.
67211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67213         [BZ #10135]
67214         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67215         small n, then large n, before computing and testing k+n.
67216         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67218         Likewise.
67219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67220         Likewise.
67221         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67222         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67223         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67224         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67225         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67226         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67227         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67229         * math/libm-test.inc (scalbn_test): Add more tests.
67230         (scalbln_test): Likewise.
67232         * manual/filesys.texi (mode_t): Describe constraints on size and
67233         signedness, not exact equivalence to a particular type.
67234         (ino_t): Likewise.
67235         (ino64_t): Likewise.
67236         (dev_t): Likewise.
67237         (nlink_t): Likewise.
67238         (blkcnt_t): Likewise.
67239         (blkcnt64_t): Likewise.
67240         * manual/llio.texi (off_t): Likewise.
67242         [BZ #3976]
67243         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67244         (__ieee754_exp): Save and restore rounding mode and use
67245         round-to-nearest for all computations.
67246         * math/libm-test.inc (exp_test_tonearest): New function.
67247         (exp_test_towardzero): Likewise.
67248         (exp_test_downward): Likewise.
67249         (exp_test_upward): Likewise.
67250         (main): Call the new functions.
67251         * sysdeps/i386/fpu/libm-test-ulps: Update.
67252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67254 2012-03-01  Chris Demetriou  <cgd@google.com>
67256         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67257         have predictable order.
67259 2012-03-01  David S. Miller  <davem@davemloft.net>
67261         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67263         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67264         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67265         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67266         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67268         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67269         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67270         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67272         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67273         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67274         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67275         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67276         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67280         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67281         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67282         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67284         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67285         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67286         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67287         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67288         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67289         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67290         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67291         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67292         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67293         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67294         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67295         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67297         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67298         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67300         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67301         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67302         * sysdeps/sparc/elf/configure: Regenerated.
67304 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67306         * configure.in (AS, LD): Require binutils 2.20 or later.
67307         * configure: Regenerated.
67308         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67309         as required minimum version.
67310         * INSTALL: Regenerated.
67312         [BZ #2541]
67313         [BZ #4108]
67314         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67315         before squaring exponent.
67316         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67317         bottom long double and 27 bits of top long double before squaring
67318         exponent.
67319         * math/libm-test.inc (erfc_test): Add more tests.
67320         * sysdeps/i386/fpu/libm-test-ulps: Update.
67321         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67324 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67326         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67327         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67328         containing bit-fields.
67329         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67330         * soft-fp/single.h (_FP_UNION_S): Likewise.
67331         * soft-fp/double.h (_FP_UNION_D): Likewise.
67333 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67335         [BZ #13786]
67336         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67337         not include ../strcmp.S.
67338         [USE_AS_STRNCASECMP_L]: Likewise.
67339         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67340         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67341         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67342         (__strncasecmp_l_ia32): Define as alias to
67343         __strncasecmp_l_nonascii.
67345         [BZ #5794]
67346         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67347         * sysdeps/i386/fpu/libm-test-ulps: Update.
67348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67350         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67353 2012-02-29  Jeff Law  <law@redhat.com>
67355         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67356         out of bounds read.
67358 2012-02-29  Marek Polacek  <polacek@redhat.com>
67360         [BZ #13706]
67361         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67362         * elf/Makefile: Add rules to run tst-unused-dep.out.
67364 2012-02-28  David S. Miller  <davem@davemloft.net>
67366         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67367         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67368         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67370         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67371         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67373 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67375         * math/libm-test.inc (llround_test): Move one test from
67376         lround_test.  Use TEST_f_L in moved test.
67377         (lround_test): Move misplaced test to llround_test.  Add testcase
67378         from bug 2561.
67380 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67382         * sysdeps/x86_64/fpu/e_expf.S: New file.
67383         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67385 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67387         [BZ #13637]
67388         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67389         of remain_len that may cause incomplete multi-byte character and
67390         false match.
67391         * posix/bug-regex33.c: New file.
67392         * posix/Makefile (tests): Add bug-regex33.
67394 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67396         * manual/macros.texi: New file.
67397         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67398         * manual/libc.texinfo: Include macros.texi.
67399         * manual/creatute.texi: Likewise.
67400         * manual/install.texi: Likewise.
67401         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67402         @glibcadj{} in references to the GNU C Library.
67403         * manual/charset.texi: Likewise.
67404         * manual/conf.texi: Likewise.
67405         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67406         when not using those macros.
67407         * manual/creature.texi: Likewise.
67408         * manual/crypt.texi: Likewise.
67409         * manual/errno.texi: Likewise.
67410         * manual/filesys.texi: Likewise.
67411         * manual/header.texi: Likewise.
67412         * manual/install.texi: Likewise.
67413         * manual/intro.texi: Likewise.
67414         * manual/io.texi: Likewise.
67415         * manual/job.texi: Likewise.
67416         * manual/lang.texi: Likewise.
67417         * manual/libc.texiinfo: Likewise.
67418         * manual/llio.texi: Likewise.
67419         * manual/locale.texi: Likewise.
67420         * manual/maint.texi: Likewise.
67421         * manual/math.texi: Likewise.
67422         * manual/memory.texi: Likewise.
67423         * manual/message.texi: Likewise.
67424         * manual/nss.texi: Likewise.
67425         * manual/pattern.texi: Likewise.
67426         * manual/process.texi: Likewise.
67427         * manual/resource.texi: Likewise.
67428         * manual/search.texi: Likewise.
67429         * manual/setjmp.texi: Likewise.
67430         * manual/signal.texi: Likewise.
67431         * manual/socket.texi: Likewise.
67432         * manual/startup.texi: Likewise.
67433         * manual/stdio.texi: Likewise.
67434         * manual/string.texi: Likewise.
67435         * manual/sysinfo.texi: Likewise.
67436         * manual/syslog.texi: Likewise.
67437         * manual/terminal.texi: Likewise.
67438         * manual/time.texi: Likewise.
67439         * manual/users.texi: Likewise.
67440         * INSTALL: Regenerated.
67441         * NOTES: Regenerated.
67442         * sysdeps/gnu/errlist.c: Regenerated.
67444 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67446         * include/dirent.h: Include <dirstream.h> before
67447         <dirent/dirent.h>.
67449 2012-02-28  David S. Miller  <davem@davemloft.net>
67451         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67452         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67453         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67454         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67456 2012-02-27  David S. Miller  <davem@davemloft.net>
67458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67460         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67461         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67464         frame pointer instead of stack pointer relative arg slot.
67465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67466         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67467         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67469 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67471         [BZ #3992]
67472         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67474 2012-02-27  David S. Miller  <davem@davemloft.net>
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67480         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67481         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67482         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67483         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67485 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67487         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67488         later.  Allow versions 5-9.
67489         * configure: Regenerated.
67490         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67491         required minimum version and 4.6 as recommended version.  Do not
67492         mention bugs in GCC 2.7 and 2.8.
67493         * INSTALL: Regenerated.
67495 2012-02-27  David S. Miller  <davem@davemloft.net>
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67501         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67502         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67503         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67504         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67506         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67507         manipulate bits before adding and subtracting TWO112[sx].
67508         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67510 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67512         [BZ #13775]
67513         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67514         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67515         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67516         being in POSIX, because they are in 1003.1-2008.
67518         * rt/tst-aio.c: Include <fcntl.h>.
67519         * rt/tst-aio7.c: Likewise.
67520         * rt/tst-aio64.c: Likewise.
67522         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67524 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67526         * manual/install.texi (--with-headers): Describe headers as
67527         interface headers, not private headers.
67528         (Specific advice for GNU/Linux systems): Describe use of headers
67529         from "make headers_install", not private headers from older
67530         kernels.
67531         * INSTALL: Regenerated.
67532         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67533         Change to 2.6.19.
67534         * sysdeps/unix/sysv/linux/configure: Regenerated.
67536         * manual/llio.texi (fclean): Remove documentation.
67538         * manual/Makefile (libc-texi-generated): New variable.  Include
67539         version.texi.
67540         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67541         $(libc-texi-generated), not duplicated list of files.
67542         (version.texi, stamp-version): New rules.
67543         (realclean): Remove $(libc-texi-generated), not individual files
67544         from that list.  Do not remove dir-add.texinfo.
67545         * manual/libc.texinfo: Comment out uses of edition numbers and
67546         references to printed manual.  Remove last-updated dates.
67547         (EDITION): Comment out.
67548         (ISBN): Likewise.
67549         (VERSION, UPDATED): Remove.
67550         (version.texi): Include.
67552 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67554         * sysdeps/posix/spawni.c: Include <signal.h>.
67555         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67556         * sysdeps/pthread/aio_fsync.c: Likewise.
67558 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67560         * conform/Makefile (tests): Run only when not cross-compiling and
67561         when fast-check is not defined.
67563         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67564         * conform/data/limits.h-data: Fixes for POSIX2008.
67565         * conform/run-conformtest.sh: Run all tests.
67566         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67567         headers.
67568         * include/bits/dlfcn.h: Likewise.
67569         * include/langinfo.h: Likewise.
67570         * include/monetary.h: Likewise.
67571         * include/sys/poll.h: Likewise.
67573         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67574         for __USE_GNU.
67575         * posix/spawn.h: Define __need_sigset_t.
67576         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67577         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67578         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67579         to get sigevent_t only.
67580         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67581         only for __USE_GNU.
67582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67583         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67584         process_vm_writev only for __USE_GNU.
67585         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67587         * conform/Makefile: For now ignore errors from run-conformtest.
67588         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67589         POSIX to avoid namespace pollution.  Don't prepend headers.
67590         * conform/data/aio.h-data: Fixes for POSIX testing.
67591         * conform/data/fcntl.h-data: Likewise.
67592         * conform/data/glob.h-data: Likewise.
67593         * conform/data/grp.h-data: Likewise.
67594         * conform/data/pthread.h-data: Likewise.
67595         * conform/data/pwd.h-data: Likewise.
67596         * conform/data/signal.h-data: Likewise.
67597         * conform/data/spawn.h-data: Likewise.
67598         * conform/data/stdio.h-data: Likewise.
67599         * conform/data/stdlib.h-data: Likewise.
67600         * conform/data/stropts.h-data: Likewise.
67601         * conform/data/sys/mman.h-data: Likewise.
67602         * conform/data/sys/stat.h-data: Likewise.
67603         * conform/data/sys/types.h-data: Likewise.
67604         * conform/data/sys/wait.h-data: Likewise.
67605         * conform/data/time.h-data: Likewise.
67606         * conform/data/unistd.h-data: Likewise.
67607         * conform/data/utime.h-data: Likewise.
67609         * io/sys/stat.h: fchmod was always in POSIX.
67610         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67611         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67612         * rt/aio.h: Define __need_timespec before including <time.h>.
67613         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67614         struct.  Add forward declaration of pthread_attr_t and use it in
67615         sigevent.
67616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67617         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67618         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67619         always remove CLK_TCK definition.
67621 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67623         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67625 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67627         * conform/run-conformtest.sh: New file.
67628         * conform/Makefile: Run run-conformtest for tests.
67629         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67630         support.
67632         * conform/data/uchar.h-data: New file.
67633         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67634         * conform/data/arpa/inet.h-data: Likewise.
67635         * conform/data/assert.h-data: Likewise.
67636         * conform/data/complex.h-data: Likewise.
67637         * conform/data/cpio.h-data: Likewise.
67638         * conform/data/ctype.h-data: Likewise.
67639         * conform/data/dirent.h-data: Likewise.
67640         * conform/data/dlfcn.h-data: Likewise.
67641         * conform/data/errno.h-data: Likewise.
67642         * conform/data/fcntl.h-data: Likewise.
67643         * conform/data/float.h-data: Likewise.
67644         * conform/data/fmtmsg.h-data: Likewise.
67645         * conform/data/fnmatch.h-data: Likewise.
67646         * conform/data/ftw.h-data: Likewise.
67647         * conform/data/glob.h-data: Likewise.
67648         * conform/data/grp.h-data: Likewise.
67649         * conform/data/iconv.h-data: Likewise.
67650         * conform/data/inttypes.h-data: Likewise.
67651         * conform/data/langinfo.h-data: Likewise.
67652         * conform/data/libgen.h-data: Likewise.
67653         * conform/data/limits.h-data: Likewise.
67654         * conform/data/locale.h-data: Likewise.
67655         * conform/data/math.h-data: Likewise.
67656         * conform/data/monetary.h-data: Likewise.
67657         * conform/data/mqueue.h-data: Likewise.
67658         * conform/data/ndbm.h-data: Likewise.
67659         * conform/data/net/if.h-data: Likewise.
67660         * conform/data/netdb.h-data: Likewise.
67661         * conform/data/netinet/in.h-data: Likewise.
67662         * conform/data/nl_types.h-data: Likewise.
67663         * conform/data/poll.h-data: Likewise.
67664         * conform/data/pthread.h-data: Likewise.
67665         * conform/data/pwd.h-data: Likewise.
67666         * conform/data/regex.h-data: Likewise.
67667         * conform/data/sched.h-data: Likewise.
67668         * conform/data/search.h-data: Likewise.
67669         * conform/data/semaphore.h-data: Likewise.
67670         * conform/data/setjmp.h-data: Likewise.
67671         * conform/data/signal.h-data: Likewise.
67672         * conform/data/spawn.h-data: Likewise.
67673         * conform/data/stdarg.h-data: Likewise.
67674         * conform/data/stdio.h-data: Likewise.
67675         * conform/data/stdlib.h-data: Likewise.
67676         * conform/data/string.h-data: Likewise.
67677         * conform/data/strings.h-data: Likewise.
67678         * conform/data/stropts.h-data: Likewise.
67679         * conform/data/sys/ipc.h-data: Likewise.
67680         * conform/data/sys/mman.h-data: Likewise.
67681         * conform/data/sys/msg.h-data: Likewise.
67682         * conform/data/sys/resource.h-data: Likewise.
67683         * conform/data/sys/select.h-data: Likewise.
67684         * conform/data/sys/sem.h-data: Likewise.
67685         * conform/data/sys/shm.h-data: Likewise.
67686         * conform/data/sys/socket.h-data: Likewise.
67687         * conform/data/sys/stat.h-data: Likewise.
67688         * conform/data/sys/statvfs.h-data: Likewise.
67689         * conform/data/sys/time.h-data: Likewise.
67690         * conform/data/sys/timeb.h-data: Likewise.
67691         * conform/data/sys/times.h-data: Likewise.
67692         * conform/data/sys/types.h-data: Likewise.
67693         * conform/data/sys/uio.h-data: Likewise.
67694         * conform/data/sys/un.h-data: Likewise.
67695         * conform/data/sys/utsname.h-data: Likewise.
67696         * conform/data/sys/wait.h-data: Likewise.
67697         * conform/data/syslog.h-data: Likewise.
67698         * conform/data/tar.h-data: Likewise.
67699         * conform/data/termios.h-data: Likewise.
67700         * conform/data/utime.h-data: Likewise.
67701         * conform/data/utmpx.h-data: Likewise.
67702         * conform/data/varargs.h-data: Likewise.
67703         * conform/data/wchar.h-data: Likewise.
67704         * conform/data/wctype.h-data: Likewise.
67705         * conform/data/wordexp.h-data: Likewise.
67707         * include/stropts.h: New file.
67708         * include/uchar.h: New file.
67709         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67710         * include/assert.h: Likewise.
67711         * include/ctype.h: Likewise.
67712         * include/dirent.h: Likewise.
67713         * include/dlfcn.h: Likewise.
67714         * include/fcntl.h: Likewise.
67715         * include/fnmatch.h: Likewise.
67716         * include/glob.h: Likewise.
67717         * include/grp.h: Likewise.
67718         * include/libio.h: Likewise.
67719         * include/locale.h: Likewise.
67720         * include/math.h: Likewise.
67721         * include/net/if.h: Likewise.
67722         * include/netdb.h: Likewise.
67723         * include/netinet/in.h: Likewise.
67724         * include/pthread.h: Likewise.
67725         * include/pwd.h: Likewise.
67726         * include/regex.h: Likewise.
67727         * include/sched.h: Likewise.
67728         * include/search.h: Likewise.
67729         * include/setjmp.h: Likewise.
67730         * include/signal.h: Likewise.
67731         * include/stdio.h: Likewise.
67732         * include/stdlib.h: Likewise.
67733         * include/string.h: Likewise.
67734         * include/sys/cdefs.h: Likewise.
67735         * include/sys/mman.h: Likewise.
67736         * include/sys/msg.h: Likewise.
67737         * include/sys/resource.h: Likewise.
67738         * include/sys/select.h: Likewise.
67739         * include/sys/socket.h: Likewise.
67740         * include/sys/stat.h: Likewise.
67741         * include/sys/statvfs.h: Likewise.
67742         * include/sys/time.h: Likewise.
67743         * include/sys/times.h: Likewise.
67744         * include/sys/uio.h: Likewise.
67745         * include/sys/utsname.h: Likewise.
67746         * include/sys/wait.h: Likewise.
67747         * include/termios.h: Likewise.
67748         * include/time.h: Likewise.
67749         * include/ulimit.h: Likewise.
67750         * include/unistd.h: Likewise.
67751         * include/utime.h: Likewise.
67752         * include/wchar.h: Likewise.
67753         * include/wctype.h: Likewise.
67754         * include/wordexp.h: Likewise.
67756         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67758         * time/time.h: TIME_UTC must be a macro.
67759         Make timespec_get available for ISO C11 only as well.
67761 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67763         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67764         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67766 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67768         * configure.in: Use -o not -a in test for unsupported multi-arch.
67770 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67772         * manual/texinfo.tex: Update to version 2012-01-19.16.
67774 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67776         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67778 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67780         [BZ #13738]
67781         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67782         * manual/fdl-1.3.texi: New file.
67783         * manual/fdl-1.1.texi: File removed.
67785         [BZ #13738]
67786         * manual/libc.texinfo (FDL_VERSION): New @set.
67787         Use it for mention of FDL in cover text.
67788         (Documentation License): Use it in @include file name.
67790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67791             Roland McGrath  <roland@hack.frob.com>
67793         [BZ #5461]
67794         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67795         (not LONG_LONG_MAX and LONG_LONG_MIN.
67796         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67797         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67798         name.
67799         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67803         [BZ #2547]
67804         [BZ #11365]
67805         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67806         manipulate bits before adding and subtracting TWO23[sx].
67807         * math/libm-test.inc (nearbyint_test): Add more tests.
67809 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67811         [BZ #2548]
67812         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67813         bits before adding and subtracting TWO23[sx].
67814         * math/libm-test.inc (rint_test): Add more tests.
67815         (rint_test_tonearest): Likewise.
67816         (rint_test_towardzero): Likewise.
67817         (rint_test_downward): Likewise.
67818         (rint_test_upward: Likewise.
67820 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67822         [BZ #10110]
67823         * include/stdc-predef.h: New file.  Extracted from features.h.
67824         * include/features.h: Include stdc-predef.h.
67825         * Makefile (headers): Add stdc-predef.h.
67826         * CONFORMANCE (Compiler limitations): Update.
67828 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67830         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67832 2012-02-21  David S. Miller  <davem@davemloft.net>
67834         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67835         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67837 2012-02-20  David S. Miller  <davem@davemloft.net>
67839         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67840         using a normal save/restore sequence, rather than allocating a
67841         dummy stack frame just to store a frame pointer and restore.
67842         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67844 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67846         * manual/install.texi: Fix stray word in line-wrapped comment.
67848 2012-02-20  David S. Miller  <davem@davemloft.net>
67850         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67851         both binutils and gcc support GOTDATA.
67853         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67854         "rd %pc" in the PIC register setup sequences.
67856         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67857         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67858         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67859         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67860         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67861         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67862         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67863         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67865         (SYSCALL_ERROR_HANDLER): Likewise.
67866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67867         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67869         (SYSCALL_ERROR_HANDLER): Likewise.
67871         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67872         (HAVE_GCC_GOTDATA): New.
67873         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67874         relocation support in both binutils and gcc.
67875         * sysdeps/sparc/elf/configure: Regenerate.
67877         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67878         * sysdeps/sparc/sparc32/elf/configure: Delete.
67879         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67880         * sysdeps/sparc/sparc64/elf/configure: Delete.
67881         * sysdeps/sparc/elf/configure.in: New file.
67882         * sysdeps/sparc/elf/configure: Generate.
67884         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67885         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67886         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67887         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67888         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67890 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67892         * manual/install.texi: Do not mention specific glibc version
67893         numbers.
67894         * manual/libc.texinfo (VERSION, UPDATED): Update.
67895         (@copying): Use @copyright{} and range of years.
67897 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67899         [BZ #13695]
67900         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67901         [crti.S not in sysdirs] (generated): Do not append.
67902         [crti.S not in sysdirs] (omit-deps): Likewise.
67903         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67904         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67905         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67906         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67907         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67908         Likewise.
67909         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67910         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67911         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67912         * csu/defs.awk: Remove file.
67913         * sysdeps/generic/initfini.c: Likewise.
67914         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67915         variable.
67916         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67917         Likewise.
67919 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67921         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67922         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67923         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67924         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67926         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67927         <bits/epoll.h>.
67928         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67929         (__EPOLL_PACKED): Define to empty if not defined by
67930         <bits/epoll.h>.
67931         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67933         bits/epoll.h.
67935 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67937         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67938         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67939         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67940         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67941         <bits/timerfd.h>.
67942         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67944         bits/timerfd.h.
67946 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67948         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67949         in C locale.
67950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67951         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67952         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67955 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67957         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67958         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67960 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67962         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67963         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67964         defined.
67965         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67966         Likewise.
67967         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67968         entry for 2.16.
67970 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67972         * math/w_acos.c: Use non-signaling floating-point comparisons.
67973         * math/w_acosf.c: Likewise.
67974         * math/w_acosh.c: Likewise.
67975         * math/w_acoshf.c: Likewise.
67976         * math/w_acoshl.c: Likewise.
67977         * math/w_acosl.c: Likewise.
67978         * math/w_asin.c: Likewise.
67979         * math/w_asinf.c: Likewise.
67980         * math/w_asinl.c: Likewise.
67981         * math/w_atanh.c: Likewise.
67982         * math/w_atanhf.c: Likewise.
67983         * math/w_atanhl.c: Likewise.
67984         * math/w_exp2.c: Likewise.
67985         * math/w_exp2f.c: Likewise.
67986         * math/w_exp2l.c: Likewise.
67987         * math/w_j0.c: Likewise.
67988         * math/w_j0f.c: Likewise.
67989         * math/w_j0l.c: Likewise.
67990         * math/w_j1.c: Likewise.
67991         * math/w_j1f.c: Likewise.
67992         * math/w_j1l.c: Likewise.
67993         * math/w_jn.c: Likewise.
67994         * math/w_jnf.c: Likewise.
67995         * math/w_log.c: Likewise.
67996         * math/w_log10.c: Likewise.
67997         * math/w_log10f.c: Likewise.
67998         * math/w_log10l.c: Likewise.
67999         * math/w_log2.c: Likewise.
68000         * math/w_log2f.c: Likewise.
68001         * math/w_log2l.c: Likewise.
68002         * math/w_logf.c: Likewise.
68003         * math/w_logl.c: Likewise.
68004         * math/w_sqrt.c: Likewise.
68005         * math/w_sqrtf.c: Likewise.
68006         * math/w_sqrtl.c: Likewise.
68007         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68008         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68009         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68010         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68011         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68013 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68015         [BZ #9739]
68016         * manual/string.texi (strnlen): Use correct parameter name in
68017         equivalent expression.
68019 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68021         [BZ #11174]
68022         * manual/users.texi (seteuid): Consistently use neweuid for
68023         argument name.
68025 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68027         [BZ #13704]
68028         * manual/nss.texi (Services in the NSS configuration): Correct
68029         list of services in example configuration file.
68031 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68033         [BZ #11322]
68034         * manual/arith.texi: Remove statements about negative zero
68035         behaving identically to zero.
68037 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68039         [BZ #5993]
68040         * manual/install.texi: Do not document upgrading from libc5.
68042 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68044         [BZ #4596]
68045         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68047 2012-02-18  David S. Miller  <davem@davemloft.net>
68049         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68050         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68051         %o7 across the call.
68052         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68053         instead.
68054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68055         SETUP_PIC_REG_LEAF.
68056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68057         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68058         * sysdeps/sparc/crtn.S: Likewise.
68060 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68062         * aout/Makefile: Remove.
68064 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68066         [BZ #13058]
68067         * manual/examples/argp-ex1.c (main): Format definition in GNU
68068         style.
68069         * manual/examples/argp-ex2.c (main): Likewise.
68070         * manual/examples/argp-ex3.c (main): Likewise.
68071         * manual/examples/argp-ex4.c (main): Likewise.
68072         * manual/examples/longopt.c (main): Use new-style prototype
68073         definition.
68074         * manual/examples/strncat.c (main): Specify return type and use
68075         (void) for arguments.
68076         * manual/examples/subopt.c (main): Use char **argv argument.
68078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68080         [BZ #5077]
68081         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68082         rounding modes.
68084 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68086         [BZ #6907]
68087         * manual/string.texi (strchr): Change when strchrnul is
68088         recommended.
68090 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68092         [BZ #174]
68093         * manual/locale.texi (setlocale): Document LOCPATH.
68095 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68097         [BZ #10210]
68098         * manual/process.texi (execle): Move @dots{} before last argument.
68100 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68102         [BZ #12047]
68103         * manual/charset.texi (Generic Charset Conversion): Fix typo
68104         (LC_TYPE -> LC_CTYPE).
68106 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68108         [BZ #5805]
68109         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68110         (scalbnf): Likewise.
68111         (scalbnl): Likewise.
68112         (scalbln): Likewise.
68113         (scalblnf): Likewise.
68114         (scalblnl): Likewise.
68115         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68116         (vwarnx): Likewise.
68117         (verr): Likewise.
68118         (verrx): Likewise.
68119         * manual/filesys.texi (telldir): Use braces around return type.
68120         * manual/llio.texi (mmap): Add space after comma.
68121         (mmap64): Likewise.
68122         * manual/math.texi (jn): Use @var{} on parameter names.
68123         (jnf): Likewise.
68124         (jnl): Likewise.
68125         (yn): Likewise.
68126         (ynf): Likewise.
68127         (ynl): Likewise.
68128         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68129         line.
68130         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68131         "...".
68132         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68133         (sched_get_priority_max): Likewise.
68134         * manual/signal.texi (sigvec): Add space after comma.
68135         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68136         names.
68137         (if_indextoname): Likewise.
68138         (if_freenameindex): Likewise.
68139         (sendto): Use ',' instead of '.' in prototype.
68140         * manual/startup.texi (syscall): Use @dots{} instead of literal
68141         "...".
68142         * manual/stdio.texi (__fpending): Separate initial words of
68143         paragraph from @deftypefun line.
68144         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68145         "...".
68146         (vsyslog): Use @var{} on parameter names.
68147         * manual/terminal.texi (stty): Use @var{} on parameter names.
68148         * manual/users.texi (getutmp): Use @var{} on parameter names.
68149         (getutmpx): Likewise.
68151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68153         [BZ #6884]
68154         * manual/stdio.texi (fopen): Fix typos in description of
68155         ",ccs=STRING".
68157 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68159         [BZ #4026]
68160         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68161         get clock_id definition.
68163 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68165         [BZ #4822]
68166         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68167         (madvise): Cast every argument to void on its own.
68169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68171         [BZ #9902]
68172         * manual/startup.texi (Exit Status): Fix typo.
68174 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68176         [BZ #10140]
68177         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68178         * manual/examples/argp-ex2.c: Likewise.
68179         * manual/examples/argp-ex3.c: Likewise.
68181 2012-02-16  Richard Henderson  <rth@redhat.com>
68183         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68184         * sysdeps/s390/s390-32/initfini.c: Remove.
68185         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68186         * sysdeps/s390/s390-64/initfini.c: Remove.
68188 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68190         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68191         compiler output for sysdeps/generic/initfini.c.
68192         * sysdeps/sh/elf/initfini.c: Remove file.
68194 2012-02-16  David S. Miller  <davem@davemloft.net>
68196         [BZ #11494]
68197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68199         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68200         * sysdeps/sparc/crti.S: New file.
68201         * sysdeps/sparc/crtn.S: New file.
68202         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68203         * sysdeps/sparc/sparc64/Makefile: Likewise.
68205 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68207         [BZ #3335]
68208         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68210 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68212         [BZ #4822]
68213         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68215         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68216         (write, read, close): Likewise.
68217         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68219 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68221         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68222         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68223         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68224         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68225         <bits/signalfd.h>.
68226         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68228         bits/signalfd.h.
68230 2012-02-14  Marek Polacek  <polacek@redhat.com>
68232         * sysdeps/x86_64/crti.S: New file.
68233         * sysdeps/x86_64/crtn.S: New file.
68234         * sysdeps/x86_64/elf/initfini.c: Remove file.
68236 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68238         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68239         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68240         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68241         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68242         <bits/inotify.h>.
68243         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68245         bits/inotify.h.
68247 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68249         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68250         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68251         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68252         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68253         <bits/eventfd.h>.
68254         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68256         bits/eventfd.h.
68258 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68260         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68261         __feraiseexcept instead of feraiseexcept.
68263         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68264         nanosleep invocations.
68265         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68266         strings, and add error checking for a nanosleep invocations.
68268 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68270         Replace FSF snail mail address with URLs, as per GNU coding standards.
68271         Most of the snail mail addresses were wrong anyway, and omitting
68272         them makes the source code easier to maintain.  Almost all of the
68273         changes are to license notices and to locale LC_IDENTIFICATION
68274         addresses, except for this one:
68275         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68276         not its snail mail address.
68278 2012-02-09  Richard Henderson  <rth@twiddle.net>
68280         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68281         of kernel-features.h.
68283         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68285 2012-02-08  Marek Polacek  <polacek@redhat.com>
68287         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68288         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68289         * sysdeps/gnu/_G_config.h: Likewise.
68290         * sysdeps/generic/_G_config.h: Likewise.
68292 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68294         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68295         tests.
68296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68298         * sysdeps/powerpc/powerpc32/crti.S: New file.
68299         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68300         * sysdeps/powerpc/powerpc64/crti.S: New file.
68301         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68303         * Makeconfig (have-initfini): Don't set.
68304         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68305         * configure.in (nopic_initfini): Don't substitute.
68306         * config.h.in (HAVE_INITFINI): Don't #undef.
68307         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68308         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68310 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68312         Support crti.S and crtn.S provided directly by architectures.
68313         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68314         [crti.S in sysdirs] (omit-deps): Likewise.
68315         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68316         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68317         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68318         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68319         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68320         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68321         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68322         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68323         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68324         compiler output for sysdeps/generic/initfini.c.
68325         * sysdeps/i386/elf/Makefile: Remove file.
68326         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68328 2012-02-07  Marek Polacek  <polacek@redhat.com>
68330         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68331         * sysdeps/gnu/_G_config.h: Likewise.
68332         * sysdeps/mach/hurd/_G_config.h: Likewise.
68334 2012-02-07  Marek Polacek  <polacek@redhat.com>
68336         * math/Makefile (tests): Add tst-CMPLX2.
68337         * math/tst-CMPLX2.c: New file.
68339 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68341         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68343         * math/libm-test.inc (jn_test): Add missing L suffix.
68345 2012-02-06  Marek Polacek  <polacek@redhat.com>
68347         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68348         * sysdeps/i386/fpu/e_powf.S: Likewise.
68349         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68350         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68351         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68352         * sysdeps/i386/fpu/e_pow.S: Likewise.
68353         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68354         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68355         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68356         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68357         * sysdeps/i386/fpu/e_log2.S: Likewise.
68358         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68359         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68360         * sysdeps/i386/fpu/e_powl.S: Likewise.
68361         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68362         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68363         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68364         * sysdeps/i386/fpu/e_logl.S: Likewise.
68365         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68366         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68367         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68368         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68369         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68370         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68371         * sysdeps/i386/fpu/e_log.S: Likewise.
68372         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68373         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68374         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68375         * sysdeps/i386/fpu/e_logf.S: Likewise.
68376         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68377         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68378         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68379         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68380         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68381         * sysdeps/i386/fpu/e_log10.S: Likewise.
68382         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68383         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68384         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68385         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68386         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68387         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68388         * sysdeps/i386/asm-syntax.h: Likewise.
68389         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68390         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68391         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68392         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68393         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68394         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68395         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68396         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68397         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68398         * sysdeps/powerpc/sysdep.h: Likewise.
68399         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68400         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68402 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68404         [BZ #411]
68405         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68407 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68409         * sysdeps/i386/sysdep.h: Include <features.h>.
68410         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68411         version.
68413 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68415         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68416         Define.
68417         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68418         LOAD_PIC_REG_STR.
68420 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68422         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68423         (SETUP_PIC_REG): Use GET_PC_THUNK.
68424         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68425         macro.
68427 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68429         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68430         for non-PIC compilation.
68431         (SETUP_PIC_REG): Add .p2align directive.
68432         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68433         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68434         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68435         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68436         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68437         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68438         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68439         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68440         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68441         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68442         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68443         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68444         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68445         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68446         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68447         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68448         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68449         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68450         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68451         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68452         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68453         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68454         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68455         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68456         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68457         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68458         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68459         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68460         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68461         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68462         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68464         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68465         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68466         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68467         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68468         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68469         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68470         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68471         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68472         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68474 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68476         * math/tst-CMPLX.c: Include <stdio.h>.
68478 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68480         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68481         float.
68482         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68483         * sysdeps/sparc/bits/mathdef.h: Likewise.
68485 2012-01-31  Marek Polacek  <polacek@redhat.com>
68487         * libio/libio.h: Don't define _PARAMS.
68488         * locale/programs/config.h: Don't define PARAMS.
68489         * stdlib/strtol_l.c: Likewise.
68490         (__strtol_l): Remove PARAMS from the prototype.
68492 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68494         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68495         names.  Just use the correct names.  Remove unnecessary wrapper
68496         functions.
68497         * malloc/arena.c: Likewise.
68498         * malloc/hooks.c: Likewise.
68500         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68501         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68502         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68504 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68506         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68507         into tail calls.
68508         (update_get_addr): New function.
68509         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68510         GET_ADDR_MODULE parameter.
68512 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68514         * crypt/cert.c: Remove __STDC__ conditionals.
68515         * crypt/crypt-entry.c: Likewise.
68516         * crypt/crypt_util.c: Likewise.
68517         * libio/filedoalloc.c: Likewise.
68518         * libio/fileops.c: Likewise.
68519         * libio/genops.c: Likewise.
68520         * libio/iofclose.c: Likewise.
68521         * libio/iofdopen.c: Likewise.
68522         * libio/iofopen.c: Likewise.
68523         * libio/iofopen64.c: Likewise.
68524         * libio/iogetdelim.c: Likewise.
68525         * libio/iopopen.c: Likewise.
68526         * libio/obprintf.c: Likewise.
68527         * libio/oldfileops.c: Likewise.
68528         * libio/oldiofclose.c: Likewise.
68529         * libio/oldiofdopen.c: Likewise.
68530         * libio/oldiofopen.c: Likewise.
68531         * libio/oldiopopen.c: Likewise.
68532         * libio/wfiledoalloc.c: Likewise.
68533         * libio/wgenops.c: Likewise.
68534         * locale/programs/xmalloc.c: Likewise.
68535         * misc/syslog.c: Likewise.
68536         * stdio-common/xbug.c: Likewise.
68537         * string/memchr.c: Likewise.
68538         * string/memcmp.c: Likewise.
68539         * string/memrchr.c: Likewise.
68540         * string/rawmemchr.c: Likewise.
68541         * sysdeps/posix/getcwd.c: Likewise.
68542         * time/strftime_l.c: Likewise.
68544 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68546         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68547         * config.make.in (config-cflags-sse2avx): Define.
68548         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68549         Fix typo.
68551 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68553         * scripts/config.guess: Update from upstream config git repository.
68554         * scripts/config.sub: Likewise.
68556 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68558         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68559         (EM_NUM): Update.
68560         (R_TILEPRO_*, R_TILEGX_*): New macros.
68562         * scripts/firstversions.awk: Fix bug in version range handling.
68564         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68566         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68568         * include/sys/epoll.h: New file.
68569         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68570         libc_hidden_def.
68572 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68574         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68575         Avoid unnecessary __WORDSIZE == 64 test.
68576         (fmaxf): Use VEX format if possible.
68577         (fmax): Likewise.
68578         (fminf): Likewise.
68579         (fmin): Likewise.
68581         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68582         * math/math_private.h: Remove libc_fegetround* and
68583         libc_fesetround*.
68584         * sysdeps/i386/configure.in: Check for -msse2avx.
68585         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68586         also if SSE2AVX is defined.
68587         Remove libc_fegetround* and libc_fesetround*.
68588         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68589         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68590         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68591         of HAS_YMM_USABLE.
68592         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68593         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68594         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68595         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68596         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68598         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68600 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68602         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68603         size is not set.
68604         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68606 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68608         [BZ #13618]
68609         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68610         relocation.
68611         * Makeconfig (libm): Define.
68612         * elf/Makefile: Add rules to build and run tst-relsort1.
68613         * elf/tst-relsort1.c: New file.
68614         * elf/tst-relsort1mod1.c: New file.
68615         * elf/tst-relsort1mod2.c: New file.
68617 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68619         * math/s_ldexp.c: Remove __STDC__ conditionals.
68620         * math/s_ldexpf.c: Likewise.
68621         * math/s_ldexpl.c: Likewise.
68622         * math/s_nextafter.c: Likewise.
68623         * math/s_nexttowardf.c: Likewise.
68624         * math/s_significand.c: Likewise.
68625         * math/s_significandf.c: Likewise.
68626         * math/s_significandl.c: Likewise.
68627         * math/w_jnl.c: Likewise.
68628         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68629         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68630         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68631         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68632         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68633         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68634         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68635         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68636         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68637         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68638         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68639         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68640         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68641         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68642         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68643         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68644         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68645         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68647         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68648         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68649         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68650         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68652         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68653         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68654         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68655         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68656         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68657         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68658         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68659         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68660         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68661         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68662         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68663         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68664         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68665         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68666         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68667         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68668         * sysdeps/ieee754/k_standard.c: Likewise.
68669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68670         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68671         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68672         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68673         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68674         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68675         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68676         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68677         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68678         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68679         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68680         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68681         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68682         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68683         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68685         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68686         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68687         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68688         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68689         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68690         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68691         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68692         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68693         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68694         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68696         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68697         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68698         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68699         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68700         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68701         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68702         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68704         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68705         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68706         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68707         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68708         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68709         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68710         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68711         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68712         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68713         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68714         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68716         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68717         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68718         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68719         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68720         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68721         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68722         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68723         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68724         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68725         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68727         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68728         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68730         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68731         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68733         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68734         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68735         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68743         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68744         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68748         * sysdeps/ieee754/s_matherr.c: Likewise.
68749         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68750         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68754 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68756         * crypt/md5.h: Remove __STDC__ conditionals.
68757         * libio/libioP.h: Likewise.
68758         * locale/programs/config.h: Likewise.
68759         * sysdeps/generic/sysdep.h: Likewise.
68760         * sysdeps/i386/asm-syntax.h: Likewise.
68761         * sysdeps/s390/asm-syntax.h: Likewise.
68762         * sysdeps/unix/sysdep.h: Likewise.
68763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68766 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68768         * libio/libio.h: Remove __STDC__ conditionals.
68769         * malloc/obstack.h: Likewise.
68770         * math/complex.h: Likewise.
68771         * math/math.h: Likewise.
68772         * sysdeps/generic/_G_config.h: Likewise.
68773         * sysdeps/gnu/_G_config.h: Likewise.
68774         * sysdeps/mach/hurd/_G_config.h: Likewise.
68775         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68776         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68777         * sysdeps/sparc/bits/mathdef.h: Likewise.
68779 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68781         [BZ #13583]
68782         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68783         Clean up HAS_* macros.
68784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68785         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68786         possible.
68787         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68788         HAS_AVX.
68789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68790         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68795 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68797         * elf/tst-unique3.cc (gets): Remove declaration.
68798         * elf/tst-unique3lib.cc (gets): Likewise.
68799         * elf/tst-unique3lib2.cc (gets): Likewise.
68800         * elf/tst-unique4.cc (gets): Likewise.
68802 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68804         * include/stdio.h: Add C++ protection.  Add gets declarations and
68805         definitions.
68806         * debug/tst-chk1.c: Don't declare gets here.
68807         * stdio-common/tst-gets.c: Likewise.
68809 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68811         * posix/glob: Remove directory.
68813 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68815         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68817 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68819         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68820         of the non-standard EPFNOSUPPORT.
68822 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68824         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68825         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68826         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68828 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68830         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68832 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68834         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68835         transient errors.
68836         * nscd/grpcache.c (cache_addgr): Likewise.
68837         * nscd/hstcache.c (cache_addhst): Likewise.
68838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68839         * nscd/pwdcache.c (cache_addpw): Likewise.
68840         * nscd/servicescache.c (cache_addserv): Likewise.
68842 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68844         * malloc/malloc.c: Various cleanups.
68845         * malloc/hooks.c: Likewise.
68847         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68848         * stdlib/bug-fmtmsg1.c: New file.
68850         * stdlib/fmtmsg.c (init): Add missing unlock.
68851         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68853 2012-01-12  Marek Polacek  <polacek@redhat.com>
68855         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68856         and _GNU_SOURCE.
68858 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68860         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68861         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68862         macro to ensure uniqueness of label name.
68863         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68864         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68866 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68868         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68870         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68871         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68872         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68873         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68875 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68877         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68879         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68880         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68881         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68883         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68885         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68886         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68887         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68888         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68890         * math/bits/math-finite.h: Add ldexp support.
68892 2012-01-10  Marek Polacek  <polacek@redhat.com>
68894         * locale/programs/localedef.h (show_archive_content): Add noreturn
68895         attribute.
68897 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68899         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68901 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68903         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68905         * io/Makefile (headers): Add bits/poll2.h.
68907 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68910         typo #include statement.
68912 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68914         * include/sys/cdefs.h: Define __attribute_alloc_size.
68915         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68916         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68917         * elf/pldd.c: Likewise.
68918         * iconv/iconv_charmap.c: Likewise.
68919         * iconv/iconvconfig.c: Likewise.
68920         * iconv/strtab.c: Likewise.
68921         * locale/programs/locale.c: Likewise.
68922         * locale/programs/localedef.h: Likewise.
68923         * locale/programs/simple-hash.c: Likewise.
68924         * nscd/nscd.h: Likewise.
68925         * nss/makedb.c: Likewise.
68926         * sysdeps/generic/ldconfig.h: Likewise.
68927         * locale/programs/localedef.c: Remove xmalloc prototype.
68928         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68930 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68933         appropriate.
68935 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68937         * math/Makefile (tests): Add tst-CMPLX.
68938         * math/tst-CMPLX.c: New file.
68940         * math/complex.h (CMPLXL): Fix typo.
68942         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68943         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68944         GLIBC_2.16.
68945         * debug/tst-chk1.c: Add poll and ppoll tests.
68946         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68947         * include/sys/poll.h: Add hidden proto for ppoll.
68948         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68949         * sysdeps/mach/hurd/ppoll.c: Likewise.
68950         * io/ppoll.c: Likewise.
68951         * debug/poll_chk.c: New file.
68952         * debug/ppoll_chk.c: New file.
68953         * include/bits/poll2.h: New file.
68954         * io/bits/poll2.h: New file.
68956         [BZ #1350]
68957         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68959         * configure.in: static is always set to yes.  Remove.
68960         * config.make.in: Don't set build-static.
68961         * Makeconfig: Remove use of build-static.
68962         * dlfcn/Makefile: Likewise.
68963         * elf/Makefile: Likewise.
68964         * math/Makefile: Likewise.
68965         * misc/Makefile: Likewise.
68966         * nptl/Makefile: Likewise.
68967         * sysdeps/mach/hurd/Makefile: Likewise.
68969         * configure.in: PWD_P is not used anymore.
68970         * config.make.in: Remove PWD_P entry.
68972         * configure.in: Remove last remnants of RANLIB.
68973         No need to check for signed size_t anymore.
68974         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68975         and IA-64.
68976         Remove __builtin_expect test because we require at least gcc 3.4.
68977         * aclocal.m4: Likewise.
68979         * wcsmbs/mbrtoc16.c: Implement using towc function.
68980         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68981         * wcsmbs/wcsmbsload.c: Likewise.
68982         * iconv/gconv_simple.c: Likewise.
68983         * iconv/gconv_int.h: Likewise.
68984         * iconv/gconv_builtin.h: Likewise.
68985         * iconv/iconv_prog.c: Remove CHAR16 handling.
68987         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68989         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68991         * configure.in: Remove --with-elf and --enable-bounded options.
68992         Dont set base_machine for ia64.  More non-ELF conditions removed.
68993         Remove testing and setting of leading underscore information.
68994         * config.make.in (build-bounded): Set to no.
68995         * config.h.in: Remove NO_UNDERSCORES entry.
68996         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68997         them.
68998         * csu/start.c: Remove !NO_UNDERSCORE code.
68999         * locale/localeinfo.h: Likewise.
69000         * sysdeps/generic/machine-gmon.h: Likewise.
69001         * sysdeps/generic/sysdep.h: Likewise.
69002         * sysdeps/i386/sysdep.h: Likewise.
69003         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69004         * sysdeps/mach/sysdep.h: Likewise.
69005         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69006         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69007         * sysdeps/sh/sysdep.h: Likewise.
69008         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69009         * sysdeps/unix/i386/sysdep.S: Likewise.
69010         * sysdeps/unix/sparc/start.c: Likewise.
69011         * sysdeps/unix/sparc/sysdep.S: Likewise.
69012         * sysdeps/unix/sparc/sysdep.h: Likewise.
69013         * sysdeps/unix/start.c: Likewise.
69014         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69015         * sysdeps/x86_64/sysdep.h: Likewise.
69017 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69019         [BZ #13553]
69020         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69021         for non-gcc.
69022         * argp/argp-fmtstream.h: Use const instead __const.
69023         * argp/argp.h: Likewise.
69024         * assert/assert.h: Likewise.
69025         * bits/fenv.h: Likewise.
69026         * bits/sched.h: Likewise.
69027         * bits/sigset.h: Likewise.
69028         * bits/sigthread.h: Likewise.
69029         * catgets/nl_types.h: Likewise.
69030         * conform/data/pthread.h-data: Likewise.
69031         * crypt/crypt-private.h: Likewise.
69032         * crypt/crypt.h: Likewise.
69033         * crypt/crypt_util.c: Likewise.
69034         * ctype/ctype.h: Likewise.
69035         * debug/execinfo.h: Likewise.
69036         * debug/mbsnrtowcs_chk.c: Likewise.
69037         * debug/mbsrtowcs_chk.c: Likewise.
69038         * debug/wcsnrtombs_chk.c: Likewise.
69039         * debug/wcsrtombs_chk.c: Likewise.
69040         * debug/wcstombs_chk.c: Likewise.
69041         * dirent/dirent.h: Likewise.
69042         * dlfcn/dlfcn.h: Likewise.
69043         * elf/neededtest4.c: Likewise.
69044         * grp/grp.h: Likewise.
69045         * gshadow/gshadow.h: Likewise.
69046         * iconv/gconv.h: Likewise.
69047         * iconv/gconv_int.h: Likewise.
69048         * iconv/gconv_simple.c: Likewise.
69049         * iconv/iconv.h: Likewise.
69050         * iconv/loop.c: Likewise.
69051         * iconv/skeleton.c: Likewise.
69052         * include/aio.h: Likewise.
69053         * include/aliases.h: Likewise.
69054         * include/argz.h: Likewise.
69055         * include/arpa/inet.h: Likewise.
69056         * include/assert.h: Likewise.
69057         * include/dirent.h: Likewise.
69058         * include/dlfcn.h: Likewise.
69059         * include/execinfo.h: Likewise.
69060         * include/fcntl.h: Likewise.
69061         * include/fenv.h: Likewise.
69062         * include/glob.h: Likewise.
69063         * include/grp.h: Likewise.
69064         * include/libintl.h: Likewise.
69065         * include/mntent.h: Likewise.
69066         * include/netdb.h: Likewise.
69067         * include/pwd.h: Likewise.
69068         * include/rpc/netdb.h: Likewise.
69069         * include/sched.h: Likewise.
69070         * include/search.h: Likewise.
69071         * include/shadow.h: Likewise.
69072         * include/signal.h: Likewise.
69073         * include/stdio.h: Likewise.
69074         * include/stdlib.h: Likewise.
69075         * include/string.h: Likewise.
69076         * include/sys/socket.h: Likewise.
69077         * include/sys/stat.h: Likewise.
69078         * include/sys/statfs.h: Likewise.
69079         * include/sys/statvfs.h: Likewise.
69080         * include/sys/syslog.h: Likewise.
69081         * include/sys/time.h: Likewise.
69082         * include/sys/uio.h: Likewise.
69083         * include/time.h: Likewise.
69084         * include/unistd.h: Likewise.
69085         * include/utmp.h: Likewise.
69086         * include/wchar.h: Likewise.
69087         * include/wctype.h: Likewise.
69088         * inet/aliases.h: Likewise.
69089         * inet/arpa/inet.h: Likewise.
69090         * inet/netinet/ether.h: Likewise.
69091         * inet/netinet/in.h: Likewise.
69092         * intl/libintl.h: Likewise.
69093         * io/bits/fcntl2.h: Likewise.
69094         * io/fcntl.h: Likewise.
69095         * io/ftw.h: Likewise.
69096         * io/sys/poll.h: Likewise.
69097         * io/sys/stat.h: Likewise.
69098         * io/sys/statfs.h: Likewise.
69099         * io/sys/statvfs.h: Likewise.
69100         * io/utime.h: Likewise.
69101         * libio/bits/stdio.h: Likewise.
69102         * libio/bits/stdio2.h: Likewise.
69103         * libio/libio.h: Likewise.
69104         * libio/libioP.h: Likewise.
69105         * libio/stdio.h: Likewise.
69106         * locale/lc-ctype.c: Likewise.
69107         * locale/locale.h: Likewise.
69108         * login/utmp.h: Likewise.
69109         * malloc/arena.c: Likewise.
69110         * malloc/malloc.c: Likewise.
69111         * malloc/malloc.h: Likewise.
69112         * malloc/mcheck.c: Likewise.
69113         * malloc/mtrace.c: Likewise.
69114         * math/bits/mathcalls.h: Likewise.
69115         * math/fenv.h: Likewise.
69116         * math/math_private.h: Likewise.
69117         * misc/bits/error.h: Likewise.
69118         * misc/bits/syslog.h: Likewise.
69119         * misc/err.h: Likewise.
69120         * misc/error.h: Likewise.
69121         * misc/fstab.h: Likewise.
69122         * misc/mntent.h: Likewise.
69123         * misc/regexp.h: Likewise.
69124         * misc/search.h: Likewise.
69125         * misc/sgtty.h: Likewise.
69126         * misc/sys/mman.h: Likewise.
69127         * misc/sys/syslog.h: Likewise.
69128         * misc/sys/uio.h: Likewise.
69129         * misc/sys/xattr.h: Likewise.
69130         * misc/ttyent.h: Likewise.
69131         * nis/rpcsvc/ypclnt.h: Likewise.
69132         * nss/nss.h: Likewise.
69133         * posix/bits/unistd.h: Likewise.
69134         * posix/fnmatch.h: Likewise.
69135         * posix/glob.h: Likewise.
69136         * posix/sched.h: Likewise.
69137         * posix/spawn.h: Likewise.
69138         * posix/sys/wait.h: Likewise.
69139         * posix/unistd.h: Likewise.
69140         * posix/wordexp.h: Likewise.
69141         * pwd/pwd.h: Likewise.
69142         * resolv/netdb.h: Likewise.
69143         * resource/sys/resource.h: Likewise.
69144         * rt/aio.h: Likewise.
69145         * rt/bits/mqueue2.h: Likewise.
69146         * rt/mqueue.h: Likewise.
69147         * shadow/shadow.h: Likewise.
69148         * signal/signal.h: Likewise.
69149         * socket/send.c: Likewise.
69150         * socket/sendto.c: Likewise.
69151         * socket/sys/socket.h: Likewise.
69152         * stdio-common/printf.h: Likewise.
69153         * stdlib/bits/stdlib.h: Likewise.
69154         * stdlib/fmtmsg.h: Likewise.
69155         * stdlib/monetary.h: Likewise.
69156         * stdlib/stdlib.h: Likewise.
69157         * stdlib/ucontext.h: Likewise.
69158         * streams/stropts.h: Likewise.
69159         * string/argz.h: Likewise.
69160         * string/bits/string2.h: Likewise.
69161         * string/string.h: Likewise.
69162         * string/strings.h: Likewise.
69163         * sunrpc/rpc/auth.h: Likewise.
69164         * sunrpc/rpc/auth_des.h: Likewise.
69165         * sunrpc/rpc/clnt.h: Likewise.
69166         * sunrpc/rpc/netdb.h: Likewise.
69167         * sunrpc/rpc/pmap_clnt.h: Likewise.
69168         * sunrpc/rpc/xdr.h: Likewise.
69169         * sysdeps/generic/inttypes.h: Likewise.
69170         * sysdeps/generic/net/if.h: Likewise.
69171         * sysdeps/generic/sys/swap.h: Likewise.
69172         * sysdeps/gnu/net/if.h: Likewise.
69173         * sysdeps/gnu/utmpx.h: Likewise.
69174         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69175         * sysdeps/i386/i486/bits/string.h: Likewise.
69176         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69177         * sysdeps/s390/bits/string.h: Likewise.
69178         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69179         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69180         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69181         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69182         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69183         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69184         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69185         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69186         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69187         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69188         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69189         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69190         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69191         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69192         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69193         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69194         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69195         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69196         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69197         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69198         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69199         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69200         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69201         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69202         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69203         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69204         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69205         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69206         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69207         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69208         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69209         * sysvipc/sys/ipc.h: Likewise.
69210         * sysvipc/sys/msg.h: Likewise.
69211         * sysvipc/sys/sem.h: Likewise.
69212         * sysvipc/sys/shm.h: Likewise.
69213         * termios/termios.h: Likewise.
69214         * time/sys/time.h: Likewise.
69215         * time/time.h: Likewise.
69216         * wcsmbs/bits/wchar2.h: Likewise.
69217         * wcsmbs/uchar.h: Likewise.
69218         * wcsmbs/wchar.h: Likewise.
69219         * wctype/wctype.h: Likewise.
69221         [BZ #13551]
69222         * Makeconfig: Remove all but ELF support including AIX support.
69223         * Makerules: Likewise.
69224         * config.h.in: Likewise.
69225         * config.make.in: Likewise.
69226         * configure: Likewise.
69227         * configure.in: Likewise.
69228         * csu/Makefile: Likewise.
69229         * csu/version.c: Likewise.
69230         * debug/Makefile: Likewise.
69231         * dlfcn/Makefile: Likewise.
69232         * elf/Makefile: Likewise.
69233         * extra-lib.mk: Likewise.
69234         * iconv/Makefile: Likewise.
69235         * include/libc-symbols.h: Likewise.
69236         * include/shlib-compat.h: Likewise.
69237         * resolv/Makefile: Likewise.
69238         * resolv/res_libc.c: Likewise.
69239         * rt/Makefile: Likewise.
69240         * sysdeps/i386/asm-syntax.h: Likewise.
69241         * sysdeps/i386/sysdep.h: Likewise.
69242         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69243         * sysdeps/mach/sysdep.h: Likewise.
69244         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69245         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69246         * sysdeps/s390/asm-syntax.h: Likewise.
69247         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69248         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69249         * sysdeps/sh/sysdep.h: Likewise.
69250         * sysdeps/unix/sparc/sysdep.h: Likewise.
69251         * sysdeps/wordsize-32/divdi3.c: Likewise.
69252         * sysdeps/x86_64/sysdep.h: Likewise.
69254         * argp/Versions: Remove _argp_unlock_xxx.
69256         [BZ #13559]
69257         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69258         * abilist/libBrokenLocale.abilist: Likewise.
69259         * abilist/libanl.abilist: Likewise.
69260         * abilist/libc.abilist: Likewise.
69261         * abilist/libcrypt.abilist: Likewise.
69262         * abilist/libdl.abilist: Likewise.
69263         * abilist/libm.abilist: Likewise.
69264         * abilist/libnsl.abilist: Likewise.
69265         * abilist/libpthread.abilist: Likewise.
69266         * abilist/libresolv.abilist: Likewise.
69267         * abilist/librt.abilist: Likewise.
69268         * abilist/libthread_db.abilist: Likewise.
69269         * abilist/libutil.abilist: Likewise.
69270         * abilist/libnss_db.abilist: New file.
69272         * scripts/abilist.awk: Add support for indirect functions.
69274         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69276         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69278         * shlib-versions: Remove entries for ports architectures.
69280         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69281         files in ports.
69282         * elf/stackguard-macros.h: Remove support for IA-64.
69283         * elf/tst-auditmod1.c: Likewise.
69284         * sysdeps/generic/ldsodefs.h: Likewise.
69286         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69287         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69288         configure files.
69290         [BZ #13552]
69291         * configure.in: Remove --enable-omitfp support.
69292         * FAQ.in: Adjust.
69293         * config.make.in: Likewise.
69294         * Makeconfig: Likewise.
69295         * manual/install.texi: Likewise.
69297         In case anyone cares, the IA-64 architecture could move to ports.
69298         * sysdeps/ia64/*: Removed.
69299         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69300         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69302         [BZ #13555]
69303         * configure.in: Remove entries for unsupported architectures.
69305         [BZ #13533]
69306         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69307         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69308         routines.
69309         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69310         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69311         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69312         fall back to using wcrtomb.
69313         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69314         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69315         renaming.
69316         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69317         * wcsmbs/tst-c16c32-1.c: New file.
69319         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69320         local variable.
69322         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69324         * elf/tst-unique3.cc: Add explicit declaration of gets.
69325         * elf/tst-unique3lib.cc: Likewise.
69326         * elf/tst-unique3lib2.cc: Likewise.
69327         * elf/tst-unique4.cc: Likewise.
69329         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69331 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69333         [BZ #13566]
69334         * assert/assert.h (static_assert): Don't define for C++.
69335         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69336         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69338 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69340         * iconv/loop.c (single loop): Fix assertion in storing of
69341         remaining bytes.
69343         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69345 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69347         * posix/getconf.c: Update copyright year.
69348         * nss/getent.c: Likewise.
69349         * nss/makedb.c: Likewise.
69350         * iconv/iconvconfig.c: Likewise.
69351         * iconv/iconv_prog.c: Likewise.
69352         * elf/ldconfig.c: Likewise.
69353         * elf/pldd.c: Likewise.
69354         * elf/sotruss.ksh: Likewise.
69355         * catgets/gencat.c: Likewise.
69356         * csu/version.c: Likewise.
69357         * elf/ldd.bash.in: Likewise.
69358         * elf/sprof.c (print_version): Likewise.
69359         * locale/programs/locale.c: Likewise.
69360         * locale/programs/localedef.c: Likewise.
69361         * login/programs/pt_chown.c: Likewise.
69362         * nscd/nscd.c (print_version): Likewise.
69363         * debug/xtrace.sh: Likewise.
69364         * malloc/memusage.sh: Likewise.
69365         * malloc/mtrace.pl: Likewise.
69366         * debug/catchsegv.sh: Likewise.
69368 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69370         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69371         pure attribute.
69373 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69375         [BZ #13533]
69376         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69377         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69378         transformations.
69379         * iconv/gconv_int.h: Likewise.
69380         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69381         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69382         from libc for GLIBC_2.16.
69383         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69384         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69385         * wcsmbs/uchar.h: Really define mbstate_t.
69386         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69387         * wcsmbs/c16rtomb.c: New file.
69388         * wcsmbs/mbrtoc16.c: New file.
69389         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69390         for C/POSIX locale.
69391         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69392         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69394         * wcsmbs/wchar.h: Add missing __restrict.
69396 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69398         [BZ #13532]
69399         * time/Makefile (routines): Add timespec_get.
69400         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69401         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69402         timespec for ISO C11.
69403         * time/timespec_get.c: New file.
69404         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69405         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69407         [BZ #13531]
69408         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69409         * stdlib/stdlib.h: Declare aligned_alloc.
69410         * Versions.def: Add GLIBC_2.16 for libc.
69411         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69413         [BZ 13527]
69414         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69415         ISO C11.
69417         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69418         code.
69420         [BZ #13528]
69421         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69423         [BZ #13529]
69424         * assert/assert.h (static_assert): Define.
69426         * version.h: Update for 2.16 development version.
69428         [BZ #13526]
69429         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69430         _ISOC11_SOURCE.
69432         * version.h (RELEASE): Bump for 2.15 release.
69433         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69435         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69436         Patch by Marek Polacek <mpolacek@redhat.com>.
69438         * bits/byteswap.h: Protect long long constants with __extension__.
69439         * sysdeps/i386/bits/byteswap.h: Likewise.
69440         * sysdeps/ia64/bits/byteswap.h: Likewise.
69441         * sysdeps/s390/bits/byteswap.h: Likewise.
69442         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69444 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69446         [BZ #13540]
69447         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69448         destination buffer.
69449         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69451 2011-12-23  Marek Polacek  <polacek@redhat.com>
69453         * elf/dl-addr.c (determine_info): Add inline keyword.
69454         * elf/tst-auditmod4b.c (check_avx): Likewise.
69455         * elf/tst-auditmod6b.c (check_avx): Likewise.
69456         * elf/tst-auditmod6c.c (check_avx): Likewise.
69457         * elf/tst-auditmod7b.c (check_avx): Likewise.
69459 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69461         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69462         !__SSE_MATH__.
69464 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69466         [BZ #13540]
69467         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69468         processing for last bytes.
69470 2011-08-06  Bruno Haible  <bruno@clisp.org>
69472         [BZ #13061]
69473         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69474         U+0385, not to U+1FEE.
69476         [BZ #13062]
69477         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69478         entry for U+00A5 U+0301.
69480 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69482         [BZ #13166]
69483         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69484         buffer for the output is too small.
69486         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69487         optimization.
69489         [BZ #13185]
69490         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69491         SSE flags if possible.
69493 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69495         [BZ #13540]
69496         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69497         processing for last bytes.
69499 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69501         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69502         (syscall-list-default-options, syscall-list-default-condition)
69503         (syscall-list-includes): Define.
69504         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69505         list of ABIs and options and #if conditions for each ABI.  Do not
69506         handle common syscalls between ABIs specially.
69507         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69508         Remove.
69509         (syscall-list-variants, syscall-list-32bit-options)
69510         (syscall-list-32bit-condition, syscall-list-64bit-options)
69511         (syscall-list-64bit-condition): Define.
69512         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69513         (syscall-list-variants, syscall-list-32bit-options)
69514         (syscall-list-32bit-condition, syscall-list-64bit-options)
69515         (syscall-list-64bit-condition): Define.
69516         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69517         Remove.
69518         (syscall-list-variants, syscall-list-32bit-options)
69519         (syscall-list-32bit-condition, syscall-list-64bit-options)
69520         (syscall-list-64bit-condition): Define.
69521         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69522         Remove.
69523         (syscall-list-variants, syscall-list-32bit-options)
69524         (syscall-list-32bit-condition, syscall-list-64bit-options)
69525         (syscall-list-64bit-condition): Define.
69527 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69529         * locale/iso-639.def: Add brx entry.
69531         [BZ #13328]
69532         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69533         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69535         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69536         __feraiseexcept_renamed.
69538 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69540         [BZ #13538]
69541         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69542         EPOLLET with unsigned values.
69543         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69544         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69546         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69547         to large cancellation.
69548         * math/s_cacoshf.c: Likewise.
69549         * math/s_cacoshl.c: Likewise.
69551 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69553         [BZ #13305]
69554         [BZ #12786]
69555         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69556         * math/s_cacoshf.c: Likewise.
69557         * math/s_cacoshl.c: Likewise.
69559 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69561         [BZ #13439]
69562         * iconv/gconv.h: Define __GCONV_SWAP.
69563         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69564         * iconvdata/utf-16.c: Likewise.
69565         * iconvdata/utf-32.c: Likewise.
69567 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69569         [BZ #13524]
69570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69571         numerator after shifting it by one limb.
69573 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69575         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69576         under [__USE_EXTERN_INLINES].
69578 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69580         [BZ #13446]
69581         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69583 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69585         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69586         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69587         optimized code.
69588         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69589         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69590         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69591         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69592         for strncasecmp/strncasecmp_l compilation.
69593         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69594         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69596 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69598         [BZ #13484]
69599         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69600         of __asm__.
69602 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69604         [BZ #13506]
69605         * time/tzfile.c (__tzfile_read): Check values from file header.
69607 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69609         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69610         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69611         * powerpc/powerpc32/dl-start.S: Likewise.
69612         * powerpc/powerpc32/elf/start.S: Likewise.
69613         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69614         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69615         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69616         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69617         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69618         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69619         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69620         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69621         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69622         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69623         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69624         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69625         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69626         * powerpc/powerpc32/memset.S: Likewise.
69627         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69628         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69629         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69630         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69631         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69632         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69633         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69634         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69635         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69636         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69637         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69638         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69639         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69641 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69643         * math/libm-test.inc: Added more nearbyint tests.
69644         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69645         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69646         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69647         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69649 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69651         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69652         FD_CLOEXEC.
69654 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69656         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69657         Add wcscpy-ssse3 wcscpy-c.
69658         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69659         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69660         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69661         * sysdeps/x86_64/wcschr.S: New file.
69662         * sysdeps/x86_64/wcsrchr.S: New file.
69663         * string/test-strcmp.c: Remove checking of wcscmp function for
69664         wrong alignments.
69665         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69666         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69667         wcsrchr-sse2 wcsrchr-c.
69668         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69669         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69670         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69671         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69672         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69673         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69674         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69675         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69676         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69677         * wcsmbc/wcschr.c (WCSCHR): New macro.
69679 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69681         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69682         * wcsmbs/test-wcsrchr.c: New file.
69683         * string/test-strrchr.c: Add wcsrchr support.
69684         (WIDE): New macro.
69685         * wcsmbs/test-wcscpy.c: New file.
69686         * string/test-strcpy.c: Add wcscpy support.
69687         (WIDE): New macro.
69689 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69691         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69692         the inner loop.
69694 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69696         [BZ #13472]
69697         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69699 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69701         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69702         Minor optimizations.
69704         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69705         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69706         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69708 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69710         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69711         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69712         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69713         for gcc to avoid warnings.
69714         * inet/Makefile (tests): Add tst-checks.
69715         * inet/tst-checks.c: New file.
69717         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69718         warning.
69720         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69721         __wmemcmp_sse2.
69723         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69724         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69726         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69728 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69730         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69731         problem.
69733         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69735 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69737         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69738         conditional on GCC version.
69739         (__arch_compare_and_exchange_val_8_acq)
69740         (__arch_compare_and_exchange_val_16_acq)
69741         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69742         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69743         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69745 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69747         * sysdeps/sh/backtrace.c: New file.
69749 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69751         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69752         parenthesis.
69754 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69756         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69757         falling back to utime.
69759 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69761         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69762         expectations for float.
69764 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69766         * locale/weight.h (findidx): Add parameter len.
69767         * locale/weightwc.h (findidx): Likewise.
69768         * posix/fnmatch_loop.c (FCT): Adjust caller.
69769         * posix/regcomp.c (build_equiv_class): Likewise.
69770         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69771         * posix/regexec.c (check_node_accept_bytes): Likewise.
69772         * string/strcoll_l.c (STRCOLL): Likewise.
69773         * string/strxfrm_l.c (STRXFRM): Likewise.
69775 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69777         * Makefile.in: Remove CVSOPT handling.
69778         * configure.in: Remove use of AC_REVISION.
69779         * iconvdata/Makefile (distribute): No need to filter out CVS.
69780         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69781         handling.
69783 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69785         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69786         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69787         [USE_AS_STRNCASECMP_L]: Likewise.
69788         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69789         NO_TLS_DIRECT_SEG_REFS.
69790         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69791         Fix argument offsets for non-PIC.
69792         [USE_AS_STRNCASECMP_L]: Likewise.
69793         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69794         NO_TLS_DIRECT_SEG_REFS.
69796 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69798         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69799         O_CLOEXEC.
69800         * locale/loadlocale.c (_nl_load_locale): Likewise.
69802 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69804         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69805         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69806         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69807         (SYSCALL_GETTIME): Set errno on error.
69809         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69810         count references to noai6ai_cached.
69812 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69814         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69816         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69817         FD_CLOEXEC for /proc/self/maps.
69819         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69820         FD_CLOEXEC for /proc/meminfo.
69822         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69823         gai.conf.
69825         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69826         FD_CLOEXEC for given file.
69828         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69830         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69831         FD_CLOEXEC for /etc/hosts.
69832         (_gethtent): Likewise.
69834         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69836         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69837         cancellation and set FD_CLOEXEC for /etc/netgroup.
69839         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69840         reading /etc/publickey.
69842         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69843         allow cancellation when reading /etc/group.
69845         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69846         cancellation.
69847         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69849         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69850         when using data file.
69852         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69854         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69855         (write_nis_obj): Use "c" and "e" in fopen.
69857         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69859         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69861         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69863         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69865         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69866         locale.alias.
69868         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69870         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69872         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69874         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69875         file parsing and set FD_CLOEXEC.
69877 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69879         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69881 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69883         * malloc/arena.c (arena_get2): Don't call reused_arena when
69884         _int_new_arena failed.
69886 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69888         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69889         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69890         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69891         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69892         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69893         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69894         to compile strcasecmp and strncasecmp.
69895         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69896         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69900 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69902         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69903         locale-defines.sym to gen-as-const-headers.
69904         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69905         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69906         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69907         to compile strcasecmp and strncasecmp.
69908         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69909         strcasecmp_l and strncasecmp_l.
69910         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69911         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69912         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69913         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69914         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69915         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69916         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69917         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69918         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69919         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69920         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69922 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69924         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69925         result of SYSDEP_GETTIME_CPU to retval.
69926         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69927         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69929         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69930         variable.
69932         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69933         mantissa words.
69934         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69936         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69937         from unused variable.
69939         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69940         DWARF definitions.
69941         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69942         for assembling.
69944         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69945         over namespaces.
69947         * sunrpc/rpc_prot.c (rejected): Fix case value.
69949         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69950         unsigned long long int to avoid warnings in shift.
69952         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69953         of use of trans.
69954         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69955         variable tmp.
69957         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69958         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69959         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69961         * nis/nis_table.c (nis_list): Use variable of correct type for
69962         result of __follow_path call.
69964 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69966         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69967         of math functions ceil, trunc, floor, round, and sqrt, when
69968         avaliable on the platform.
69969         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69970         name clash.
69971         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69972         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69973         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69975 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69977         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69978         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69980 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69982         * include/unistd.h: Fix __readlink return type.
69983         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69985 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69987         * stdlib/ucontext.h: Undo last change for makecontext.
69989 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69991         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69993         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69994         * setjmp/setjmp.h: Mark functions as non-leaf.
69995         * setjmp/bits/setjmp2.h: Likewise.
69996         * stdlib/ucontext.h: Likewise.
69998 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70000         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70001         (reused_arena): Don't check arena limit.
70002         (arena_get2): Atomically check arena limit.
70004 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70006         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70007         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70010         instructions.
70012 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70014         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70015         handler when locking.
70017         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70018         Fix size of allocated buffer.
70020 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70022         [BZ #10103]
70023         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70024         declarations for long double functions.
70025         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70027         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70029 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70031         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70032         installed.
70034         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70035         is disabled.
70037 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70039         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70041 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70043         * include/alloca.h (stackinfo_alloca_round): Define.
70044         (extend_alloca): Use it.
70045         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70046         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70047         here.
70049         * scripts/check-local-headers.sh: Ignore libaudit.h.
70051         * nscd/Makefile (extra-objs): Make recursively expanded.
70053 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70055         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70056         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70058         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70059         * posix/tst-rfc3484-2.c: Likewise.
70060         * posix/tst-rfc3484-3.c: Likewise.
70062         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70063         process_vm_writev.
70064         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70065         process_vm_writev.
70066         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70067         process_vm_writev from libc using GLIBC_2.15 version.
70069         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70071 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70073         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70074         stack usage.
70076 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70078         [BZ #13367]
70079         * nss/getent.c (initgroups_keys): Show error message in case no group
70080         names are given.
70082         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70083         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70084         __bump_nl_timestamp.
70085         * nscd/connections (nscd_init): When host database is served open
70086         netlink socket and request notification about configuration changes.
70087         (main_loop_poll): Track netlink file descriptor and bump timestamp
70088         in case data becomes available.
70089         (main_loop_epoll): Likewise.
70090         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70091         (database_pers_head): Add extra_data fileds.
70092         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70093         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70094         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70095         Adjust caller.
70096         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70097         in6ai data, call __free_in6ai.
70098         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70099         Add -DHAVE_NETLINK.
70100         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70101         interface information.  Reuse previous data if netlink timestamp
70102         is not changed.
70103         (__bump_nl_timestamp): New function.
70104         (__free_in6ai): New function.
70106 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70108         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70109         close_not_cancel_no_status here.
70110         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70112 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70114         [BZ #13276]
70115         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70116         return value.
70118         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70119         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70120         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70122 2011-07-03  Andreas Jaeger  <aj@suse.de>
70124         [BZ #10709]
70125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70126         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70127         * math/libm-test.inc (sin_test): Add test case.
70129 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70131         [BZ #13337]
70132         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70133         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70135         * elf/chroot_canon.c (chroot_canon): Cleanups.
70137         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70139         [BZ #13335]
70140         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70141         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70143         * string/test-strchr.c: Make usable for strchrnul testing.
70144         * string/test-strchrnul.c: New file.
70145         * string/Makefile (strop-tests): Add strchrnul.
70147         * po/it.po: Update from translation team.
70148         * po/es.po: Likewise.
70150 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70153         the three constants needed as parameters.  Drop the others.
70154         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70155         __m128i_strloadu_tolower.
70156         Create and initialize variable zero and use it in all the places
70157         where _mm_setzero_si128 was used.
70159         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70160         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70161         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70162         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70163         anymore.
70164         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70165         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70166         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70167         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70168         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70169         __mpranred, __mptan.
70170         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70171         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70172         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70173         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70174         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70175         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70176         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70177         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70178         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70180 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70182         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70183         redefine if SHARED.
70184         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70187         wide char related routines to wcsmbs subdir.
70189 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70191         [BZ #13344]
70192         * misc/sys/cdefs.h (__THROWNL): Define.
70193         * posix/unistd.h: Use __THREADNL instead of __THREAD
70194         for memory synchronization functions.
70196 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70198         [BZ #13349]
70199         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70200         doesn't exist.
70201         * manual/stdio.texi (Obstack Streams): Node removed.
70203 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70205         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70206         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70207         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70209         * math/math_private.h (math_force_eval): Allow non-addressable
70210         arguments.
70211         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70213 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70215         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70216         file is not needed.
70218         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70219         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70220         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70221         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70222         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70223         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70224         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70225         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70226         Add AVX variants.
70227         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70228         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70229         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70230         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70231         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70232         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70233         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70234         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70235         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70236         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70237         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70238         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70239         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70240         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70241         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70242         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70243         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70244         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70245         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70247         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70248         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70250         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70251         place.  Use VEX encoding when compiling for AVX.
70253 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70255         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70256         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70258         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70260 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70262         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70263         useless if() expression.
70264         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70265         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70266         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70267         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70268         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70269         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70270         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70271         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70272         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70273         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70274         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70275         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70276         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70277         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70278         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70279         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70280         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70281         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70282         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70284         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70286 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70288         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70289         condition.
70290         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70292 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70294         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70295         .text section.  Avoid duplicate constants.
70296         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70298         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70300         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70304         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70305         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70306         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70307         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70308         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70309         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70310         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70311         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70312         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70313         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70314         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70316         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70317         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70318         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70319         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70320         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70321         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70322         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70323         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70324         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70325         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70326         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70327         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70328         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70329         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70330         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70331         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70332         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70334         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70335         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70336         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70337         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70338         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70339         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70340         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70342 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70344         * sysdeps/x86_64/dla.h: Move to ...
70345         * sysdeps/x86_64/fpu/dla.h: ...here.
70346         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70347         situations.  Use __builtin_fma only for gcc 4.6 and up.
70349         * config.make.in: Add have-mfma4 entry.
70350         * configure.in: Substitute libc_cv_cc_fma4.
70351         * math/Makefile (dbl-only-routines): Add sincostab.
70352         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70353         Use __sincostab not sincos.
70354         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70355         name is a macro.
70356         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70360         using __copysign.
70361         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70362         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70363         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70364         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70365         and __inv.
70366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70367         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70368         __copysign.
70369         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70370         define aliases when function name is a macro.
70371         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70372         sysdeps/ieee754/dbl-64/sincos.tbl.
70373         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70374         fma4-enabled routines.
70375         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70376         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70377         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70378         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70379         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70380         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70381         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70382         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70383         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70384         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70385         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70386         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70387         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70388         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70389         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70390         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70391         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70392         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70393         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70394         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70395         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70396         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70397         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70398         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70399         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70400         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70401         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70402         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70403         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70404         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70406         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70407         rename.
70408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70409         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70411         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70413         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70415         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70417 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70419         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70421 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70423         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70425         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70426         prediction.
70427         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70429         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70430         Remove unused variable magic_bits.
70431         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70433         * string/strnlen.c: Define and use STRNLEN macro.
70434         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70435         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70436         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70437         * wcsmbs/wcslen.c: Define and use WCSLEN.
70438         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70439         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70440         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70441         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70442         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70443         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70444         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70446 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70449         strnlen-sse2-no-bsf.
70450         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70452         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70453         Add strnlen support.
70454         (USE_AS_STRNLEN): New macro.
70455         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70456         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70457         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70458         * sysdeps/x86_64/wcslen.S: New file.
70460 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70462         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70463         XMM-moves are used for copying on small sizes.
70465 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70467         * wcsmbs/Makefile (strop-tests): Add wcschr.
70468         * wcsmbs/test-wcschr.c: New file.
70469         * string/test-strchr.c: Update.
70470         Add wcschr support.
70471         (WIDE): New macro.
70473 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70475         * wcsmbs/Makefile (strop-tests): Add wcslen.
70476         * wcsmbs/test-wcslen.c: New file.
70477         * string/test-strlen.c: Update.
70478         Add wcslen support.
70479         (WIDE): New macro.
70481 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70483         * po/it.po: Update from translation team.
70485 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70487         * sysdeps/x86_64/wcscmp.S: Update.
70488         Fix wrong comparison semantics.
70489         wcscmp shall use signed comparison not unsigned.
70490         Don't use substraction to avoid overflow bug.
70491         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70492         * wcsmbc/wcscmp.c: Likewise.
70493         * string/test-strcmp.c: Likewise.
70494         Add new tests to check cases with negative values.
70496 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70498         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70499         * sysdeps/x86_64/dla.h: ...here.  New file.
70500         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70510 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70513         __ynl_finite aliases.
70515 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70519         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70520         define DLA_FMA.
70521         [DLA_FMA] (EMULV): Use DLA_FMA.
70522         [DLA_FMA] (MUL12): Use EMULV.
70523         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70524         that are not needed.
70525         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70530         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70533 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70535         * math/s_nan.c: Undef __nan.
70536         * math/s_nanf.c: Undef __nanf.
70537         * math/s_nanl.c: Undef __nanl.
70538         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70539         "math_private.h".
70541 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70543         * math/s_catan.c: Add branch predictions.
70544         * math/s_catanf.c: Likewise.
70545         * math/s_catanh.c: Likewise.
70546         * math/s_catanhf.c: Likewise.
70547         * math/s_catanhl.c: Likewise.
70548         * math/s_catanl.c: Likewise.
70549         * math/s_cexp.c: Likewise.
70550         * math/s_cexpf.c: Likewise.
70551         * math/s_cexpl.c: Likewise.
70552         * math/s_clog.c: Likewise.
70553         * math/s_clog10.c: Likewise.
70554         * math/s_clog10f.c: Likewise.
70555         * math/s_clog10l.c: Likewise.
70556         * math/s_clogf.c: Likewise.
70557         * math/s_clogl.c: Likewise.
70558         * math/s_csqrt.c: Likewise.
70559         * math/s_csqrtf.c: Likewise.
70560         * math/s_csqrtl.c: Likewise.
70561         * math/s_ctanf.c: Likewise.
70562         * math/s_ctanh.c: Likewise.
70563         * math/s_ctanhf.c: Likewise.
70564         * math/s_ctanhl.c: Likewise.
70565         * math/s_ctanl.c: Likewise.
70567         * math/math_private.h: Define __nan, __nanf, __nanl.
70568         * math/s_cacosh.c: Include <math_private.h>.
70569         * math/s_cacoshl.c: Likewise.
70570         * math/s_casinh.c: Likewise.
70571         * math/s_casinhf.c: Likewise.
70572         * math/s_casinhl.c: Likewise.
70573         * math/s_ccos.c: Rely entire on ccosh.
70574         * math/s_ccosf.c: Rely entire on ccoshf.
70575         * math/s_ccosl.c: Rely entirely on ccoshl.
70576         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70577         Remove tests for FE_INVALID.
70578         * math/s_ccoshf.c: Likewise.
70579         * math/s_ccoshl.c: Likewise.
70580         * math/s_csin.c: Likewise.
70581         * math/s_csinf.c: Likewise.
70582         * math/s_csinh.c Likewise.
70583         * math/s_csinhf.c: Likewise.
70584         * math/s_csinhl.c: Likewise.
70585         * math/s_csinl.c: Likewise.
70586         * math/s_ctan.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70588         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70589         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70591 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70594         compilation problems.
70596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70597         __builtin_expect.
70599 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70601         * sysdeps/i386/configure.in: Test for -mfma4 option.
70602         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70603         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70604         COMMON_CPUID_INDEX_80000001.
70605         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70606         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70607         use it if FMA3 is not supported.
70608         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70610         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70611         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70613 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70615         [BZ #12892]
70616         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70617         it would create a cycle with a link time dependency.
70619 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70621         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70622         instruction.
70623         * string/Makefile (strop-tests): Add rawmemchr.
70624         * string/test-rawmemchr.c: New file.
70626         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70628         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70629         when compiling str{,n}casecmp and when AVX is available.  Hook up
70630         new optimized code in initializers.
70632 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70634         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70635         __feraiseexcept instead of feraiseexcept.
70637 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70639         * math/math_private.h: Define defaults for libc_fetestexcept and
70640         libc_feupdateenv.
70641         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70642         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70643         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70644         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70645         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70646         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70647         libc_fetestexcept and libc_feupdateenv.
70649         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70650         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70651         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70652         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70653         libc_feholdexcept_setround.
70655         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70656         Add s_nearbyint-c and s_nearbyintf-c.
70657         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70658         nearbyintf inlines.
70659         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70660         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70661         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70662         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70664         * math/math_private.h: Define defaults for libc_fegetround,
70665         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70666         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70667         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70668         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70669         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70670         standard functions.
70671         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70672         Remove comments and hacks for old compiler versions.
70673         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70674         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70675         libc_feholdexceptl.
70677 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70679         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70680         (__feraiseexcept_renamed): Add __NTH.
70681         (feraiseexcept): Add __NTH.  Rename local variables to fix
70682         namespace violations.
70684 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70686         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70688         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70690         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70691         recently added interfaces.
70692         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70694         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70695         about macro parameter expansion.
70697         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70698         __NO_MATH_INLINES is defined.  Cleanups.
70700         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70701         and __floorf is target has SSE4.1.
70702         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70703         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70704         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70705         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70707         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70708         name.
70709         (floorf): Likewise.
70711         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70713 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70715         * misc/sys/cdefs.h: Fix last change.
70717         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70718         database lookup.
70720 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70722         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70724         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70725         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70726         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70727         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70728         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70729         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70730         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70731         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70732         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70733         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70734         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70735         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70736         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70737         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70738         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70739         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70740         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70741         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70742         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70743         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70744         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70745         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70747         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70748         ceil, ceilf, floor, floorf.
70750         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70751         Perform IRELATIVE relocations last.
70753         * elf/do-rel.h: Add another parameter nrelative, replacing the
70754         local variable with the same name.  Change name of the function
70755         to end in Rel or Rela (uppercase).
70756         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70757         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70758         elf_dynamic_do_##reloc function.
70760 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70762         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70763         is sufficient, at least on modern CPUs.
70765         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70767         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70768         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70770         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70771         __expl_finite.
70772         * math/bits/math-finite.h: Add entries for exp.
70773         * math/e_expl.c: Add __*_finite alias.
70774         * sysdeps/i386/fpu/e_exp.S: Likewise.
70775         * sysdeps/i386/fpu/e_expf.S: Likewise.
70776         * sysdeps/i386/fpu/e_expl.c: Likewise.
70777         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70778         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70781         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70782         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70783         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70785         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70786         is sufficient, at least on modern CPUs.
70788         * ctype/ctype-info.c (__ctype_init): Define.
70789         * include/ctype.h (__ctype_init): Declare.
70790         (__ctype_b_loc): The variable is always initialized.
70791         (__ctype_toupper_loc): Likewise.
70792         (__ctype_tolower_loc): Likewise.
70793         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70794         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70796 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70798         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70800         * configure.in: Also look in $cxxmachine/include for C++ system
70801         headers.
70803 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70805         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70806         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70807         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70808         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70809         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70810         (USE_AS_WMEMCMP): New macro.
70811         Fixing indents.
70812         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70813         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70814         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70815         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70817         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70818         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70819         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70820         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70821         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70822         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70823         (USE_AS_WMEMCMP): New macro.
70824         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70825         * sysdeps/string/test-memcmp.c: Update.
70826         Fix simple_wmemcmp.
70827         Add new tests.
70828         * wcsmbs/wmemcmp.c: Update.
70829         (WMEMCMP): New macro.
70830         Fix overflow bug.
70832 2011-10-12  Andreas Jaeger  <aj@suse.de>
70834         [BZ #13268]
70835         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70837 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70839         * libio/iofwide.c (do_length): Avoid warning.
70841         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70843 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70845         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70847         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70848         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70849         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70850         * sysdeps/i386/i686/fpu/e_log.S: New file.
70851         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70852         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70854         * ctype/ctype.h: Add support for inlined isXXX functions when
70855         compiling C++ code.
70857 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70859         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70861         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70863 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70865         [BZ #13291]
70866         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70868 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70870         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70871         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70872         feraiseexcept.
70874         * sysdeps/x86_64/memrchr.S: Check for zero size.
70876         * string/stratcliff.c: Add memrchr tests.
70878 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70880         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70881         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70882         rawmemchr-sse2 rawmemchr-sse2-bsf.
70883         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70884         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70885         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70886         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70887         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70888         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70889         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70890         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70891         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70892         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70893         * string/memrchr.c (MEMRCHR): New macro.
70895 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70897         Add integration with gcc's -ffinite-math-only and optimize wrapper
70898         functions in libm.
70899         * Versions.def: Define GLIBC_2.15 version for libm.
70900         * math/Makefile (headers): Add bits/math-finite.h.
70901         * math/bits/math-finite.h: New file.
70902         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70903         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70904         * math/e_acoshl.c: Add __*_finite alias.
70905         * math/e_acosl.c: Likewise.
70906         * math/e_asinl.c: Likewise.
70907         * math/e_atan2l.c: Likewise.
70908         * math/e_atanhl.c: Likewise.
70909         * math/e_coshl.c: Likewise.
70910         * math/e_exp10.c: Likewise.
70911         * math/e_exp10f.c: Likewise.
70912         * math/e_exp10l.c: Likewise.
70913         * math/e_exp2l.c: Likewise.
70914         * math/e_fmodl.c: Likewise.
70915         * math/e_gammal_r.c: Likewise.
70916         * math/e_hypotl.c: Likewise.
70917         * math/e_j0l.c: Likewise.
70918         * math/e_j1l.c: Likewise.
70919         * math/e_jnl.c: Likewise.
70920         * math/e_lgammal_r.c: Likewise.
70921         * math/e_log10l.c: Likewise.
70922         * math/e_log2l.c: Likewise.
70923         * math/e_logl.c: Likewise.
70924         * math/e_powl.c: Likewise.
70925         * math/e_sinhl.c: Likewise.
70926         * math/e_sqrtl.c: Likewise.
70927         * math/e_scalb.c: Completely rewritten and optimized.
70928         * math/e_scalbf.c: Likewise.
70929         * math/e_scalbl.c: Likewise.
70930         * math/w_acos.c: Likewise.
70931         * math/w_acosf.c: Likewise.
70932         * math/w_acosl.c: Likewise.
70933         * math/w_acosh.c: Likewise.
70934         * math/w_acoshf.c: Likewise.
70935         * math/w_acoshl.c: Likewise.
70936         * math/w_asin.c: Likewise.
70937         * math/w_asinf.c: Likewise.
70938         * math/w_asinl.c: Likewise.
70939         * math/w_atan2.c: Likewise.
70940         * math/w_atan2f.c: Likewise.
70941         * math/w_atan2l.c: Likewise.
70942         * math/w_atanh.c: Likewise.
70943         * math/w_atanhf.c: Likewise.
70944         * math/w_atanhl.c: Likewise.
70945         * math/w_exp10.c: Likewise.
70946         * math/w_exp10f.c: Likewise.
70947         * math/w_exp10l.c: Likewise.
70948         * math/w_fmod.c: Likewise.
70949         * math/w_fmodf.c: Likewise.
70950         * math/w_fmodl.c: Likewise.
70951         * math/w_j0.c: Likewise.
70952         * math/w_j0f.c: Likewise.
70953         * math/w_j0l.c: Likewise.
70954         * math/w_j1.c: Likewise.
70955         * math/w_j1f.c: Likewise.
70956         * math/w_j1l.c: Likewise.
70957         * math/w_jn.c: Likewise.
70958         * math/w_jnf.c: Likewise.
70959         * math/w_log.c: Likewise.
70960         * math/w_logf.c: Likewise.
70961         * math/w_logl.c: Likewise.
70962         * math/w_log10.c: Likewise.
70963         * math/w_log10f.c: Likewise.
70964         * math/w_log10l.c: Likewise.
70965         * math/w_log2.c: Likewise.
70966         * math/w_log2f.c: Likewise.
70967         * math/w_log2l.c: Likewise.
70968         * math/w_pow.c: Likewise.
70969         * math/w_powf.c: Likewise.
70970         * math/w_powl.c: Likewise.
70971         * math/w_remainder.c: Likewise.
70972         * math/w_remainderf.c: Likewise.
70973         * math/w_remainderl.c: Likewise.
70974         * math/w_scalb.c: Likewise.
70975         * math/w_scalbf.c: Likewise.
70976         * math/w_scalbl.c: Likewise.
70977         * math/w_sqrt.c: Likewise.
70978         * math/w_sqrtf.c: Likewise.
70979         * math/w_sqrtl.c: Likewise.
70980         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70981         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70982         used.
70983         * math/math_private.h: Declare __kernel_standard_f.
70984         * math/w_cosh.c: Remove cruft and optimize a bit.
70985         * math/w_coshf.c: Likewise.
70986         * math/w_coshl.c: Likewise.
70987         * math/w_exp2.c: Likewise.
70988         * math/w_exp2f.c: Likewise.
70989         * math/w_exp2l.c: Likewise.
70990         * math/w_hypot.c: Likewise.
70991         * math/w_hypotf.c: Likewise.
70992         * math/w_hypotl.c: Likewise.
70993         * math/w_lgamma.c: Likewise.
70994         * math/w_lgamma_r.c: Likewise.
70995         * math/w_lgammaf.c: Likewise.
70996         * math/w_lgammaf_r.c: Likewise.
70997         * math/w_lgammal.c: Likewise.
70998         * math/w_lgammal_r.c: Likewise.
70999         * math/w_sinh.c: Likewise.
71000         * math/w_sinhf.c: Likewise.
71001         * math/w_sinhl.c: Likewise.
71002         * math/w_tgamma.c: Likewise.
71003         * math/w_tgammaf.c: Likewise.
71004         * math/w_tgammal.c: Likewise.
71005         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71006         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71007         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71008         Minor optimizations.  Pretty printing.  Remove cruft.
71009         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71010         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71011         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71012         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71013         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71014         * sysdeps/i386/fpu/e_asin.S: Likewise.
71015         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71016         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71017         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71018         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71019         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71020         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71021         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71022         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71023         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71024         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71025         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71026         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71027         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71028         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71029         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71030         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71031         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71032         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71033         * sysdeps/i386/fpu/e_log.S: Likewise.
71034         * sysdeps/i386/fpu/e_log10.S: Likewise.
71035         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71036         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71037         * sysdeps/i386/fpu/e_log2.S: Likewise.
71038         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71039         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71040         * sysdeps/i386/fpu/e_logf.S: Likewise.
71041         * sysdeps/i386/fpu/e_logl.S: Likewise.
71042         * sysdeps/i386/fpu/e_pow.S: Likewise.
71043         * sysdeps/i386/fpu/e_powf.S: Likewise.
71044         * sysdeps/i386/fpu/e_powl.S: Likewise.
71045         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71046         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71047         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71048         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71049         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71051         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71052         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71053         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71054         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71055         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71056         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71057         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71058         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71059         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71060         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71061         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71062         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71063         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71064         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71065         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71067         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71068         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71070         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71071         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71072         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71073         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71074         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71075         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71076         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71077         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71078         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71079         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71080         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71081         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71082         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71083         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71084         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71085         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71086         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71087         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71088         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71089         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71090         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71091         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71092         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71093         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71094         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71095         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71096         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71097         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71098         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71099         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71100         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71101         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71102         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71103         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71104         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71105         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71106         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71107         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71109         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71110         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71111         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71112         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71113         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71114         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71115         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71116         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71117         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71118         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71119         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71120         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71121         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71122         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71123         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71124         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71125         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71126         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71128         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71129         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71130         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71131         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71132         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71133         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71134         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71135         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71136         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71137         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71138         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71139         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71140         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71141         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71142         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71143         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71144         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71145         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71146         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71147         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71148         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71149         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71150         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71151         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71152         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71153         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71154         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71155         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71156         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71157         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71158         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71159         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71160         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71161         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71162         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71163         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71164         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71165         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71166         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71167         (__isnanf): Likewise.
71168         (__isinf_ns): Likewise.
71169         (__isinf_nsf): Likewise.
71170         (__finite): Likewise.
71171         (__finitef): Likewise.
71172         (__ieee754_sqrt): Define as macro.
71173         (__ieee754_sqrtf): Define as macro.
71174         (__ieee754_sqrtl): Define as macro.
71175         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71176         inlined copy.
71177         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71178         __FINITE_MATH_ONLY__ consistent.
71179         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71181 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71183         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71184         of rawmemchr.
71186         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71188 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71190         * po/ja.po: Update from translation team.
71192 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71194         * locale/programs/locarchive.c (prepare_address_space): New function.
71195         (create_archive, enlarge_archive, open_archive): Use it.
71197         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71198         inside [SHARED], where it is used.
71200         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71202         * nss/getent.c (netgroup_keys): Remove unused variable.
71203         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71205 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71207         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71208         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71210         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71211         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71212         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71213         * math/Makefile (libm-calls): Add s_isinf_ns.
71214         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71215         * math/multc3.c: Likewise.
71216         * math/s_casin.c: Likewise.
71217         * math/s_casinf.c: Likewise.
71218         * math/s_casinl.c: Likewise.
71219         * math/s_ccos.c: Likewise.
71220         * math/s_ccosf.c: Likewise.
71221         * math/s_ccosl.c: Likewise.
71222         * math/s_ctan.c: Likewise.
71223         * math/s_ctanf.c: Likewise.
71224         * math/s_ctanh.c: Likewise.
71225         * math/s_ctanhf.c: Likewise.
71226         * math/s_ctanhl.c: Likewise.
71227         * math/s_ctanl.c: Likewise.
71228         * math/w_fmod.c: Likewise.
71229         * math/w_fmodf.c: Likewise.
71230         * math/w_fmodl.c: Likewise.
71231         * math/w_remainder.c: Likewise.
71232         * math/w_remainderf.c: Likewise.
71233         * math/w_remainderl.c: Likewise.
71234         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71235         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71237         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71238         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71239         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71240         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71241         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71243         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71244         of the number.
71245         * stdio-common/printf_fphex.c: Likewise.
71246         * stdio-common/printf_size.c: Likewise.
71248         * math/e_exp10.c: Include math_private.h using <...> not "...".
71249         * math/e_exp10f.c: Likewise.
71250         * math/e_exp10l.c: Likewise.
71251         * math/e_exp2l.c: Likewise.
71252         * math/e_j0l.c: Likewise.
71253         * math/e_j1l.c: Likewise.
71254         * math/e_jnl.c: Likewise.
71255         * math/e_lgammal_r.c: Likewise.
71256         * math/e_rem_pio2l.c: Likewise.
71257         * math/e_scalb.c: Likewise.
71258         * math/e_scalbf.c: Likewise.
71259         * math/e_scalbl.c: Likewise.
71260         * math/k_cosl.c: Likewise.
71261         * math/k_sinl.c: Likewise.
71262         * math/k_tanl.c: Likewise.
71263         * math/s_cacoshf.c: Likewise.
71264         * math/s_catan.c: Likewise.
71265         * math/s_catanf.c: Likewise.
71266         * math/s_catanh.c: Likewise.
71267         * math/s_catanhf.c: Likewise.
71268         * math/s_catanhl.c: Likewise.
71269         * math/s_catanl.c: Likewise.
71270         * math/s_ccosh.c: Likewise.
71271         * math/s_ccoshf.c: Likewise.
71272         * math/s_ccoshl.c: Likewise.
71273         * math/s_cexp.c: Likewise.
71274         * math/s_cexpf.c: Likewise.
71275         * math/s_cexpl.c: Likewise.
71276         * math/s_clog.c: Likewise.
71277         * math/s_clog10.c: Likewise.
71278         * math/s_clog10f.c: Likewise.
71279         * math/s_clog10l.c: Likewise.
71280         * math/s_clogf.c: Likewise.
71281         * math/s_clogl.c: Likewise.
71282         * math/s_csin.c: Likewise.
71283         * math/s_csinf.c: Likewise.
71284         * math/s_csinh.c: Likewise.
71285         * math/s_csinhf.c: Likewise.
71286         * math/s_csinhl.c: Likewise.
71287         * math/s_csinl.c: Likewise.
71288         * math/s_csqrt.c: Likewise.
71289         * math/s_csqrtf.c: Likewise.
71290         * math/s_csqrtl.c: Likewise.
71291         * math/s_ctan.c: Likewise.
71292         * math/s_ctanf.c: Likewise.
71293         * math/s_ctanh.c: Likewise.
71294         * math/s_ctanhf.c: Likewise.
71295         * math/s_ctanhl.c: Likewise.
71296         * math/s_ctanl.c: Likewise.
71297         * math/s_ldexp.c: Likewise.
71298         * math/s_ldexpf.c: Likewise.
71299         * math/s_ldexpl.c: Likewise.
71300         * math/s_significand.c: Likewise.
71301         * math/s_significandf.c: Likewise.
71302         * math/s_significandl.c: Likewise.
71303         * math/w_acos.c: Likewise.
71304         * math/w_acosf.c: Likewise.
71305         * math/w_acosh.c: Likewise.
71306         * math/w_acoshf.c: Likewise.
71307         * math/w_acoshl.c: Likewise.
71308         * math/w_acosl.c: Likewise.
71309         * math/w_asin.c: Likewise.
71310         * math/w_asinf.c: Likewise.
71311         * math/w_asinl.c: Likewise.
71312         * math/w_atan2.c: Likewise.
71313         * math/w_atan2f.c: Likewise.
71314         * math/w_atan2l.c: Likewise.
71315         * math/w_atanh.c: Likewise.
71316         * math/w_atanhf.c: Likewise.
71317         * math/w_atanhl.c: Likewise.
71318         * math/w_cosh.c: Likewise.
71319         * math/w_coshf.c: Likewise.
71320         * math/w_coshl.c: Likewise.
71321         * math/w_dremf.c: Likewise.
71322         * math/w_exp10.c: Likewise.
71323         * math/w_exp10f.c: Likewise.
71324         * math/w_exp10l.c: Likewise.
71325         * math/w_exp2.c: Likewise.
71326         * math/w_exp2f.c: Likewise.
71327         * math/w_fmod.c: Likewise.
71328         * math/w_fmodf.c: Likewise.
71329         * math/w_fmodl.c: Likewise.
71330         * math/w_hypot.c: Likewise.
71331         * math/w_hypotf.c: Likewise.
71332         * math/w_hypotl.c: Likewise.
71333         * math/w_j0.c: Likewise.
71334         * math/w_j0f.c: Likewise.
71335         * math/w_j0l.c: Likewise.
71336         * math/w_j1.c: Likewise.
71337         * math/w_j1f.c: Likewise.
71338         * math/w_j1l.c: Likewise.
71339         * math/w_jn.c: Likewise.
71340         * math/w_jnf.c: Likewise.
71341         * math/w_jnl.c: Likewise.
71342         * math/w_lgamma.c: Likewise.
71343         * math/w_lgamma_r.c: Likewise.
71344         * math/w_lgammaf.c: Likewise.
71345         * math/w_lgammaf_r.c: Likewise.
71346         * math/w_lgammal.c: Likewise.
71347         * math/w_lgammal_r.c: Likewise.
71348         * math/w_log.c: Likewise.
71349         * math/w_log10.c: Likewise.
71350         * math/w_log10f.c: Likewise.
71351         * math/w_log10l.c: Likewise.
71352         * math/w_log2.c: Likewise.
71353         * math/w_log2f.c: Likewise.
71354         * math/w_log2l.c: Likewise.
71355         * math/w_logf.c: Likewise.
71356         * math/w_logl.c: Likewise.
71357         * math/w_pow.c: Likewise.
71358         * math/w_powf.c: Likewise.
71359         * math/w_powl.c: Likewise.
71360         * math/w_remainder.c: Likewise.
71361         * math/w_remainderf.c: Likewise.
71362         * math/w_remainderl.c: Likewise.
71363         * math/w_scalb.c: Likewise.
71364         * math/w_scalbf.c: Likewise.
71365         * math/w_scalbl.c: Likewise.
71366         * math/w_sinh.c: Likewise.
71367         * math/w_sinhf.c: Likewise.
71368         * math/w_sinhl.c: Likewise.
71369         * math/w_sqrt.c: Likewise.
71370         * math/w_sqrtf.c: Likewise.
71371         * math/w_sqrtl.c: Likewise.
71372         * math/w_tgamma.c: Likewise.
71373         * math/w_tgammaf.c: Likewise.
71374         * math/w_tgammal.c: Likewise.
71376         * po/ja.po: Update from translation team.
71378 2011-09-29  Andreas Jaeger  <aj@suse.de>
71380         [BZ #13179]
71381         * sunrpc/netname.c (netname2host): Fix logic.
71383         [BZ #6779]
71384         [BZ #6783]
71385         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71386         correctly.
71387         * math/w_remainder.c (__remainder): Likewise.
71388         * math/w_remainderf.c (__remainderf): Likewise.
71389         * math/libm-test.inc (remainder_test): Add test cases.
71391 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71393         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71394         sdiv_qrnnd.
71396 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71398         * string/test-memcmp.c: Avoid unncessary #defines.
71399         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71401 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71403         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71404         Use new sse2 version for core i3 - i7 as it's faster
71405         than sse42 version.
71406         (bit_Prefer_PMINUB_for_stringop): New.
71407         * sysdeps/x86_64/rawmemchr.S: Update.
71408         Replace with faster SSE2 version.
71409         * sysdeps/x86_64/memrchr.S: New file.
71410         * sysdeps/x86_64/memchr.S: Update.
71411         Replace with faster SSE2 version.
71413 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71415         * elf/dl-load.c (lose): Add cast to avoid warning.
71417 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71419         * po/ca.po: Update from translation team.
71421         * inet/getnetgrent_r.c: Hook up nscd.
71422         * nscd/Makefile (routines): Add nscd_netgroup.
71423         (nscd-modules): Add netgroupcache.
71424         (CFLAGS-netgroupcache.c): Define.
71425         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71426         (cache_search): Add const to second parameter.
71427         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71428         INNETGR.
71429         (dbs): Add netgrdb entry.
71430         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71431         (verify_persistent_db): Handle netgrdb.
71432         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71433         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71434         GETFDNETGR.
71435         (netgroup_response_header): Define.
71436         (innetgroup_response_header): Define.
71437         (datahead): Add netgroup_response_header and innetgroup_response_header
71438         elements.
71439         * nscd/nscd.conf: Add entries for netgroup cache.
71440         * nscd/nscd.h (dbtype): Add netgrdb.
71441         (_PATH_NSCD_NETGROUP_DB): Define.
71442         (netgroup_iov_disabled): Declare.
71443         (xmalloc, xcalloc, xrealloc): Move declarations here.
71444         (cache_search): Adjust prototype.
71445         Add netgroup-related prototypes.
71446         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71447         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71448         (__nscd_innetgr): Declare.
71449         * nscd/selinux.c (perms): Use access_vector_t as element type and
71450         add netgroup-related initializers.
71451         * nscd/netgroupcache.c: New file.
71452         * nscd/nscd_netgroup.c: New file.
71453         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71454         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71455         For four parameters use innetgr.
71456         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71457         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71458         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71459         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71461         * nscd/connections.c (register_traced_file): Don't register file
71462         for disabled databases.
71464 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71466         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71468         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71469         from tree and freeing node.
71471 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71473         * nss/nsswitch.c (__nss_database_lookup): Handle
71474         nss_parse_service_list out of memory case.
71476 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71478         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71479         out of memory case.
71481 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71483         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71484         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71485         pass it down.
71486         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71487         elf_machine_rela, elf_machine_lazy_rel.
71488         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71489         (ELF_DYNAMIC_DO_REL): Likewise.
71490         (ELF_DYNAMIC_DO_RELA): Likewise.
71491         (ELF_DYNAMIC_RELOCATE): Likewise.
71492         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71493         to ELF_DYNAMIC_DO_REL.
71494         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71495         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71496         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71497         elf_machine_rela.
71498         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71499         skip_ifunc, don't call ifunc function if non-zero.
71500         (elf_machine_rela): Likewise.
71501         (elf_machine_lazy_rel): Likewise.
71502         (elf_machine_lazy_rela): Likewise.
71503         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71504         (elf_machine_lazy_rel): Likewise.
71505         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71506         Likewise.
71507         (elf_machine_lazy_rel): Likewise.
71508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71509         Likewise.
71510         (elf_machine_lazy_rel): Likewise.
71511         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71512         (elf_machine_lazy_rel): Likewise.
71513         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71514         (elf_machine_lazy_rel): Likewise.
71515         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71516         (elf_machine_lazy_rel): Likewise.
71517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71518         (elf_machine_lazy_rel): Likewise.
71519         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71520         (elf_machine_lazy_rel): Likewise.
71521         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71522         (elf_machine_lazy_rel): Likewise.
71524 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71526         * nss/nss_files/files-init.c (_nss_files_init): Use static
71527         initialization for all the *_traced_file variables.
71529 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71531         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71533 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71535         [BZ #13226]
71536         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71538 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71540         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71541         Reread the line before reparsing it.
71543 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71545         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71547 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71548             Maxim Kuvyrkov  <maxim@codesourcery.com>
71549             Joseph Myers  <joseph@codesourcery.com>
71551         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71552         if needed for __stack_chk_guard.
71554 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71556         * sysdeps/posix/spawni.c (script_execute): Always define it.
71557         It will be optimized away if unused.
71558         (maybe_script_execute): New function.
71559         (__spawni): Call it.
71561         * Makerules: Don't include tls.make.
71562         (config-tls): Always set to thread.
71563         * tls.make.c: File removed.
71565 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71567         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71568         * config.make.in (CPPFLAGS-config): New substituted variable.
71570 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71572         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71574         [BZ #13192]
71575         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71576         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71578 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71580         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71581         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71582         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71583         (CALL_FAIL): Likewise.
71584         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71585         (CALL_FAIL): Macro removed.
71586         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71588 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71590         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71591         for __FINITE_MATH_ONLY__ == 1.
71593 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71595         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71596         __ieee754_sqrt instead of sqrt.
71597         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71598         __ieee754_sqrtf instead of sqrtf.
71599         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71600         __floorf instead of floorf.
71601         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71602         __floorf, __truncf instead of floorf, truncf.
71604 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71606         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71608         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71609         __extern_always_inline.
71610         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71611         32-bit.
71613 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71615         * elf/rtld.c (dl_main): Also relocate in dependency order when
71616         doing symbol dependency testing.
71618 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71621         Always define `refsym'.
71623 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71625         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71626         (__FD_ELT): Renamed from __FDELT.
71627         * misc/bits/select2.h (__FD_ELT): Likewise.
71628         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71629         __FD_MASK instead of __FDELT, __FDMASK.
71630         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71631         Likewise.
71632         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71633         Likewise.
71635         * elf/Makefile (gen-ldd): Fix pattern.
71637         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71638         (init_tls): Likewise.
71640 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71642         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71644 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71646         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71647         `struct cmsghdr *' instead of `void *'.
71648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71649         Likewise.
71651 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71653         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71654         if non-absolute.
71655         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71656         ldd_rewrite_script.
71658 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71660         * configure.in: Remove --with-tls option.
71661         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71662         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71663         out in case it is missing.
71664         * sysdeps/ia64/elf/configure.in: Likewise.
71665         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71666         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71667         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71668         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71669         * sysdeps/sh/elf/configure.in: Likewise.
71670         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71671         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71672         * sysdeps/x86_64/elf/configure.in: Likewise.
71673         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71674         * sysdeps/mach/hurd/tls.h: Likewise.
71676         [BZ #13067]
71677         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71679         [BZ #13090]
71680         * configure.in: Fix use of AC_INIT.
71682         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71684 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71686         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71687         __set_errno.
71688         * malloc/hooks.c: Likewise.
71690         [BZ #11929]
71691         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71692         variables statically.
71693         (narenas): Initialize.
71694         (list_lock): Initialize.
71695         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71696         initializtion of main_arena and list_lock.  Small cleanups.
71697         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71698         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71699         Add initializers to main_arena and mp_.
71700         (malloc_state): Remove pagesize member.  Change all users to use
71701         GLRO(dl_pagesize).
71703         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71704         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71705         is always initialized.
71707         * malloc/malloc.c: Removed unused configurations and dead code.
71708         * malloc/arena.c: Likewise.
71709         * malloc/hooks.c: Likewise.
71710         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71712         * include/tls.h: Removed.  USE___THREAD must always be defined.
71713         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71714         * elf/dl-libc.c: Likewise.
71715         * elf/dl-tsd.c: Likewise.
71716         * include/errno.h: Likewise.
71717         * include/netdb.h: Likewise.
71718         * include/resolv.h: Likewise.
71719         * inet/herrno-loc.c: Likewise.
71720         * inet/herrno.c: Likewise.
71721         * malloc/arena.c: Likewise.
71722         * malloc/hooks.c: Likewise.
71723         * malloc/malloc.c: Likewise.
71724         * resolv/res-state.c: Likewise.
71725         * resolv/res_libc.c: Likewise.
71726         * sysdeps/i386/dl-machine.h: Likewise.
71727         * sysdeps/ia64/dl-machine.h: Likewise.
71728         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71729         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71730         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71731         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71732         * sysdeps/sh/dl-machine.h: Likewise.
71733         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71734         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71735         * sysdeps/unix/i386/sysdep.S: Likewise.
71736         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71737         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71740         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71741         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71742         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71746         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71747         * sysdeps/x86_64/dl-machine.h: Likewise.
71748         * tls.make.c: Likewise.
71750         * configure.in: Remove --with-__thread option.  Make tests for
71751         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71752         tls_model attribute fail if no support is available.  Remove
71753         USE_IN_LIBIO.
71754         * Makeconfig: Adjust for dropped configure option.  All features are
71755         now mandatory.
71756         * Makerules: Likewise.
71757         * Versions.def: Likewise.
71758         * argp/argp-fmtstream.c: Likewise.
71759         * argp/argp-fmtstream.h: Likewise.
71760         * argp/argp-help.c: Likewise.
71761         * assert/assert.c: Likewise.
71762         * config.h.in: Likewise.
71763         * config.make.in: Likewise.
71764         * configure: Likewise.
71765         * configure.in: Likewise.
71766         * csu/Versions: Likewise.
71767         * csu/init.c: Likewise.
71768         * elf/tst-audit2.c: Likewise.
71769         * elf/tst-tls10.c: Likewise.
71770         * elf/tst-tls10.h: Likewise.
71771         * elf/tst-tls11.c: Likewise.
71772         * elf/tst-tls12.c: Likewise.
71773         * elf/tst-tls14.c: Likewise.
71774         * elf/tst-tlsmod11.c: Likewise.
71775         * elf/tst-tlsmod12.c: Likewise.
71776         * elf/tst-tlsmod13.c: Likewise.
71777         * elf/tst-tlsmod13a.c: Likewise.
71778         * elf/tst-tlsmod14a.c: Likewise.
71779         * elf/tst-tlsmod15b.c: Likewise.
71780         * elf/tst-tlsmod16a.c: Likewise.
71781         * elf/tst-tlsmod16b.c: Likewise.
71782         * elf/tst-tlsmod7.c: Likewise.
71783         * elf/tst-tlsmod8.c: Likewise.
71784         * elf/tst-tlsmod9.c: Likewise.
71785         * gmon/gmon.c: Likewise.
71786         * grp/fgetgrent_r.c: Likewise.
71787         * grp/putgrent.c: Likewise.
71788         * hurd/fopenport.c: Likewise.
71789         * include/libc-symbols.h: Likewise.
71790         * include/tls.h: Likewise.
71791         * intl/gettextP.h: Likewise.
71792         * intl/loadinfo.h: Likewise.
71793         * locale/global-locale.c: Likewise.
71794         * locale/localeinfo.h: Likewise.
71795         * mach/devstream.c: Likewise.
71796         * malloc/arena.c: Likewise.
71797         * malloc/set-freeres.c: Likewise.
71798         * misc/err.c: Likewise.
71799         * misc/getttyent.c: Likewise.
71800         * misc/mntent_r.c: Likewise.
71801         * posix/getopt.c: Likewise.
71802         * posix/wordexp.c: Likewise.
71803         * pwd/fgetpwent_r.c: Likewise.
71804         * resolv/Versions: Likewise.
71805         * resolv/res_hconf.c: Likewise.
71806         * shadow/fgetspent_r.c: Likewise.
71807         * shadow/putspent.c: Likewise.
71808         * stdio-common/printf_fphex.c: Likewise.
71809         * stdio-common/tmpfile.c: Likewise.
71810         * stdlib/abort.c: Likewise.
71811         * stdlib/fmtmsg.c: Likewise.
71812         * sunrpc/auth_unix.c: Likewise.
71813         * sunrpc/clnt_perr.c: Likewise.
71814         * sunrpc/clnt_tcp.c: Likewise.
71815         * sunrpc/clnt_udp.c: Likewise.
71816         * sunrpc/clnt_unix.c: Likewise.
71817         * sunrpc/openchild.c: Likewise.
71818         * sunrpc/svc_simple.c: Likewise.
71819         * sunrpc/svc_tcp.c: Likewise.
71820         * sunrpc/svc_udp.c: Likewise.
71821         * sunrpc/svc_unix.c: Likewise.
71822         * sunrpc/xdr.c: Likewise.
71823         * sunrpc/xdr_array.c: Likewise.
71824         * sunrpc/xdr_rec.c: Likewise.
71825         * sunrpc/xdr_ref.c: Likewise.
71826         * sunrpc/xdr_stdio.c: Likewise.
71828 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71830         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71832 2011-07-03  Andreas Jaeger  <aj@suse.de>
71834         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71835         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71836         regenerate with gen-libm-tests.pl.
71838 2010-05-12  Petr Baudis  <pasky@suse.cz>
71840         [BZ #11589]
71841         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71842         around j0() zero points by switching to j1().
71843         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71848 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71850         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71851         instead of 0.
71852         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71853         instead of 0.
71854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71855         Patch in part by Pavel Roskin <proski@gnu.org>.
71857         [BZ #13138]
71858         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71859         realloc.
71860         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71861         Free memory block if necessary.
71863         [BZ #12847]
71864         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71865         be NULL.  Don't lock in this case.
71867 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71869         * elf/elf.h (ELFOSABI_GNU): New macro.
71870         (ELFOSABI_LINUX): Define to that.
71872 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71874         * string/strncat.c (strncat): Undef the symbol in case it has been
71875         defined in bits/string.h.
71877 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71879         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71881         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71882         link map.
71884 2011-08-17  Andreas Jaeger  <aj@suse.de>
71886         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71888 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71889             Ian Lance Taylor  <iant@google.com>
71891         * math/libm-test.inc (lround_test): New testcase.
71892         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71894 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71896         * Makefile: Remove support for automatic cvs check-ins.
71897         * Makerules: Likewise.
71898         * config.make.in: Likewise.
71899         * configure.in: Likewise.
71900         * intl/Makefile: Likewise.
71901         * locale/Makefile: Likewise.
71902         * po/Makefile: Likewise.
71903         * posix/Makefile: Likewise.
71904         * sysdeps/gnu/Makefile: Likewise.
71905         * sysdeps/mach/hurd/Makefile: Likewise.
71906         * sysdeps/sparc/sparc32/Makefile: Likewise.
71908         [BZ #13118]
71909         * posix/Makefile (bug-regex32-ENV): Define.
71910         Patch by John Stanley <jpsinthemix@verizon.net>.
71912         * misc/Makefile (headers): Add bits/select2.h.
71913         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71914         * misc/bits/select2.h: New file.
71915         * include/bits/select2.h: New file.
71916         * debug/Makefile (routines): Add fdelt_chk.
71917         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71918         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71919         FD_ISSET.
71920         * debug/fdelt_chk.c: New file.
71922         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71923         * wcsmbs/test-wmemcmp.c: Likewise.
71924         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71925         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71927 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71929         * string/Makefile (strop-tests): Add memcmp.
71930         * string/test-wmemcmp.c: New file.
71931         * string/test-memcmp.c: Add wmemcmp support.
71933 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71935         [BZ #13153]
71936         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71937         2011-07-19 change.
71939         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71940         garbage value in a __mach_port_mod_refs call in the cases of the
71941         task-self and thread-self ports.
71943 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71945         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71947 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71949         * elf/dl-load.c (lose): Check for non-null L.
71951 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71953         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71955         * elf/dl-libc.c (dlerror_run): Pass back error code from
71956         dl_catch_error.
71958         [BZ #13123]
71959         * elf/dl-load.c (lose): Free l_origin if it is valid.
71961         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71962         names.
71963         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71964         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71965         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71966         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71967         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71968         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71970 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71972         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71973         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71974         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71975         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71976         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71977         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71978         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71979         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71980         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71981         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71983 2011-08-15  Alan Modra  <amodra@gmail.com>
71985         [BZ #13092]
71986         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71987         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71988         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71989         ppc_mcount to static-only-routines.
71990         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71991         __mcount_internal.
71992         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71993         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71995 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71997         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71998         for finite and infinity parameters.
72000 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72002         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72003         and add nop instructions for throughput optimization.
72004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72006 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72009         aligned copy for power7 with vector-scalar instructions.
72010         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72012 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72014         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72015         AVX check.
72017 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72019         [BZ #13144]
72020         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72021         last change.
72023 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72025         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72026         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72027         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72028         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72029         clock_gettime.
72031 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72033         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72034         Forgot to demangle the pointer.
72036         * sysdeps/i386/sysdep.h: Define atom_text_section.
72037         * sysdeps/x86_64/sysdep.h: Likewise.
72038         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72039         section with atom_text_section.
72040         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72042         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72043         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72044         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72046         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72047         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72048         already be defined.  Change to take two parameters and don't assign
72049         result to variable.  Adjust all users.
72050         Define INTERNAL_GETTIME if not already defined.
72051         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72052         call.
72053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72054         HAVE_CLOCK_GETTIME_VSYSCALL.
72055         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72058         gettimeofday vsyscall, just use time.
72060 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72062         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72063         <errno.h>.
72065 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72067         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72068         syscall on x86-64.
72069         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72070         syscall.
72071         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72072         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72073         syscall if possible.
72075 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72077         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72078         e_ident.  Don't pass to find_mapsXX.
72079         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72081 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72084         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72085         * sysdeps/x86_64/multiarch/strchr.S: Update.
72086         Check bit_slow_BSF bit.
72087         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72088         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72089         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72091 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72093         [BZ #13134]
72094         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72095         before glibc 2.15.
72096         (tryshell): Define.
72097         (__spawni): Change last parameter to be flag.  Test
72098         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72099         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72100         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72101         * posix/spawni.c: Likewise.
72102         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72103         * posix/spawnp.c: Likewise.  Change normal version to use
72104         SPAWN_XFLAGS_USE_PATH.
72105         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72106         SPAWN_XFLAGS_TRY_SHELL.
72108         [BZ #13150]
72109         * posix/glob.h: Remove gcc 1.x support.
72111         [BZ #13068]
72112         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72114 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72117         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72118         strrchr-sse2-bsf
72119         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72120         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72121         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72122         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72123         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72124         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72126 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72128         * sysdeps/x86_64/wcscmp.S: New file.
72130         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72131         wcscmp-c wcscmp-sse2
72132         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72133         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72134         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72135         * wcsmbs/wcscmp.c: Allow renaming.
72137 2011-09-05  David S. Miller  <davem@davemloft.net>
72139         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72140         stack slot, rather than the struct return pointer slot.
72141         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72142         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72144         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72146 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72148         * po/ja.po: Update from translation team.
72150         [BZ #13144]
72151         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72152         kernel in 64-bit binaries.
72154 2011-09-01  David S. Miller  <davem@davemloft.net>
72156         * elf/elf.h (HWCAP_SPARC_*): Move to..
72157         * sysdeps/sparc/sysdep.h: this new file and add new values.
72158         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72159         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72160         _DL_HWCAP_COUNT to 24.
72161         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72162         entries.
72163         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72164         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72165         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72167         instead of magic constants.
72168         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72170 2011-08-31  David S. Miller  <davem@davemloft.net>
72172         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72174         Reimplement to do errno handling inline.
72175         (SYSCALL_ERROR_HANDLER): New macro.
72176         (__SYSCALL_STRING): Do not do errno handling in asm.
72177         (__CLONE_SYSCALL_STRING): Delete.
72178         (__INTERNAL_SYSCALL_STRING): Delete.
72179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72180         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72181         (PSEUDO): Reimplement to do errno handling inline.
72182         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72183         (SYSCALL_ERROR_HANDLER): New macro.
72184         (__SYSCALL_STRING): Do not do errno handling in asm.
72185         (__CLONE_SYSCALL_STRING): Delete.
72186         (__INTERNAL_SYSCALL_STRING): Delete.
72187         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72188         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72189         i386.
72190         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72191         (inline_syscall*): Add 'err' argument.
72192         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72193         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72194         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72195         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72197         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72198         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72200 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72202         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72204 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72206         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72207         directive.
72209 2011-08-24  David S. Miller  <davem@davemloft.net>
72211         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72213 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72215         * elf/Makefile: Add rules to build and run unload8 test.
72216         * elf/unload8.c: New file.
72217         * elf/unload8mod1.c: New file.
72218         * elf/unload8mod1x.c: New file.
72219         * elf/unload8mod2.c: New file.
72220         * elf/unload8mod3.c: New file.
72222         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72223         it wasn't used.
72225 2011-08-23  David S. Miller  <davem@davemloft.net>
72227         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72228         subtract stack bias.
72229         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72230         %sp not %fp in calculations.
72231         (_JMPBUF_UNWINDS_ADJ): Likewise.
72233         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72234         (aio_suspend): Call it to force an exception region around the
72235         AIO_MISC_WAIT() invocation.
72237 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72239         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72240         backslash.
72242 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72244         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72245         protection macro.
72246         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72247         and <dl-machine.h>.
72248         (Elf64_FuncDesc): Remove.
72250 2011-08-22  David S. Miller  <davem@davemloft.net>
72252         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72253         sigaltstack check, add missing cfi directives.
72254         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72255         missing cfi directives, and sigaltstack handling.
72257 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72259         [BZ #11724]
72260         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72261         object is seen twice.
72262         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72264         * elf/Makefile (distribute): Add tst-initorder2.c.
72265         (tests): Add tst-initorder2.
72266         (modules-names): Add tst-initorder2a tst-initorder2b
72267         tst-initorder2c tst-initorder2d.  Add rules to build them.
72268         ($(objpfx)tst-initorder2.out): New rule.
72269         * elf/tst-initorder2.c: New file.
72270         * elf/tst-initorder2.exp: New file.
72272 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72274         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72276         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72277         dependencies back to end of function.
72279         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72280         $(elfobjdir)/ld.so.
72282 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72284         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72285         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72286         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72287         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72288         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72289         of __vdso_gettimeofday.
72290         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72291         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72292         attribute_hidden.
72293         (_libc_vdso_platform_setup): Remove initialization of
72294         __vdso_gettimeofday and __vdso_time.
72296 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72298         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72299         and fgetc_unlocked.
72300         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72301         getc_unlocked.
72303         * elf/dl-open.c (add_to_global): Report additions to the global scope
72304         for LD_DEBUG=scopes.
72305         (dl_open_worker): Also print scope of newly loaded dependencies.
72306         (_dl_show_scope): Indicate if there is no scope.
72308         [BZ #13114]
72309         * stdio-common/Makefile (tests): Add bug24.
72310         * stdio-common/bug24.c: New file.
72312 2011-08-19  Andreas Jaeger  <aj@suse.de>
72314         [BZ #13114]
72315         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72316         non-existant file when using close-on-exec mode.
72318 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72320         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72321         the very first instruction.
72323         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72324         the CFI state in the end.
72325         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72326         inclusion of dl-trampoline.h.
72327         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72329 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72331         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72332         expectations for long double.
72334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72335         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72337 2011-08-14  David S. Miller  <davem@davemloft.net>
72339         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72340         artificual limit depends upon the system page size.
72342 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72344         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72345         * resolv/Makefile: Define CFLAGS-libresolv.
72347 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72349         * nss/makedb.c (compute_tables): Make variables used in nested
72350         function static.
72352 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72354         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72355         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72356         if buffer was too small.
72358         * elf/pldd.c (main): Attach to all threads in the process.
72359         Rewrite /proc handling to use *at functions.
72361 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72363         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72364         specifies first scope to show.
72365         (dl_open_worker): Update callers.  Move printing scope of new
72366         object to before the relocation.
72367         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72368         * sysdeps/generic/ldsodefs.h: Update declaration.
72370         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72371         string for the scope number.
72373 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72375         * nscd/servicescache.c (cache_addserv): Make sure written is always
72376         initialized.
72378 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72380         * sysdeps/i386/i486/bits/atomic.h
72381         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72382         statement expression, so as to suppress "set but not used" warning.
72383         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72385         * string/strncat.c (STRNCAT): Use prototype definition.
72387         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72388         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72389         -Iprograms here.
72390         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72391         (localedef-modules): Add localedef.
72392         (locale-modules): Add locale.
72394         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72395         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72396         to avoid a warning.
72398 2011-08-14  David S. Miller  <davem@davemloft.net>
72400         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72401         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72403 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72405         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72406         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72407         * elf/rtld.c (dl_main): Set l_name of vDSO.
72408         Call _dl_show_scope when DL_DEBUG_SCOPES.
72409         (process_dl_debug): Recognize scopes flag and also set it for all.
72410         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72411         Declare _dl_show_scope.
72413         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72414         (do_dlopen): Pass caller_dlopen to dl_open.
72415         (__libc_dlopen_mode): Initialize caller_dlopen.
72417         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72418         of libc.  Make tolower call locale-independent.  Optimize a bit by
72419         using isdigit instead of isalnum.
72420         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72422 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72424         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72425         was a dependency or dynamically loaded.
72427 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72429         * intl/l10nflist.c: Allow architecture-specific pop function.
72430         * sysdeps/x86_64/l10nflist.c: New file.
72432         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72433         classification.
72435 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72437         * include/dirent.h: Add libc_hidden_proto for scandirat and
72438         scandirat64.  Don't declare __scandirat64.
72439         * dirent/scandirat.c: Add libc_hidden_def.
72440         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72441         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72443 2011-08-10  David S. Miller  <davem@davemloft.net>
72445         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72446         enum.
72447         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72448         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72449         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72451 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72453         * Versions.def [libc]: Add GLIBC_2.15.
72454         * dirent/Makefile (routines): Add scandirat and scandirat64.
72455         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72456         GLIBC_2.15.
72457         * dirent/dirent.h: Declare scandirat and scandirat64.
72458         * dirent/scandirat.c: New file.
72459         * dirent/scandirat64.c: New file.
72460         * sysdeps/wordsize-64/scandirat.c: New file.
72461         * sysdeps/wordsize-64/scandirat64.c: New file.
72462         * dirent/opendir.c: Define opendirat.
72463         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72464         using scandirat.
72465         * dirent/scandir64.c: Adjust for scandir.c change.
72466         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72467         __scandirat64, and __scandir_cancel_handler.
72468         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72469         additional parameter and use openat instead of open (outside of ld.so).
72470         Add new __opendir as wrapper around __opendirat.
72471         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72472         here without requiring old scandirat implementation.
72474 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72476         * dirent/scandir.c (cancel_handler): Renamed to
72477         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72478         defined.  Adjust users.
72479         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72480         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72482 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72484         * string/test-string.h (IMPL): Use __STRING to expand name and then
72485         stringify it.
72487         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72488         of cleanups.
72490 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72492         * string/Makefile: Update.
72493         (strop-tests): Append strncat.
72494         * string/test-wcscmp.c: New file.
72495         New comprehensive test for wcscmp.
72496         * string/test-strcmp.c: Update.
72497         (WIDE): New define.
72499 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72501         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72502         line.
72504 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72507         encoding to ACE if AI_IDN.
72509 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72512         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72514 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72516         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72517         Fix overflow bug in strncat.
72518         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72520         * string/test-strncat.c: Update.
72521         Add new tests for checking overflow bugs.
72523 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72526         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72527         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72528         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72529         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72530         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72531         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72532         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72533         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72535         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72536         (USE_AS_STRCAT): Define.
72537         Add strcat and strncat support.
72538         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72540 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72542         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72543         __n bigger than INT_MAX+1.
72544         (__strncmp_g): Likewise.
72546 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72548         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72549         * libio/stido.h: Likewise.
72551         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72552         (AF_NFC): Define.
72553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72554         (AF_NFC): Define.
72556         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72557         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72559         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72562         [BZ #13021]
72563         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72564         installed.
72566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72567         typo.
72568         (_dl_x86_64_save_sse): Likewise.
72570 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72573         OSXSAVE.
72574         (_dl_x86_64_save_sse): Likewise.
72576         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72578         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72580 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72583         change.
72584         (_dl_x86_64_save_sse): Use correct AVX check.
72586 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72588         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72589         bug in strncpy/strncat.
72590         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72592 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72594         * string/tester.c (test_strcat): Add tests for different alignments
72595         of source and destination.
72596         (test_strncat): Likewise.
72598 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72600         [BZ #12852]
72601         * posix/glob.c (glob): Check passed in values before using them in
72602         expressions to avoid some overflows.
72603         (glob_in_dir): Likewise.
72605         [BZ #13007]
72606         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72607         check for AVX enablement so that we don't crash with old kernels and
72608         new hardware.
72609         * elf/tst-audit4.c: Add same checks here.
72610         * elf/tst-audit6.c: Likewise.
72612         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72614 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72616         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72618 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72620         * po/cs.po: Update from translation team.
72621         * po/bg.po: Likewise.
72623 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72625         * misc/sys/cdefs.h: Add support for const attribute.
72626         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72627         to gnu_dev_{major,minor,makedev} functions.
72629 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72631         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72633 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72635         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72636         strlen results.
72638 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72641         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72642         register in order to avoid conflicts with the soft frame pointer
72643         being held in r11 when necessary.
72644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72645         (INTERNAL_VSYSCALL_NCS): Likewise.
72647 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72649         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72650         * elf/dl-fini.c (_dl_fini): Adjust caller.
72651         * elf/dl-close.c (_dl_close_worker): Likewise.
72652         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72654 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72656         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72657         "aux_cache->nlibs < 0".
72659         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72660         in the reload-count case.
72662 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72665         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72666         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72667         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72668         * sysdeps/x86_64/multiarch/strcat.S: New file.
72669         * sysdeps/x86_64/multiarch/strncat.S: New file.
72670         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72671         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72672         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72673         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72674         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72675         (USE_AS_STRCAT): Define.
72676         Add strcat and strncat support.
72677         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72678         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72679         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72680         * string/strncat.c: Update.
72681         (USE_AS_STRNCAT): Define.
72682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72683         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72684         and i7.
72685         * sysdeps/x86_64/multiarch/init-arch.h
72686         (bit_Prefer_PMINUB_for_stringop): New.
72687         (index_Prefer_PMINUB_for_stringop): Likewise.
72688         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72689         bit_Prefer_PMINUB_for_stringop.
72691 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72693         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72694         buffer64.
72695         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72696         of casting of buffer.
72697         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72698         buffer32 and buffer64.
72699         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72700         writes instead of casting of buffer.
72701         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72702         buffer32.
72703         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72704         casting of buffer.
72706 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72708         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72710 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72712         * nscd/nscd.c (termination_handler): Don't do anything for a database
72713         if it has not yet been initialized.
72715 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72717         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72719 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72721         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72723 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72725         * po/nl.po: Update from translation team.
72726         * po/sv.po: Likewise.
72728 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72730         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72731         now disallowed by GCC.
72733         * configure.in (use-default-link): Default to yes if a test -shared
72734         link meets our qualifications.
72735         * configure: Regenerated.
72737         * config.make.in (output-format): New variable.
72738         * configure.in: Check for ld --print-output-format support.
72739         * configure: Regenerated.
72740         * Makerules ($(common-objpfx)format.lds)
72741         [$(output-format) != unknown]: Just use $(output-format),
72742         instead of the linker-script munging.
72744 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72746         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72747         of $(common-objpfx)shlib.lds.
72748         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72750         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72751         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72753         * configure.in (-z relro check): Adjust test code to add a large
72754         writable data section after it.
72755         * configure: Regenerated.
72757 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72759         * configure.in (-z relro check): Fix test code to make the variable
72760         truly const.
72761         * configure: Regenerated.
72763 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72765         * nscd/nscd.h (struct traced_file): Define.
72766         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72767         elements.  Add traced_files.
72768         (inotify_fd): Declare.
72769         (register_traced_file): Declare.
72770         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72771         (inotify_fd): Export.
72772         (resolv_conf_descr): Remove.
72773         (nscd_init): Move inotify descriptor creation to main.
72774         Don't register files for notification here.
72775         (register_traced_file): New function.
72776         (invalidate_cache): Don't use reset_res to determine whether to call
72777         res_init, go through the list of registered files.
72778         (main_loop_poll): The inotify descriptors are now stored in the
72779         structures for the traced files.
72780         (main_loop_epoll): Likewise.
72781         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72782         to __nss_disable_nscd.
72783         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72784         for a database anymore.  Check the records for all the registered
72785         files instead.
72786         * nss/Makefile (libnss_files-routines): Add files-init.
72787         (libnss_db-routines): Add db-init.
72788         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72789         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72790         * nss/nss_db/db-init.c: New file.
72791         * nss/nss_files/files-init.c: New file.
72792         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72793         __nss_lookup_function.
72794         (__nss_lookup_function): Call nss_load_library.
72795         (nss_load_all_libraries): New function.
72796         (__nss_disable_nscd): Take parameter with callback function for files
72797         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72798         used for the cached services.
72799         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72800         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72801         options for features to all the files in nscd.
72803         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72805 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72807         * csu/elf-init.c (__libc_csu_init): Comment typo.
72809 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72811         * po/pl.po: Update from translation team.
72812         * po/ja.po: Likewise.
72813         * po/ru.po: Likewise.
72814         * po/ko.po: Likewise.
72815         * po/fr.po: Likewise.
72817 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72819         * configure.in (.ctors/.dtors header and trailer check):
72820         Use an empirical test on a built program.
72821         * configure: Regenerated.
72823         * configure.in (-z relro check): Use an empirical test on a built DSO.
72824         Detect, but do not require, on ia64.
72825         * configure: Regenerated.
72827         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72828         Update tests that use readelf to use $READELF instead.
72829         * configure: Regenerated.
72831 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72833         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72834         if the result is not used.
72836 2011-07-05  Andreas Jaeger  <aj@suse.de>
72838         [BZ#9696]
72839         * stdlib/tst-strtod.c: Add testcase.
72841 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72843         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72844         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72845         The latter has a higher limit.  Take additional parameter to pass to
72846         the new function.
72847         (__pathconf): Pass file to __statfs_link_max.
72848         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72849         __statfs_link_max.
72850         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72851         __statfs_link_max.
72853         [BZ #12868]
72854         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72855         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72856         Handle Lustre.
72857         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72858         (__statfs_filesize_max): Likewise.
72859         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72861 2011-07-05  Andreas Jaeger  <aj@suse.de>
72863         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72865 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72867         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72868         `status' variable.
72869         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72870         Likewise.
72872 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72874         * Makefile (strop-tests): Add strncat.
72875         * string/test-strncat.c: New file.
72877 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72879         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72881 2011-06-21  Andreas Jaeger  <aj@suse.de>
72883         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72884         Copy rule from iconvdata/Makefile.
72886 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72888         [BZ #12922]
72889         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72890         but no long options are defined, just return 'W'.
72892 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72894         [BZ #9696]
72895         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72897 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72899         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72900         netgroups to read.
72901         (innetgr): Likewise.
72903 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72905         * config.make.in (install_root): Default to $(DESTDIR).
72907 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72909         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72911 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72913         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72915         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72916         containing directory rather than embedding absolute directory names.
72918         * scripts/check-local-headers.sh: Rewritten using awk.
72919         Match by word, not by line.  Print error messages for matches.
72920         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72922         * Makerules [shlib-lds-flags empty]:
72923         ($(common-objpfx)libc_pic.opts): New target.
72924         ($(common-objpfx)libc_pic.os.clean): New target.
72925         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72927         * config.make.in (OBJCOPY): New variable.
72928         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72929         * configure: Regenerated.
72931         * config.make.in (use-default-link): New variable.
72932         * configure.in (use_default_link): Grok --with-default-link to set it.
72933         * configure: Regenerated.
72934         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72935         (shlib-lds, shlib-lds-flags): Define to empty.
72937         * Makerules (shlib-lds): New variable.
72938         (shlib-lds-flags): New variable.
72939         (build-shlib, build-moduile, build-module-asneeded): Use it.
72940         ($(common-objpfx)libc.so): Use $(shlib-lds).
72941         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72942         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72944         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72945         DT_FLAGS/DT_FLAGS_1 with zero flags.
72947         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72948         linker script munging.
72950 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72952         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72953         as 128-bit value.
72954         * crypt/sha512.c (sha512_process_block): Perform total addition using
72955         128-bit if possible.
72956         (__sha512_finish_ctx): Likewise.
72957         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72958         as 64-bit value.
72959         * crypt/sha256.c (SWAP64): Define.
72960         (sha256_process_block): Perform total addition using 64-bit if
72961         possible.
72962         (__sha256_finish_ctx): Likewise.
72964 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72966         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72967         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72968         * nscd/hstcache.c (cache_addhst): Likewise.
72969         * nscd/grpcache.c (cache_addgr): Likewise.
72970         * nscd/aicache.c (addhstaiX): Likewise.
72971         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72973 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72975         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72976         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72977         * nscd/hstcache.c (cache_addhst): Likewise.
72978         * nscd/grpcache.c (cache_addgr): Likewise.
72979         * nscd/aicache.c (addhstaiX): Likewise.
72981 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72983         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72984         domain only when needed.
72986 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72989         is always restored.
72991 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72993         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72994         are re-adding the entry.
72995         * nscd/servicescache.c (cache_addserv): Likewise.
72997 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72999         * sysdeps/generic/dl-irel.h: fix protection against multiple
73000         inclusions.
73001         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73003 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73005         [BZ #12935]
73006         * malloc/memusage.sh: Fix quoting in message.
73007         * debug/xtrace.sh: Likewise.
73009         * configure.in: Remove support for --experimental-malloc option, make
73010         it the default.
73011         * config.make.in: Likewise.
73012         * malloc/Makefile: Likewise.
73014 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73016         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73017         two-byte characters.
73019 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73021         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73022         AC_CACHE_CHECK invocation.
73023         * configure: Regenerated.
73025         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73027 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73029         [BZ #12350]
73030         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73031         bit from old_res_options.
73033         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73035         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73036         value type for setfct.
73038 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73041         __gettimeofday instead of gettimeofday.
73043 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73045         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73047 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73049         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73051         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73052         info.
73054 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73057         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73058         strcpy-sse2-unaligned strncpy-sse2-unaligned
73059         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73060         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73061         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73062         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73063         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73064         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73065         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73066         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73067         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73068         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73069         (STRCPY): Support SSE2 and SSSE3 versions.
73071 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73073         [BZ #12874]
73074         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73075         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73076         kernels which artificially limit size of requests.
73078 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73080         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73081         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73082         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73083         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73084         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73085         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73086         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73087         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73088         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73090         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73091         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73092         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73093         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73094         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73096         Enable unaligned load optimization for Intel Core i3, i5 and i7
73097         processors.
73098         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73099         Define.
73100         (index_Fast_Unaligned_Load): Define.
73101         (HAS_FAST_UNALIGNED_LOAD): Define.
73103 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73105         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73107 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73109         [BZ #12907]
73110         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73111         until it is clear that the information is realy needed.
73112         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73114 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73118 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73121         /sys/devices/system/cpu/online if it is usable.
73123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73124         reading the information from the /proc filesystem to once a second.
73126 2011-06-21  Andreas Jaeger  <aj@suse.de>
73128         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73129         NULL after inclusion of kernel headers.
73131 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73133         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73134         calls to internal_setent.
73136         [BZ #12885]
73137         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73138         addresses using gethostbyname4_r ignore IPv4 addresses.
73140         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73141         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73143         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73145 2011-06-20  David S. Miller  <davem@davemloft.net>
73147         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73148         inclusions.
73149         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73151         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73152         (elf_irel): Use it.
73153         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73154         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73155         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73156         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73157         * sysdeps/x86_64/dl-irel.h: Likewise.
73159         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73160         * elf/dl-sym.c: Likewise.
73162 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73164         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73165         need to dereference resplen2.
73167 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73169         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73171 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73173         * Makeconfig: Define vardbdir and inst_vardbdir.
73174         * nss/Makefile: Add rules to install db-Makefile.
73176         * nss/nss_db/db-XXX.c: Cleanup.
73178         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73179         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73180         GLIBC_PRIVATE.
73181         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73182         * nss/makedb.c: Implement -g option to specify that value strings
73183         are generated and should not be added to table iterated over for
73184         get*ent calls.
73185         * nss/nss_db/db-initgroups.c: New file.
73187         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73188         interface.
73190         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73191         (internal_getgrouplist): Adjust to name change.
73192         Update use_initgroups_entry if this is not the first call.
73193         * nss/databases.def: Add initgroups entry.
73195         * nss/makedb.c (compute_tables): Check result of multiple hash table
73196         sizes to minimize maximum chain length.
73198 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73200         * Versions.def: Add entry for libnss_db.
73201         * shlib-versions: Likewise.
73202         * nss/Makefile: Add rules to build libnss_db.
73203         * nss/Versions: Add libnss_db information.  Organize libnss_files
73204         entries better.
73205         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73206         makedb progra.  Some minor improvements to generate smaller files.
73207         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73208         here from...
73209         * nss/makedb.c: ...here.
73210         Improve database format to be smaller and require less memory at
73211         runtime.
73212         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73213         db anymore.
73214         * nss/nss_db/db-netgrp.c: Likewise.
73215         * nss/nss_db/db-open.c: Likewise.
73216         * nss/nss_files/flies-XXX.x: Adjust comments.
73217         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73218         * nss/nss_files/files-grp.c: Likewise.
73219         * nss/nss_files/files-hosts.c: Likewise.
73220         * nss/nss_files/files-network.c: Likewise.
73221         * nss/nss_files/files-proto.c: Likewise.
73222         * nss/nss_files/files-pwd.c: Likewise.
73223         * nss/nss_files/files-rpc.c: Likewise.
73224         * nss/nss_files/files-service.c: Likewise.
73225         * nss/nss_files/files-sgrp.c: Likewise.
73226         * nss/nss_files/files-spwd.c: Likewise.
73227         * nss/nss_db/db-alias.c: Removed.
73228         * nss/nss_db/dummy-db.h: Removed.
73230 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73232         * nss/makedb.c: Rewritten to not use database library.
73233         * nss/Makefile: Update to build new makedb program.
73235 2011-06-14  Andreas Jaeger  <aj@suse.de>
73237         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73238         memset declaration.
73240 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73243         tmpbuf.
73245 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73247         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73248         * elf/Makefile ($(objpfx)ld.so): Likewise.
73250         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73251         Don't list ld.so twice in dependencies.
73253         * posix/bug-regex31.c: Include <stdlib.h>.
73255         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73257         * nis/nss_compat/compat-spwd.c
73258         (getspent_next_nss_netgr): Remove unused variable.
73259         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73261         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73262         nonmembers" output to use the right array.
73264         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73266         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73268         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73269         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73270         * catgets/gencat.c (read_input_file): Likewise.
73271         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73273         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73274         variable definition inside #if's controlling its use.
73276         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73278         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73280         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73282         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73283         unreachable code.
73285         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73287         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73288         * configure: Regenerated.
73290         * Makerules: Revert last change.
73291         * elf/Makefile: Likewise.
73293 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73295         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73296         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73297         (reloc-link): Likewise.
73299 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73301         * elf/Makefile: Add rules to build pldd.
73302         * elf/pldd.c: New file.
73303         * elf/pldd-xx.c: New file.
73305 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73307         * version.h: Update for 2.15 development version.
73309 2011-06-07  David S. Miller  <davem@davemloft.net>
73311         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73312         ifuncs.
73313         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73314         elf_machine_lazy_rel): Likewise.
73315         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73317         elf_machine_lazy_rel): Likewise.
73318         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73319         dl_hwcap via passed in argument.
73320         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73321         Likewise.
73323 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73325         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73327 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73329         [BZ #12849]
73330         * manual/fdl-1.1.texi: New file, verbatim from:
73331         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73332         * manual/lgpl-2.1.texi: New file, verbatim from:
73333         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73334         * manual/Makefile (licenses): New variable, list those new file names.
73335         (texis): Use it.
73336         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73338         * manual/fdl.texi: File removed.
73339         * manual/lesser.texi: File removed.
73340         * manual/libc.texinfo (Copying, Documentation License):
73341         Use new @include file names, put @appendix directive before @include.
73343 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73345         [BZ #12841]
73346         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73347         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73348         (mq_open): Add __NTH.
73350 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73353         Assume Intel Core i3/i5/i7 processor if AVX is available.
73355 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73357         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73358         typo.
73360 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73362         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73363         memory.  Use alloca_account.  Fix memory leak when retrying.
73365 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73367         * version.h (RELEASE): Bump for 2.14 release.
73368         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73370         * config.make.in (RANLIB): Remove entry.
73372 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73374         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73375         (libc.pot): Work around missing support for .ksh extension in xgettext.
73377         [BZ #12684]
73378         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73379         if both request failed.
73380         (send_dg): In case of server errors clear resplen or *resplen2.
73382         [BZ #12454]
73383         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73384         when there are multiple maps.
73385         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73386         (_dl_fini): Remove test here.
73388         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73390 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73392         [BZ #12350]
73393         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73394         bit from old_res_options.
73395         (gaih_inet): Likewise.
73397         [BZ #11099]
73398         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73399         as signed.
73401         * resolv/res_init.c (res_setoptions): Make the code more compact.
73403         [BZ #11558]
73404         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73405         set RES_USEVC.
73407         [BZ #11634]
73408         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73410         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73412         [BZ #11781]
73413         * malloc/malloc.h: Declare malloc hook variables as volatile.
73415         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73416         in last patch.
73418         [BZ #11799]
73419         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73420         raise in the comment.
73421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73423         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73425 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73427         [BZ #12811]
73428         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73429         grow the buffers more if it already has to be sufficient.
73430         (build_wcs_upper_buffer): Likewise.
73431         * posix/regexec.c (check_matching): Likewise.
73432         (clean_state_log_if_needed): Likewise.
73433         (extend_buffers): Don't enlarge buffers beyond size of the input
73434         buffer.
73435         Patches mostly by Emil Wojak <emil@wojak.eu>.
73436         * posix/bug-regex32.c: New file.
73437         * posix/Makefile (tests): Add bug-regex32.
73439         * locale/findlocale.c (_nl_find_locale): Return right away if
73440         _nl_explode_name failed.
73441         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73443         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73445         * debug/xtrace.sh: Unify messages.
73446         * malloc/memusage.sh: Likewise.
73448         [BZ #12813]
73449         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73450         time symbol from vDSO.  Substitute with vsyscall if not available.
73451         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73452         __vdso_time.
73454         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73455         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73456         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73457         Add sendmmsg and internal_sendmmsg.
73458         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73459         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73460         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73462         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73463         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73464         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73466 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73468         [BZ #12813]
73469         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73470         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73471         available.
73472         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73473         __vdso_getcpu.
73475         [BZ #12814]
73476         * iconvdata/Makefile (tests): Add bug-iconv9.
73477         * iconvdata/bug-iconv9.c: New file.
73479 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73481         [BZ #12814]
73482         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73484 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73486         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73487         (struct user_regs_struct): Change intcs field back to cs.
73489 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73491         * po/ja.po: Update from translation team.
73493 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73495         [BZ #12795]
73496         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73497         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73499 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73501         * stdlib/longlong.h: Update from GCC.
73503 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73505         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73506         parameter name.
73507         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73508         Add parameter name.
73509         (__sysconf): Pass it down.
73511 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73513         [BZ #12671]
73514         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73515         some situations.
73516         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73517         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73518         add in in __libc_use_alloca calls.  Adjust callers.
73519         (glob): Use malloc in some situations.
73521         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73522         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73523         pltexit.
73525 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73527         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73528         and CLOCK_BOOTTIME_ALARM.
73530         [BZ #12782]
73531         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73532         is returned.
73534         * string/_strerror.c (__strerror_r): Print negative errors as signed
73535         numbers.
73537         [BZ #12777]
73538         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73539         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73540         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73542         * configure.in: Fix typo in redirection and correct removal of test
73543         files in two cases.
73545         [BZ #12788]
73546         * locale/setlocale.c (new_composite_name): Fix test to check for
73547         identical name of all categories.
73549         [BZ #12792]
73550         * libio/filedoalloc.c (local_isatty): New function.
73551         (_IO_file_doallocate): Use local_isatty.
73552         * stdio-common/perror.c (perror): In case a new stream is used
73553         forward the stream error.
73554         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73555         error flag.
73557 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73559         [BZ #11884]
73560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73561         alloca.
73562         * include/alloca.h (extend_alloca_account): Define.
73564         [BZ #11857]
73565         * posix/regex.h: Fix comments with documentation of user-accessible
73566         fields after compilation and describe correct free'ing of pattern
73567         after re_compile_pattern.
73568         Patch by Reuben Thomas <rrt@sc3d.org>.
73570 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73572         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73573         and -mno-altivec to prevent the compiler from using Altivec and/or
73574         VSX instructions when the corresponding registers are not available.
73576 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73578         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73580 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73582         * libio/freopen.c (freopen): Use __dup2, not dup2.
73583         * libio/freopen64.c (freopen64): Likewise.
73585 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73587         [BZ #12775]
73588         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73589         * math/Makefile (tests): Add test-powl.
73590         (CFLAGS-test-powl.c): Define.
73591         * math/test-powl.c: New file.
73593 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73595         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73597 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73599         [BZ #11837]
73600         * iconvdata/gb18030.c: Update to GB18020-2005.
73602 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73604         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73605         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73606         Patch by Aharon Robbins <arnold@skeeve.com>.
73608         [BZ #11892]
73609         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73610         on the stack.
73612         [BZ #11895]
73613         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73614         through underflows.
73616         [BZ #12766]
73617         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73618         point to strings before performing equality test for error_one_per_line
73619         mode.
73621         [BZ #11697]
73622         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73624         [BZ #11820]
73625         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73626         (struct user_fpregs_struct): Avoid __uint*_t types.
73628         [BZ #6420]
73629         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73630         symbol info.  Use it instead of calling _dl_addr locally.
73631         (lock_and_info): New function.
73632         (tr_freehook): Call lock_and_info and pass symbol info as additional
73633         parameter to tr_where.
73634         (tr_mallochook): Likewise.
73635         (tr_reallochook): Likewise.
73636         (tr_memalignhook): Likewise.
73638         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73639         used and couldn't be at all thread-safe.
73641 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73643         * libio/freopen.c (freopen): Don't close old file descriptor
73644         before the new one is opened.  Instead dup the new file descriptor
73645         to the old one after the new stream is created.
73646         * libio/freopen64.c (freopen64): Likewise.
73647         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73648         * libio/fileops.c (_IO_new_file_close_it): Handle new
73649         _IO_FLAGS2_NOCLOSE flag.
73650         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73651         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73652         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73653         _IO_FLAGS2_NOCLOSE flag.
73654         * include/unistd.h: Add hidden_proto for dup3.
73655         Define __have_dup3.
73656         * io/dup3.c: Define hidden symbol.
73657         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73659         [BZ #7101]
73660         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73661         when an incomplete long option is used.
73662         * posix/tst-getopt_long1.c: New file.
73663         * posix/Makefile (tests): Add tst-getopt_long1.
73665         [BZ #10138]
73666         * scripts/config.guess: Update from autoconf-2.68.
73667         * scripts/config.sub: Likewise.
73669         [BZ #10157]
73670         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73671         tests into ...
73672         (has_cpuclock): ...this.  New function.
73673         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73674         macro here based on has_cpuclock code.
73676         [BZ #10149]
73677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73678         First byte (not low byte) is now always NUL.
73679         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73681         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73682         Use non-cancelable interfaces.
73684         [BZ #9809]
73685         * locale/iso-639.def: Add entry for Sorani.
73687         [BZ #11901]
73688         * include/stdlib.h: Move include protection to the right place.
73689         Define abort_msg_s.  Declare __abort_msg with it.
73690         * stdlib/abort.c (__abort_msg): Adjust type.
73691         * assert/assert.c (__assert_fail_base): New function.  Majority
73692         of code from __assert_fail.  Allocate memory for __abort_msg with
73693         mmap.
73694         (__assert_fail): Now call __assert_fail_base.
73695         * assert/assert-perr.c: Remove bulk of implementation.  Use
73696         __assert_fail_base.
73697         * include/assert.hL Declare __assert_fail_base.
73698         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73699         mmap.
73700         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73702 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73704         [BZ #11952]
73705         [BZ #12453]
73706         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73707         until all modules are registered in the DTV.
73708         * elf/Makefile: Add rules to build and run tst-tls19.
73709         * elf/tst-tls19.c: New file.
73710         * elf/tst-tls19mod1.c: New file.
73711         * elf/tst-tls19mod2.c: New file.
73712         * elf/tst-tls19mod3.c: New file.
73713         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73715         [BZ #12083]
73716         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73717         correctly.
73719         [BZ #12601]
73720         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73721         two-byte sequence errors.
73722         * iconvdata/Makefile (tests): Add bug-iconv8.
73723         * iconvdata/bug-iconv8.c: New file.
73725         [BZ #12626]
73726         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73727         buf2 definition.
73729         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73731         [BZ #12432]
73732         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73733         (dummy_getcfa): New function.
73734         (init): Get _Unwind_GetCFA address, use dummy if not found.
73735         (backtrace_helper): In recursion check, also check whether CFA changes.
73736         (__backtrace): Completely initialize arg.
73738         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73739         storing incomplete byte sequence in state object.  Avoid testing for
73740         guaranteed too small input if we know there is enough data available.
73742 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73744         * Makeconfig (+link-pie): Indent.
73745         * Rules (binaries-pie): Define if $(have-fpie) and
73746         $(build-shared).
73747         (binaries-shared): Also filter out $(binaries-pie).
73748         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73749         * nscd/Makefile (others-pie): Add nscd.
73750         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73751         ($(objpfx)nscd): Remove command override.
73752         * login/Makefile (others-pie): Add pt_chown.
73753         ($(objpfx)pt_chown): Remove command override.
73754         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73755         remove command overrides.
73757 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73759         * libio/tst_putwc.c: Fix error messages.
73761         [BZ #12724]
73762         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73763         currently writing and seek to current position when not.
73764         * libio/Makefile (tests): Add bug-fclose1.
73765         * libio/bug-fclose1.c: New file.
73767 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73769         [BZ #12511]
73770         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73771         don't set DF_1_NODELETE here.
73772         (do_lookup_x): When entering new entry test for copy relocation
73773         and if necessary set DF_1_NODELETE flag.
73774         * elf/tst-unique4.cc: New file.
73775         * elf/tst-unique4.h: New file.
73776         * elf/tst-unique4lib.cc: New file.
73777         * elf/Makefile: Add rules to build and run tst-unique4.
73778         Patch by Piotr Bury <pbury@goahead.com>.
73780 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73782         [BZ #12052]
73783         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73785         [BZ #12625]
73786         * misc/mntent_r.c (addmntent): Flush the stream after the output
73788         [BZ #12393]
73789         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73790         (is_trusted_path_normalize): Skip initial colon.  Append slash
73791         to empty buffer.  Duplicate is_trusted_path code but allow
73792         constructed patch to be prefix.
73793         (is_dst): Allow $ORIGIN followed by /.
73794         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73795         Correct testing of result of is_trusted_path_normalize
73796         (decompose_rpath): Fix warning.
73798 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73800         [BZ #11257]
73801         * grp/initgroups.c (internal_getgrouplist): When we found the service
73802         list through the initgroups entry in nsswitch.conf do not always
73803         continue on a successful lookup.  Don't always use the
73804         __nss_group_database value if it is set.
73805         * nss/nsswitch.conf (initgroups): Change action for successful db
73806         lookup to continue for compatibility.
73808 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73810         [BZ #11532]
73811         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73812         and CP774 modules.
73813         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73814         and CP774 modules.
73815         * iconvdata/tst-tables.sh: Likewise.
73816         * iconvdata/cp770.c: New file.
73817         * iconvdata/cp771.c: New file.
73818         * iconvdata/cp772.c: New file.
73819         * iconvdata/cp773.c: New file.
73820         * iconvdata/cp774.c: New file.
73821         * iconvdata/testdata/CP770: New file.
73822         * iconvdata/testdata/CP770..UTF8: New file.
73823         * iconvdata/testdata/CP771: New file.
73824         * iconvdata/testdata/CP771..UTF8: New file.
73825         * iconvdata/testdata/CP772: New file.
73826         * iconvdata/testdata/CP772..UTF8: New file.
73827         * iconvdata/testdata/CP773: New file.
73828         * iconvdata/testdata/CP773..UTF8: New file.
73829         * iconvdata/testdata/CP774: New file.
73830         * iconvdata/testdata/CP774..UTF8: New file.
73832         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73833         END CHARMAP line.
73834         * iconvdata/gen-8bit-gap.sh: Likewise.
73835         * iconvdata/gen-8bit.sh: Likewise.
73837         * locale/iso-639.def: Add ary entry.
73839         [BZ #11258]
73840         * locale/C-translit.h.in: Add U20A1 transliteration.
73842         [BZ #12178]
73843         * locale/iso-639.def: Add wae entry.
73844         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73846         [BZ #12545]
73847         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73848         for n.
73850         [BZ #12711]
73851         * locale/C-translit.h.in: Add entry for U20B9.
73852         Patch by pravin.d.s@gmail.com.
73854 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73856         [BZ #12713]
73857         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73858         ENAMETOOLONG use generic getcwd.
73859         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73860         in rtld.  Use *stat64.
73861         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73862         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73863         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73864         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73865         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73866         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73867         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73868         __fstatat64 macros.
73869         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73870         * dirent/rewinddir.c: Add libc_hidden_def.
73871         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73872         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73874         * include/dirent.h (__alloc_dir): Add flags parameter.
73875         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73876         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73877         __alloc_dir.
73878         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73879         from fdopendir if O_CLOEXEC is already set.
73881 2011-03-15  Alan Modra  <amodra@gmail.com>
73883         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73884         l_tls_firstbyte_offset non-zero.  Save padding offset in
73885         l_tls_firstbyte_offset for later use.
73886         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73887         freeing static tls block.
73889 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73891         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73892         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73893         being defined by the kernel headers.
73895 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73897         [BZ #12734]
73898         * resolv/resolv.h: Define RES_NOTLDQUERY.
73899         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73900         no-tld-query and set RES_NOTLDQUERY.
73901         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73902         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73903         modern BIND to search name as TLD unless forbidden.
73905 2011-05-07  Petr Baudis  <pasky@suse.cz>
73906             Ulrich Drepper  <drepper@gmail.com>
73908         [BZ #12393]
73909         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73910         (is_trusted_path): ...to here.
73911         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73912         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73913         using is_trusted_path_normalize() in setuid scripts.
73915 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73917         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73918         __BEGIN/__END_DECLS.
73920 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73923         NSS_STATUS_NOTFOUND if no record was found.
73925 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73927         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73928         (headers-not-in-tirpc): Remove rpc/netdb.h
73929         * resolv/netdb.h: Revert last change.
73931 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73933         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73934         circular dependency between libgcc.a and libc.a.
73936 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73938         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73939         * nis/Makefile: Don't install rpcsvc/*.
73940         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73941         instead of <rpc/types.h>.
73942         (MAXHOSTNAMELEN): Define.
73944 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73946         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73948 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73950         [BZ #12714]
73951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73952         gethostbyname4_r when IPv6 results are possible.
73954 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73956         [BZ #12723]
73957         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73958         _PC_PIPE_BUF handling.
73960 2011-04-30  Bruno Haible  <bruno@clisp.org>
73962         [BZ #12717]
73963         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73964         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73965         to 'int'.
73966         * inet/getnameinfo.c (getnameinfo): Likewise.
73968 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73970         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73971         to groups setting in database lookup.
73972         * nss/nsswitch.conf: Add initgroups entry.
73974 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73976         [BZ #12685]
73977         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73978         mode string.
73979         Patch by Eric Blake <eblake@redhat.com>.
73981 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73983         * sunrpc/Makefile (need-export-routines): Add svc_run.
73984         (routines): Remove svc_run.
73985         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73986         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73987         * sunrpc/svc_run.c (svc_run): Likewise.
73988         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73990 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73993         problem in reallocation in last patch.
73995 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73997         * sunrpc/Makefile: Move inclusion of Rules.
73999 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74001         * nss/nss_files/files-initgroups.c: New file.
74002         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74003         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74004         _nss_files_initgroups_dyn.
74006 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74008         * elf/elf.h (R_ARM_IRELATIVE): Define.
74010 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74012         * po/ru.po: Update from translation team.
74014 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74016         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74017         dependencies.
74019 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74021         [BZ #12653]
74022         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74023         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74025         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74028 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74030         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74031         differing bytes.
74032         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74036 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74038         [BZ #12420]
74039         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74040         storing it.
74041         * stdlib/bug-getcontext.c: New file.
74042         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74044 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74046         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74047         instructions into .machine "z9-109".
74048         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74049         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74051 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74053         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74054         between environment variables and auxiliary vector.
74056 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74058         * Makefile: Add rules to build linkobj/libc.so.
74059         * include/libc-symbols.h: Define libc_hidden_nolink.
74060         * include/rpc/auth.h: Mark functions which are to be hidden.
74061         * include/rpc/auth_des.h: Likewise.
74062         * include/rpc/auth_unix.h: Likewise.
74063         * include/rpc/clnt.h: Likewise.
74064         * include/rpc/des_crypt.h: Likewise.
74065         * include/rpc/key_prot.h: Likewise.
74066         * include/rpc/pmap_clnt.h: Likewise.
74067         * include/rpc/pmap_prot.h: Likewise.
74068         * include/rpc/pmap_rmt.h: Likewise.
74069         * include/rpc/rpc_msg.h: Likewise.
74070         * include/rpc/svc.h: Likewise.
74071         * include/rpc/svc_auth.h: Likewise.
74072         * include/rpc/xdr.h: Likewise.
74073         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74074         * nss/Makefile: Likewise.
74075         * sunrpc/Makefile: Don't install headers.  Build library with normal
74076         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74077         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74078         for the compat linking library.  Remove use of INTDEF/INTUSE.
74079         * sunrpc/auth_none.c: Likewise.
74080         * sunrpc/auth_unix.c: Likewise.
74081         * sunrpc/authdes_prot.c: Likewise.
74082         * sunrpc/authuxprot.c: Likewise.
74083         * sunrpc/clnt_gen.c: Likewise.
74084         * sunrpc/clnt_perr.c: Likewise.
74085         * sunrpc/clnt_raw.c: Likewise.
74086         * sunrpc/clnt_simp.c: Likewise.
74087         * sunrpc/clnt_tcp.c: Likewise.
74088         * sunrpc/clnt_udp.c: Likewise.
74089         * sunrpc/clnt_unix.c: Likewise.
74090         * sunrpc/des_crypt.c: Likewise.
74091         * sunrpc/des_soft.c: Likewise.
74092         * sunrpc/get_myaddr.c: Likewise.
74093         * sunrpc/key_call.c: Likewise.
74094         * sunrpc/key_prot.c: Likewise.
74095         * sunrpc/netname.c: Likewise.
74096         * sunrpc/pm_getmaps.c: Likewise.
74097         * sunrpc/pm_getport.c: Likewise.
74098         * sunrpc/pmap_clnt.c: Likewise.
74099         * sunrpc/pmap_prot.c: Likewise.
74100         * sunrpc/pmap_prot2.c: Likewise.
74101         * sunrpc/pmap_rmt.c: Likewise.
74102         * sunrpc/publickey.c: Likewise.
74103         * sunrpc/rpc_cmsg.c: Likewise.
74104         * sunrpc/rpc_common.c: Likewise.
74105         * sunrpc/rpc_dtable.c: Likewise.
74106         * sunrpc/rpc_prot.c: Likewise.
74107         * sunrpc/rpc_thread.c: Likewise.
74108         * sunrpc/rtime.c: Likewise.
74109         * sunrpc/svc.c: Likewise.
74110         * sunrpc/svc_auth.c: Likewise.
74111         * sunrpc/svc_authux.c: Likewise.
74112         * sunrpc/svc_raw.c: Likewise.
74113         * sunrpc/svc_run.c: Likewise.
74114         * sunrpc/svc_simple.c: Likewise.
74115         * sunrpc/svc_tcp.c: Likewise.
74116         * sunrpc/svc_udp.c: Likewise.
74117         * sunrpc/svc_unix.c: Likewise.
74118         * sunrpc/svcauth_des.c: Likewise.
74119         * sunrpc/xcrypt.c: Likewise.
74120         * sunrpc/xdr.c: Likewise.
74121         * sunrpc/xdr_array.c: Likewise.
74122         * sunrpc/xdr_float.c: Likewise.
74123         * sunrpc/xdr_intXX_t.c: Likewise.
74124         * sunrpc/xdr_mem.c: Likewise.
74125         * sunrpc/xdr_rec.c: Likewise.
74126         * sunrpc/xdr_ref.c: Likewise.
74127         * sunrpc/xdr_sizeof.c: Likewise.
74128         * sunrpc/xdr_stdio.c: Likewise.
74130 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74132         [BZ #12650]
74133         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74134         * sysdeps/ia64/dl-tls.h: Likewise.
74135         * sysdeps/powerpc/dl-tls.h: Likewise.
74136         * sysdeps/s390/dl-tls.h: Likewise.
74137         * sysdeps/sh/dl-tls.h: Likewise.
74138         * sysdeps/sparc/dl-tls.h: Likewise.
74139         * sysdeps/x86_64/dl-tls.h: Likewise.
74140         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74142 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74144         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74145         rpath element also skip the following colon.
74146         (expand_dynamic_string_token): Add is_path parameter and pass
74147         down to DL_DST_REQUIRED and _dl_dst_substitute.
74148         (decompose_rpath): Call expand_dynamic_string_token with
74149         non-zero is_path.  Ignore empty rpaths.
74150         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74151         with zero is_path.
74153 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74156         Make cancelable.
74158 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74160         [BZ #12655]
74161         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74162         Patch by Filipe David Manana <fdmanana@apache.org>.
74164 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74167         Maintain aligned stack.
74168         (CHECK_RSP): Remove unused macro.
74170 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74172         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74173         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74175 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74177         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74179         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74181 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74183         [BZ #12518]
74184         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74185         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74186         * sysdeps/x86_64/memmove.c: New file.
74187         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74188         (memcpy): Renamed to ...
74189         (__new_memcpy): This.
74190         (memcpy): Provide GLIBC_2_14 memcpy.
74191         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74192         (memcpy): Provide GLIBC_2_2_5 memcpy.
74194 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74196         [BZ #12631]
74197         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74199 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74201         * misc/syncfs.c: New file.
74202         * misc/Makefile (routines): Add syncfs.
74203         * posix/unistd.h: Declare syncfs.
74204         * sysdeps/unix/syscalls.list: Add syncfs.
74206 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74208         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74209         open_by_handle_at.
74210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74211         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74213         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74214         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74215         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74216         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74218 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74220         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74221         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74222         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74223         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74224         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74226         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74228         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74229         sync_file_range.c with -fexceptions.
74230         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74231         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74232         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74233         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74234         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74235         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74236         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74237         sync_file_range as cancellation point
74238         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74239         now a wrapper around __call_sync_file_range with cancellation handling.
74240         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74241         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74242         function name to __call_sync_file_range.
74243         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74244         Add call_sync_file_range.
74246 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74248         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74249         bits/timex.h.
74251 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74253         * iconv/iconv.h: Fix typo in comment.
74254         * io/fcntl.h: Likewise.
74255         * libio/stdio.h: Likewise.
74256         * posix/spawn.h: Likewise.
74257         * posix/unistd.h: Likewise.
74258         * stdlib/stdlib.h: Likewise.
74259         * time/time.h: Likewise.
74260         * wcsmbs/wchar.h: Likewise.
74262         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74263         open_by_handle): Add.
74264         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74265         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74266         Augment a few comments.
74267         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74269         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74271         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74272         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74273         open_by_handle.
74275         * io/fcntl.h (AT_EMPTY_PATH): Define.
74277 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74279         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74280         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74281         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74282         to...
74283         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74284         * Versions.def: Add GLIBC_2.14.
74285         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74286         Export.
74288 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74290         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74291         round counter.
74292         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74294 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74296         [BZ #12597]
74297         * string/test-strncmp.c (do_page_test): New function.
74298         (check2): Likewise.
74299         (test_main): Call check2.
74300         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74302 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74304         [BZ #12587]
74305         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74306         Handle cache information in CPU leaf 4.
74307         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74309 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74311         [BZ #12583]
74312         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74313         character representation.
74314         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74316 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74318         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74319         END(__isnan) to END(__isnanf) to match function entry point/label
74320         EALIGN(__isnanf,...).
74322 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74324         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74326 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74328         [BZ #12510]
74329         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74330         copy from the symbol referenced in the relocation to initialize the
74331         used variable.
74332         Patch by Piotr Bury <pbury@goahead.com>.
74333         * elf/Makefile: Add rules to build and tst-unique3.
74334         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74335         * elf/tst-unique3.cc: New file.
74336         * elf/tst-unique3.h: New file.
74337         * elf/tst-unique3lib.cc: New file.
74338         * elf/tst-unique3lib2.cc: New file.
74340         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74342 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74344         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74345         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74346         to _start.
74348 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74350         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74351         to-be-loaded object along a path to loader is ld.so.
74353 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74354             Ulrich Drepper  <drepper@gmail.com>
74356         * sysdeps/x86_64/memset.S: After aligning destination, code
74357         branches to different locations depending on the value of
74358         misalignment, when multiarch is enabled. Fix this.
74360 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74362         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74363         Set _x86_64_preferred_memory_instruction for AMD processsors.
74364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74365         Set bit_Prefer_SSE_for_memop for AMD processors.
74367 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74369         * libio/fmemopen.c (fmemopen): Optimize a bit.
74371 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74373         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74375 2011-03-03  Roland McGrath  <roland@redhat.com>
74377         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74379 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74381         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74382         __bzero_ultra1 instead of __memset_ultra1.
74384 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74385             Ulrich Drepper  <drepper@gmail.com>
74387         [BZ #12509]
74388         * include/link.h (struct link_map): Add l_orig_initfini.
74389         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74390         returning unsuccessfully.
74391         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74392         close of a file loaded at startup, restore the original l_initfini
74393         list.
74394         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74395         list, store the pointer.
74396         * elf/Makefile ($(objpfx)noload-mem): New rule.
74397         (noload-ENV): Define.
74398         (tests): Add $(objpfx)noload-mem.
74399         * elf/noload.c: Include <memcheck.h>.
74400         (main): Call mtrace.  Close all opened handles.
74402 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74404         [BZ #12454]
74405         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74406         dependencies are missing.
74408 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74410         Fix __if_freereq crash: Unlike the generic version which uses free,
74411         Hurd needs munmap.
74412         * sysdeps/mach/hurd/ifreq.h: New file.
74414 2011-01-27  Petr Baudis  <pasky@suse.cz>
74415             Ulrich Drepper  <drepper@gmail.com>
74417         [BZ 12445]#
74418         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74419         to extend_alloca().
74420         * stdio-common/bug23.c: New file.
74421         * stdio-common/Makefile (tests): Add bug23.
74423 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74424             Ulrich Drepper  <drepper@gmail.com>
74426         [BZ #12489]
74427         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74428         before performing relro protection.  At old place add assertion
74429         to make sure nothing changed.
74431 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74432             Glauber de Oliveira Costa  <glommer@gmail.com>
74434         * elf/elf.h: Add new ARM TLS relocs.
74436 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74439         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74440         cast from r3.
74441         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74442         'tests' variable.
74443         * sysdeps/wordsize-64/tst-writev.c: New file.
74445 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74447         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74448         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74449         insns in _dl_start to prevent a TOC reference before relocs are
74450         resolved.
74452 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74454         [BZ #12469]
74455         * Makeconfig: Remove RANLIB definition.
74456         * Makerules: Don't use RANLIB.
74457         * aclocal.m4: Remove ranlib test.
74458         * configure.in: No need to check for ranlib.
74459         * elf/rtld-Rules: Don't use RANLIB.
74461 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74463         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74464         protection macro.
74465         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74466         inclusion protection macro.
74468         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74469         SIGRTMIN and SIGRTMAX and print information in that case only when
74470         SIGRTMIN is defined.
74472 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74474         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74475         arginfo fn returning -1.
74477         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74478         and thousands string is zero terminated.
74480 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74483         sysdeps/unix/sysv/linux/bits/socket.h.
74485 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74487         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74488         (__CPU_COUNT): Remove old macros.
74489         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74490         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74491         (__CPU_ALLOC, __CPU_FREE): Add macros.
74492         (__sched_cpualloc, __sched_cpufree): Add declarations.
74494 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74496         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74497         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74498         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74499         (readdhstai): Return value of addhstaiX call.
74500         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74501         (addgrbyX): Return value returned by cache_addgr.
74502         (readdgrbyname): Return value returned by addgrbyX.
74503         (readdgrbygid): Likewise.
74504         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74505         (addpwbyX): Return value returned by cache_addpw.
74506         (readdpwbyname): Return value returned by addhstbyX.
74507         (readdpwbyuid): Likewise.
74508         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74509         (addservbyX): Return value returned by cache_addserv.
74510         (readdservbyname): Return value returned by addservbyX:
74511         (readdservbyport): Likewise.
74512         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74513         (addhstbyX): Return value returned by cache_addhst.
74514         (readdhstbyname): Return value returned by addhstbyX.
74515         (readdhstbyaddr): Likewise.
74516         (readdhstbynamev6): Likewise.
74517         (readdhstbyaddrv6): Likewise.
74518         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74519         (readdinitgroups): Return value returned by addinitgroupsX.
74520         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74521         (prune_cache): Keep track of timeout value of re-added entries.
74522         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74523         * nscd/nscd.h: Adjust prototypes of readd* functions.
74525 2011-02-04  Roland McGrath  <roland@redhat.com>
74527         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74528         (nis_stats): Likewise.
74529         * nis/nis_modify.c (nis_modify): Likewise.
74530         * nis/nis_remove.c (nis_remove): Likewise.
74531         * nis/nis_add.c (nis_add): Likewise.
74533         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74535         * posix/fnmatch_loop.c: Add some consts.
74537         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74539 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74541         [BZ #12460]
74542         * config.make.in (config-cflags-novzeroupper): Define.
74543         * configure.in: Substitute libc_cv_cc_novzeroupper.
74544         * elf/Makefile (AVX-CFLAGS): Define.
74545         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74546         (CFLAGS-tst-auditmod4a.c): Likewise.
74547         (CFLAGS-tst-auditmod4b.c): Likewise.
74548         (CFLAGS-tst-auditmod6b.c): Likewise.
74549         (CFLAGS-tst-auditmod6c.c): Likewise.
74550         (CFLAGS-tst-auditmod7b.c): Likewise.
74551         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74553 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74555         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74556         function to the callback.
74557         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74559 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74561         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74562         of errno.
74564 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74566         [BZ #11724]
74567         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74568         of constructors.
74569         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74570         of destructors.
74571         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74573         [BZ #11724]
74574         * elf/Makefile: Add rules to build and run new test.
74575         * elf/tst-initorder.c: New file.
74576         * elf/tst-initorder.exp: New file.
74577         * elf/tst-initordera1.c: New file.
74578         * elf/tst-initordera2.c: New file.
74579         * elf/tst-initordera3.c: New file.
74580         * elf/tst-initordera4.c: New file.
74581         * elf/tst-initorderb1.c: New file.
74582         * elf/tst-initorderb2.c: New file.
74583         * elf/tst-order-a1.c: New file.
74584         * elf/tst-order-a2.c: New file.
74585         * elf/tst-order-a3.c: New file.
74586         * elf/tst-order-a4.c: New file.
74587         * elf/tst-order-b1.c: New file.
74588         * elf/tst-order-b2.c: New file.
74589         * elf/tst-order-main.c: New file.
74590         New test case by George Gensure <werkt0@gmail.com>.
74592 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74595         decoding ACE if AI_CANONIDN.
74597 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74599         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74601 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74603         * version.h (RELEASE): Bump for 2.13 release.
74604         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74606         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74608         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74609         MADV_NOHUGEPAGE.
74610         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74612         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74613         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74614         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74615         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74617         * posix/getconf.c: Update copyright year.
74618         * catgets/gencat.c: Likewise.
74619         * csu/version.c: Likewise.
74620         * debug/catchsegv.sh: Likewise.
74621         * debug/xtrace.sh: Likewise.
74622         * elf/ldconfig.c: Likewise.
74623         * elf/ldd.bash.in: Likewise.
74624         * elf/sprof.c (print_version): Likewise.
74625         * iconv/iconv_prog.c: Likewise.
74626         * iconv/iconvconfig.c: Likewise.
74627         * locale/programs/locale.c: Likewise.
74628         * locale/programs/localedef.c: Likewise.
74629         * malloc/memusage.sh: Likewise.
74630         * malloc/mtrace.pl: Likewise.
74631         * nscd/nscd.c (print_version): Likewise.
74632         * nss/getent.c: Likewise.
74634         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74635         PF_CAIF, and PF_ALG.
74636         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74638 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74640         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74641         (modules-names): Use them.
74642         (ifunc-test-modules, ifunc-pie-tests): Define.
74643         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74644         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74645         (test-extras): Likewise.
74646         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74647         $(compile-command.c).
74648         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74649         (all-built-dso): Define.
74650         (check-textrel.out, check-execstack.out): Depend on it.
74652         * configure.in: Don't override --enable-multi-arch.
74654 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74656         [BZ #6812]
74657         * nscd/hstcache.c (tryagain): Define.
74658         (cache_addhst): Return tryagain not notfound for temporary errors.
74659         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74660         failed.
74662 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74664         [BZ #10563]
74665         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74666         to make the syscall.
74667         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74669         [BZ #12378]
74670         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74671         and fall back to matching as normal character if the string ends before
74672         the matching ']' is found.  This is what POSIX requires.
74673         * posix/testfnm.c: Adjust test result.
74674         * posix/globtest.sh: Adjust test result.  Add new test.
74675         * posix/tst-fnmatch.input: Likewise.
74676         * posix/tst-fnmatch2.c: Add new test.
74678 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74680         * elf/Makefile (check-execstack): Revert last change.  Depend on
74681         check-execstack.h.
74682         (check-execstack.h): New target.
74683         (generated): Add check-execstack.h.
74684         * elf/check-execstack.c: Include "check-execstack.h".
74685         (main): Revert last change.
74686         (handle_file): Return zero if GNU_STACK is absent and
74687         DEFAULT_STACK_PERMS doesn't include PF_X.
74689 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74691         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74692         in child fails because the descriptor is already closed.
74693         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74694         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74695         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74697         [BZ #12397]
74698         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74699         syscall.
74701         [BZ #10484]
74702         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74703         temporary buffer used to handle multi lookups locally.
74704         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74706 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74708         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74709         loader is ld.so.
74711 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74713         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74714         alignment for SSE2.
74716 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74718         [BZ #12394]
74719         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74720         characters.  When rounding increased number of integer digits recompute
74721         number of groups.
74722         * stdio-common/tst-grouping.c: New file.
74723         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74725 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74727         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74728         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74730         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74731         void.
74732         * bits/select.h: Likewise.
74734 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74736         * po/ja.po: Update from translation team.
74738 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74740         [BZ #11155]
74741         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74742         implementation just like for lxstat, fxstatat, et al.
74744 2010-12-27  Jim Meyering  <meyering@redhat.com>
74746         [BZ #12348]
74747         * posix/regexec.c (build_trtable): Return failure indication upon
74748         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74750 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74752         [BZ #12201]
74753         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74754         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74755         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74756         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74758         [BZ #12207]
74759         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74761         [BZ #12204]
74762         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74763         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74765 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74767         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74768         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74769         script has SORT_BY_INIT_PRIORITY.
74770         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74771         NO_CTORS_DTORS_SECTIONS is defined.
74772         * elf/soinit.c: Likewise.
74773         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74774         NO_CTORS_DTORS_SECTIONS is defined.
74775         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74776         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74777         * sysdeps/sh/init-first.c: Likewise.
74778         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74780 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74782         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74783         always use the slow path.
74785 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74787         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74788         similar rule which adds the sysdep directories to the header search in
74789         order to pick up the correct platform stackinfo.h.
74790         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74791         perform test if it is, otherwise return successfully without testing.
74792         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74793         DEFAULT_STACK_PERMS define in stackinfo.h.
74794         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74795         defined in stackinfo.h.
74796         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74797         DEFAULT_STACK_PERMS defined in stackinfo.h.
74798         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74799         * sysdeps/ia64/stackinfo.h: Likewise.
74800         * sysdeps/s390/stackinfo.h: Likewise.
74801         * sysdeps/sh/stackinfo.h: Likewise.
74802         * sysdeps/sparc/stackinfo.h: Likewise.
74803         * sysdeps/x86_64/stackinfo.h: Likewise.
74804         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74805         PF_X for powerpc64.  Retain PF_X for powerpc32.
74807 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74809         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74810         accurately.
74811         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74812         GETDENTS_64BIT_ALIGNED.
74814 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74816         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74818 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74820         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74821         _GNU_SOURCE.
74823         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74824         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74825         Remove __restrict.
74826         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74827         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74829 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74831         [BZ #11655]
74832         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74833         are initialized.
74835 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74837         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74839 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74841         * po/it.po: Update from translation team.
74843 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74846         unused codes.
74848 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74850         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74852 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74854         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74855         specially.
74856         (gaih_getanswer_slice): Likewise.
74858 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74862 2010-05-31  Petr Baudis  <pasky@suse.cz>
74864         [BZ #11149]
74865         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74866         silently even in the chroot mode.
74868 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74870         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74871         last patch a bit.  Pretty printing
74873 2010-05-31  Petr Baudis <pasky@suse.cz>
74875         [BZ #10085]
74876         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74877         initialization of skip_initgroups_dyn.
74879 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74881         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74882         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74884 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74886         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74888 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74890         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74891         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74892         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74893         ($(objpfx)tst-fnmatch-mem): New rule.
74894         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74895         * posix/tst-fnmatch.c (main): Call mtrace.
74897 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74900         Support Intel processor model 6 and model 0x2c.
74902 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74904         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74905           signed comparison.
74907 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74909         [BZ #12205]
74910         * string/test-strncasecmp.c (check_result): New function.
74911         (do_one_test): Use it.
74912         (check1): New function.
74913         (test_main): Use it.
74914         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74915         Support strcasecmp and strncasecmp.
74917 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74919         [BZ #12194]
74920         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74921         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74923 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74925         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74926         IFUNC support.
74927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74928         memset-x86-64.
74929         * sysdeps/x86_64/multiarch/bzero.S: New file.
74930         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74931         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74932         * sysdeps/x86_64/multiarch/memset.S: New file.
74933         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74935         Set bit_Prefer_SSE_for_memop for Intel processors.
74936         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74937         Define.
74938         (index_Prefer_SSE_for_memop): Define.
74939         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74941 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74943         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74944         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74946 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74948         [BZ #12191]
74949         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74950         (__x86_64_raw_data_cache_size_half): Likewise.
74951         (__x86_64_raw_shared_cache_size): Likewise.
74952         (__x86_64_raw_shared_cache_size_half): Likewise.
74954         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74955         (__x86_64_raw_data_cache_size_half): Likewise.
74956         (__x86_64_raw_shared_cache_size): Likewise.
74957         (__x86_64_raw_shared_cache_size_half): Likewise.
74958         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74959         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74960         and __x86_64_raw_shared_cache_size_half.  Round
74961         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74962         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74963         to multiple of 256 bytes.
74965 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74967         [BZ #12167]
74968         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74969         of inacessible symlinks.  Verify result of symlink before returning it.
74970         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74971         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74973 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74975         * math/math.h (isinf): Fix typo in comment.
74977 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74979         * po/da.po: Update from translation team.
74981 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74983         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74984         is added to the list.
74986 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74987             Ulrich Drepper  <drepper@gmail.com>
74989         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74990         the global list here.  Move code to...
74991         (_dl_add_to_namespace_list): ...here.  New function.
74992         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74993         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74994         * elf/dl-load.c (lose): Don't remove the element from the list.
74995         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74996         (_dl_map_object): Likewise.
74998 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75000         [BZ #12159]
75001         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75002         into all bytes of SSE register.
75003         Patch by Richard Li <richardpku@gmail.com>.
75005 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75007         [BZ #12140]
75008         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75009         perturbing.
75011 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75013         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75014         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75015         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75016         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75018         submachine.
75019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75021 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75023         * include/dlfcn.h (__RTLD_SECURE): Define.
75024         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75025         mode & __RTLD_SECURE instead.
75026         (open_path): Rename preloaded parameter to secure.
75027         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75028         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75029         * elf/dl-deps.c (openaux): Likewise.
75030         * elf/rtld.c (struct map_args): Remove is_preloaded.
75031         (map_doit): Don't use it.
75032         (dl_main): Likewise.
75033         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75034         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75036 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75038         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75039         (sysd-rules-targets): Remove duplicates.
75040         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75041         rtld-%.$o dependency.
75043 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75045         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75046         _dl_map_object do it.
75048 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75050         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75051         fast fma builtins, define the macros in the C99 standard.
75052         (FP_FAST_FMAF): Likewise.
75053         (FP_FAST_FMAL): Likewise.
75054         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75056         * bits/mathdef.h: Update copyright year.
75057         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75059 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75061         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75062         builtins, define the macros in the C99 standard.
75063         (FP_FAST_FMAF): Likewise.
75064         (FP_FAST_FMAL): Likewise.
75065         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75066         multiply/add.
75067         (FP_FAST_FMAF): Likewise.
75069 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75071         [BZ #3268]
75072         * math/libm-test.inc (fma_test): Some new testcases.
75073         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75074         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75075         y and infinite z.  Do multiplication by C already in long double.
75076         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75078         y and infinite z.  Do bitwise or of inexact bit into u.d.
75079         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75080         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75081         * sysdeps/i386/fpu/s_fma.S: Removed.
75082         * sysdeps/i386/fpu/s_fmal.S: Removed.
75084 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75086         [BZ #3268]
75087         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75089         computation is not scheduled after fetestexcept.  Fix value
75090         of minimum denormal long double.
75092 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75094         [BZ #3268]
75095         * math/libm-test.inc (fma_test): Add some more tests.
75096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75097         correctly.
75099 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75101         * scripts/data/localplt-s390-linux-gnu.data: New file.
75102         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75104 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75106         [BZ #3268]
75107         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75108         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75109         instead of dbl-64.
75110         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75111         inlines.
75112         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75114         if one of x and y is very large and the other is subnormal.
75115         * sysdeps/s390/fpu/s_fmaf.c: New file.
75116         * sysdeps/s390/fpu/s_fma.c: New file.
75117         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75118         * sysdeps/powerpc/fpu/s_fma.S: New file.
75119         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75120         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75121         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75123 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75125         [BZ #3268]
75126         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75127         fma tests.
75128         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75129         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75130         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75131         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75132         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75133         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75134         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75136 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75138         [BZ #12078]
75139         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75140         * posix/bug-regex31.input: Add test case.
75142 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75144         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75145         * posix/bug-regex31.input: New file.
75147         [BZ #12078]
75148         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75149         (parse_sub_exp): Fix last change, use postorder.
75151         * posix/bug-regex31.c: New file.
75152         * posix/Makefile: Add rules to build and run bug-regex31.
75154         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75156         [BZ #12078]
75157         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75159         [BZ #12108]
75160         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75161         to have entries in sys_siglist.
75163         [BZ #12093]
75164         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75165         be NULL.
75167 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75169         [BZ #3268]
75170         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75171         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75172         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75173         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75174         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75175         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75176         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75177         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75178         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75179         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75180         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75181         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75182         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75183         * math/ftestexcept.c (fetestexcept): Likewise.
75184         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75185         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75186         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75187         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75188         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75189         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75190         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75192 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75194         [BZ #12107]
75195         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75196         newline.
75198 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75200         * string/bug-strstr1.c: New file.
75201         * string/Makefile: Add rules to build and run bug-strstr1.
75203 2010-10-05  Eric Blake  <eblake@redhat.com>
75205         [BZ #12092]
75206         * string/str-two-way.h (two_way_long_needle): Always clear memory
75207         when skipping input due to the shift table.
75209 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75211         [BZ #12005]
75212         * malloc/mcheck.c: Handle large requests.
75214         [BZ #12077]
75215         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75216         for strncmp and strncasecmp.
75217         * string/stratcliff.c: Add tests for strcmp and strncmp.
75218         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75220 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75222         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75223         __set_fpscr.
75225 2010-09-30  Andreas Jaeger  <aj@suse.de>
75227         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75228         (CGROUP_SUPER_MAGIC): Define.
75229         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75230         Handle btrfs and cgroup file systems.
75231         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75232         Likewise.
75234 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75236         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75237         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75239 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75241         [BZ #12067]
75242         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75243         trying to locate the ELF header.
75245 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75247         [BZ #11611]
75248         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75249         Mask out sign-bit copies when constructing f_fsid.
75251 2010-09-24  Petr Baudis <pasky@suse.cz>
75253         * debug/stack_chk_fail_local.c: Add missing licence exception.
75254         * debug/warning-nop.c: Likewise.
75256 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75258         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75259         implementing getdents64 using getdents syscall, set d_type if
75260         __ASSUME_GETDENTS32_D_TYPE.
75262 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75264         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75265         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75267 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75269         [BZ #12037]
75270         * posix/unistd.h: Undo change of feature selection for ftruncate from
75271         2010-01-11.
75273 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75275         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75276         detection.
75278 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75280         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75281         fanotify_mark.
75282         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75284 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75286         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75287         variables after CHECK_SP call.
75288         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75290 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75291             Ulrich Drepper  <drepper@redhat.com>
75293         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75294         re-relocationg ld.so.
75295         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75296         _dl_init_paths call.
75297         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75298         here anymore.
75300 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75302         * resolv/res_init.c (__res_vinit): Count the default server we added.
75304 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75305             Ulrich Drepper  <drepper@redhat.com>
75307         [BZ #11968]
75308         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75309         (____longjmp_chk): Use %ebx for saving value across system call.
75310         Add unwind info.
75312 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75314         * manual/Makefile: Don't mix pattern rules with normal rules.
75316 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75318         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75319         operation.
75320         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75321         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75322         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75323         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75325         Likewise.
75327 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75329         [BZ #11979]
75330         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75331         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75333 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75335         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75336         * sysdeps/x86_64/addmul_1.S: Likewise.
75337         * sysdeps/x86_64/lshift.S: Likewise.
75338         * sysdeps/x86_64/mul_1.S: Likewise.
75339         * sysdeps/x86_64/rshift.S: Likewise.
75340         * sysdeps/x86_64/sub_n.S: Likewise.
75341         * sysdeps/x86_64/submul_1.S: Likewise.
75343 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75345         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75346         Define __sched_param instead of SCHED_* and sched_param when
75347         <bits/sched.h> is included with __need_schedparam defined.
75348         * bits/sched.h [__need_schedparam]
75349         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75350         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75351         (__defined_schedparam): Define to 1.
75352         (__sched_param): New structure, identical to sched_param.
75353         (__need_schedparam): Undefine.
75355 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75357         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75358         (epoll_create1): Declare.
75360         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75362 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75364         [BZ #7066]
75365         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75366         shifting retval into place.
75368 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75370         * nis/rpcsvc/nis.h: Update copyright notice.
75371         * nis/rpcsvc/nis.x: Likewise.
75372         * nis/rpcsvc/nis_callback.h: Likewise.
75373         * nis/rpcsvc/nis_callback.x: Likewise.
75374         * nis/rpcsvc/nis_object.x: Likewise.
75375         * nis/rpcsvc/nis_tags.h: Likewise.
75376         * nis/rpcsvc/yp.h: Likewise.
75377         * nis/rpcsvc/yp.x: Likewise.
75378         * nis/rpcsvc/ypupd.h: Likewise.
75379         * nis/yp_xdr.c: Likewise.
75380         * nis/ypupdate_xdr.c: Likewise.
75382         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75383         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75384         (pmap_getport): Use __libc_rpc_getport.
75385         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75386         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75387         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75389 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75392         fanotify_mark.
75394 2010-08-27  Roland McGrath  <roland@redhat.com>
75396         * sysdeps/i386/i686/multiarch/Makefile
75397         (CFLAGS-varshift.c): New variable.
75399 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75401         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75402         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75404         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75406         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75408 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75410         * sysdeps/x86_64/strlen.S: Unroll the loop.
75411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75412         strlen-sse2 strlen-sse2-bsf.
75413         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75414         __strlen_no_bsf if bit_Slow_BSF is set.
75415         (__strlen_sse42): Removed.
75416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75417         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75419 2010-08-25  Roland McGrath  <roland@redhat.com>
75421         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75422         * sysdeps/x86_64/multiarch/varshift.c: New file.
75423         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75424         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75425         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75426         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75428 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75430         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75431         strlen-sse2 strlen-sse2-bsf.
75432         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75433         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75434         (__strlen_sse2): Removed.
75435         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75436         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75438         bit_Slow_BSF for Atom.
75439         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75440         (index_Slow_BSF): Define.
75441         (HAS_SLOW_BSF): Define.
75443 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75445         [BZ #10851]
75446         * resolv/res_init.c (__res_vinit): When no server address at all
75447         is given default to loopback.
75449 2010-08-24  Roland McGrath  <roland@redhat.com>
75451         * configure.in: Remove config-name.h generation.
75452         * configure: Regenerated.
75453         * config-name.in: File removed.
75454         * scripts/config-uname.sh: New file.
75455         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75456         ($(objdir)config-name.h): New target.
75458         * sunrpc/rpc_parse.h: Avoid nested comment.
75460 2010-08-24  Richard Henderson  <rth@redhat.com>
75461             Ulrich Drepper  <drepper@redhat.com>
75462             H.J. Lu  <hongjiu.lu@intel.com>
75464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75466         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75467         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75468         _mm_alignr_epi8 with _mm_loadu_si128.
75469         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75470         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75471         (__m128i_shift_right): Removed.
75472         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75473         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75474         * sysdeps/x86_64/multiarch/varshift.h: New file.
75475         * sysdeps/x86_64/multiarch/varshift.S: New file.
75477 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75479         * configure.in: Move assembler checks to before sysdep dir checking.
75481 2010-08-20  Petr Baudis  <pasky@suse.cz>
75483         * LICENSES: Sync the sunrpc license.
75485 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75487         * sunrpc/auth_des.c: Update copyright notice once again.
75488         * sunrpc/auth_none.c: Likewise.
75489         * sunrpc/auth_unix.c: Likewise.
75490         * sunrpc/authdes_prot.c: Likewise.
75491         * sunrpc/authuxprot.c: Likewise.
75492         * sunrpc/bindrsvprt.c: Likewise.
75493         * sunrpc/clnt_gen.c: Likewise.
75494         * sunrpc/clnt_perr.c: Likewise.
75495         * sunrpc/clnt_raw.c: Likewise.
75496         * sunrpc/clnt_simp.c: Likewise.
75497         * sunrpc/clnt_tcp.c: Likewise.
75498         * sunrpc/clnt_udp.c: Likewise.
75499         * sunrpc/clnt_unix.c: Likewise.
75500         * sunrpc/des_crypt.c: Likewise.
75501         * sunrpc/des_soft.c: Likewise.
75502         * sunrpc/get_myaddr.c: Likewise.
75503         * sunrpc/getrpcport.c: Likewise.
75504         * sunrpc/key_call.c: Likewise.
75505         * sunrpc/key_prot.c: Likewise.
75506         * sunrpc/openchild.c: Likewise.
75507         * sunrpc/pm_getmaps.c: Likewise.
75508         * sunrpc/pm_getport.c: Likewise.
75509         * sunrpc/pmap_clnt.c: Likewise.
75510         * sunrpc/pmap_prot.c: Likewise.
75511         * sunrpc/pmap_prot2.c: Likewise.
75512         * sunrpc/pmap_rmt.c: Likewise.
75513         * sunrpc/rpc/auth.h: Likewise.
75514         * sunrpc/rpc/auth_unix.h: Likewise.
75515         * sunrpc/rpc/clnt.h: Likewise.
75516         * sunrpc/rpc/des_crypt.h: Likewise.
75517         * sunrpc/rpc/key_prot.h: Likewise.
75518         * sunrpc/rpc/netdb.h: Likewise.
75519         * sunrpc/rpc/pmap_clnt.h: Likewise.
75520         * sunrpc/rpc/pmap_prot.h: Likewise.
75521         * sunrpc/rpc/pmap_rmt.h: Likewise.
75522         * sunrpc/rpc/rpc.h: Likewise.
75523         * sunrpc/rpc/rpc_des.h: Likewise.
75524         * sunrpc/rpc/rpc_msg.h: Likewise.
75525         * sunrpc/rpc/svc.h: Likewise.
75526         * sunrpc/rpc/svc_auth.h: Likewise.
75527         * sunrpc/rpc/types.h: Likewise.
75528         * sunrpc/rpc/xdr.h: Likewise.
75529         * sunrpc/rpc_clntout.c: Likewise.
75530         * sunrpc/rpc_cmsg.c: Likewise.
75531         * sunrpc/rpc_common.c: Likewise.
75532         * sunrpc/rpc_cout.c: Likewise.
75533         * sunrpc/rpc_dtable.c: Likewise.
75534         * sunrpc/rpc_hout.c: Likewise.
75535         * sunrpc/rpc_main.c: Likewise.
75536         * sunrpc/rpc_parse.c: Likewise.
75537         * sunrpc/rpc_parse.h: Likewise.
75538         * sunrpc/rpc_prot.c: Likewise.
75539         * sunrpc/rpc_sample.c: Likewise.
75540         * sunrpc/rpc_scan.c: Likewise.
75541         * sunrpc/rpc_scan.h: Likewise.
75542         * sunrpc/rpc_svcout.c: Likewise.
75543         * sunrpc/rpc_tblout.c: Likewise.
75544         * sunrpc/rpc_util.c: Likewise.
75545         * sunrpc/rpc_util.h: Likewise.
75546         * sunrpc/rpcinfo.c: Likewise.
75547         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75548         * sunrpc/rpcsvc/key_prot.x: Likewise.
75549         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75550         * sunrpc/rpcsvc/mount.x: Likewise.
75551         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75552         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75553         * sunrpc/rpcsvc/rex.x: Likewise.
75554         * sunrpc/rpcsvc/rstat.x: Likewise.
75555         * sunrpc/rpcsvc/rusers.x: Likewise.
75556         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75557         * sunrpc/rpcsvc/spray.x: Likewise.
75558         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75559         * sunrpc/rtime.c: Likewise.
75560         * sunrpc/svc.c: Likewise.
75561         * sunrpc/svc_auth.c: Likewise.
75562         * sunrpc/svc_authux.c: Likewise.
75563         * sunrpc/svc_raw.c: Likewise.
75564         * sunrpc/svc_run.c: Likewise.
75565         * sunrpc/svc_simple.c: Likewise.
75566         * sunrpc/svc_tcp.c: Likewise.
75567         * sunrpc/svc_udp.c: Likewise.
75568         * sunrpc/svc_unix.c: Likewise.
75569         * sunrpc/svcauth_des.c: Likewise.
75570         * sunrpc/xcrypt.c: Likewise.
75571         * sunrpc/xdr.c: Likewise.
75572         * sunrpc/xdr_array.c: Likewise.
75573         * sunrpc/xdr_float.c: Likewise.
75574         * sunrpc/xdr_mem.c: Likewise.
75575         * sunrpc/xdr_rec.c: Likewise.
75576         * sunrpc/xdr_ref.c: Likewise.
75577         * sunrpc/xdr_sizeof.c: Likewise.
75578         * sunrpc/xdr_stdio.c: Likewise.
75580         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75581         handling.
75583 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75585         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75587 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75589         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75590         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75591         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75592         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75593         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75594         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75595         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75596         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75599         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75600         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75601         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75602         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75604 2010-07-26  Anton Blanchard  <anton@samba.org>
75606         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75607         * malloc/arena.c (heap_trim): Likewise.
75609 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75611         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75612         here.  Not...
75613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75614         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75616 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75618         * sysdeps/i386/elf/Makefile: New file.
75620 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75622         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75623         from fanotify_init.
75624         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75625         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75627 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75629         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75630         of strncasecmp_l.
75631         * sysdeps/multiarch/strcmp.S: Likewise.
75633 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75635         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75636         strncase_l-nonascii.
75637         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75638         Add strncase_l-ssse3.
75639         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75640         * sysdeps/x86_64/strcmp.S: Likewise.
75641         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75642         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75643         * sysdeps/x86_64/strncase.S: New file.
75644         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75645         * sysdeps/x86_64/strncase_l.S: New file.
75646         * string/Makefile (strop-tests): Add strncasecmp.
75647         * string/test-strncasecmp.c: New file.
75649         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75650         warning.
75652         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75653         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75655 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75657         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75659 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75661         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75662         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75663         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75665 2010-05-01  Alan Modra  <amodra@gmail.com>
75667         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75668         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75669         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75670         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75671         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75672         tidying.  Don't tail-call __sigjmp_save for static lib.
75673         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75674         save location.
75675         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75676         (CALL_MCOUNT): Add eh info, and nop after bl.
75677         (TAIL_CALL_SYSCALL_ERROR): New macro.
75678         (PSEUDO_RET): Use it.
75679         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75680         Correct save location of integer regs and cr.
75681         (_dl_profile_resolve): Correct cr save location.  Delete nops
75682         after bl when SHARED.  Reduce cfi size a little by better
75683         placement of cfi directives.
75684         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75685         make a stack frame.  Instead use parm save area as a temp.
75686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75687         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75689         Don't make a stack frame for parent, use parm save area.
75690         Increase child stack frame to 112 bytes.  Don't save unused reg,
75691         and adjust reg usage.  Set up cfi on error recovery and
75692         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75694         (__makecontext): Add dummy nop after jump to exit.
75695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75696         Use correct parm save area and cr save, reduce stack frame.
75697         Correct cfi for possible PSEUDO_RET frame setup.
75698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75699         Branch to local label emitted by PSEUDO_RET rather than
75700         __syscall_error.
75702 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75704         [BZ #11904]
75705         * locale/programs/locale.c (print_assignment): New function.
75706         (show_locale_vars): Use it.
75708 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75710         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75711         field.
75712         (struct statfs64): Likewise.
75713         (_STATFS_F_FLAGS): Define.
75714         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75715         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75716         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75717         (ST_VALID): Define locally.
75718         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75719         __statvfs_getflags, use the provided value.
75720         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75721         __ASSUME_STATFS_F_FLAGS.
75723         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75725         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75726         Add sys/fanotify.h.
75727         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75728         fanotify_mask for GLIBC_2.13.
75729         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75730         fanotify_init and fanotify_mark.
75731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75732         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75734         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75735         Add prlimit.
75736         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75737         prlimit64 for GLIBC_2.13.
75738         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75739         prlimit64.
75740         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75741         syscall.
75742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75743         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75744         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75745         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75746         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75747         add prlimit alias.
75748         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75750         [BZ #11903]
75751         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75752         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75754         * nss/Makefile: Add rules to build and run tst-nss-test1.
75755         * shlib-versions: Add entry for libnss_test1.
75756         * nss/nss_test1.c: New file.
75757         * nss/tst-nss-test1.c: New file.
75759         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75760         (__nss_configure_lookup): Set appropriate entry in
75761         __nss_configure_lookup to true.
75762         * nss/nsswitch.h: Define enum with indeces of databases in
75763         databases and __nss_database_custom arrays.  Declare
75764         __nss_database_custom.
75765         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75766         to avoid using nscd when custom rules are installed.
75767         * nss/getXXbyYY_r.c: Likewise.
75768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75770         * nss/nss_files/files-parse.c: Whitespace fixes.
75772 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75774         [BZ #11883]
75775         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75776         * posix/fnmatch_loop.c: Likewise.
75778 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75780         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75781         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75782         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75783         * Versions.def [GLIBC_2.13]: Add.
75785 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75787         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75788         Also fail if tpwd after pwuid call is NULL.
75790 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75792         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75793         when converting to ms.
75795 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75797         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75798         EOPNOTSUPP errors with ENOTTY.
75799         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75800         EOPNOTSUPP errors with ENOTTY.
75802 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75804         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75805         Add strcasecmp_l-ssse3.
75806         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75807         strcasecmp.
75808         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75809         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75810         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75812 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75814         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75816         * string/Makefile (strop-tests): Add strcasecmp.
75817         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75818         strcasecmp_l-nonascii.
75819         (gen-as-const-headers): Add locale-defines.sym.
75820         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75821         * sysdeps/x86_64/strcasecmp.S: New file.
75822         * sysdeps/x86_64/strcasecmp_l.S: New file.
75823         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75824         * sysdeps/x86_64/locale-defines.sym: New file.
75825         * string/test-strcasecmp.c: New file.
75827         * string/test-strcasestr.c: Test both ends of the range of characters.
75828         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75830 2010-07-29  Roland McGrath  <roland@redhat.com>
75832         [BZ #11856]
75833         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75835 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75837         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75838         for ld.so.
75840 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75842         * manual/memory.texi (Malloc Tunable Parameters): Document
75843         M_PERTURB.
75845 2010-07-26  Roland McGrath  <roland@redhat.com>
75847         [BZ #11840]
75848         * configure.in (-fgnu89-inline check): Set and substitute
75849         gnu89_inline, not libc_cv_gnu89_inline.
75850         * configure: Regenerated.
75851         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75853 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75855         * string/test-strnlen.c: New file.
75856         * string/Makefile (strop-tests): Add strnlen.
75857         * string/tester.c (test_strnlen): Add a few more test cases.
75858         * string/tst-strlen.c: Better error reporting.
75860         * sysdeps/x86_64/strnlen.S: New file.
75862 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75864         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75865         lower-latency instructions.
75867 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75869         * string/test-strcasestr.c: New file.
75870         * string/test-strstr.c: New file.
75871         * string/Makefile (strop-tests): Add strstr and strcasestr.
75872         * string/str-two-way.h: Don't undefine MAX.
75873         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75875 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75878         strcasestr-nonascii.
75879         (CFLAGS-strcasestr-nonascii.c): Define.
75880         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75881         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75882         Remove unused attribute.
75884 2010-07-20  Roland McGrath  <roland@redhat.com>
75886         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75887         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75888         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75889         like LD_HWCAP_MASK can disable hwcaps.
75891 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75893         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75895 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75897         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75898         call in strcasestr.
75899         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75900         __strcasestr_sse42_nonascii.
75901         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75902         strcasestr-nonascii.c.
75903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75905 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75907         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75908         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75909         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75910         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75912 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75915         fcntl.
75917 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75919         [BZ #11577]
75920         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75921         dl_signal_cerror.
75923 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75925         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75926         _PC_PIPE_BUF using F_GETPIPE_SZ.
75928 2010-07-05  Roland McGrath  <roland@redhat.com>
75930         * manual/arith.texi (Rounding Functions): Fix rint description
75931         implicit in round description.
75933 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75935         * elf/Makefile: Fix linking for a few tests to make recent linker
75936         happy.
75938 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75940         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75941         $(common-objpfx)libc_nonshared.a.
75943 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75945         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75946         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75947         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75948         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75949         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75950         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75951         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75952         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75967         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75968         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75969         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75970         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75971         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75972         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75973         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75974         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75975         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75976         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75977         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75978         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75994 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75996         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75997         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75998         * string/memmove.c (memmove): Renamed to ...
75999         (MEMMOVE): ...this.  Default to memmove.
76000         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76001         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76002         (END_CHK): Define.
76003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76004         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76005         mempcpy-ssse3-back memmove-ssse3-back.
76006         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76007         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76009         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76010         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76011         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76012         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76013         * sysdeps/x86_64/multiarch/memmove.c: New file.
76014         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76015         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76016         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76017         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76018         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76019         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76020         Define.
76021         (index_Fast_Copy_Backward): Define.
76022         (HAS_ARCH_FEATURE): Define.
76023         (HAS_FAST_REP_STRING): Define.
76024         (HAS_FAST_COPY_BACKWARD): Define.
76026 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76029         Restore proper fallback handling.
76031 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76033         [BZ #11701]
76034         * posix/group_member.c (__group_member): Correct checking loop.
76036         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76037         OOM in getpwuid_r correctly.  Return error number when the caller
76038         should return, otherwise -1.
76039         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76040         call returning > 0 value.
76041         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76043 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76045         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76046         libc_nonshared.a from targets in modules-names.
76048 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76050         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76051         requires it.
76053 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76055         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76056         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76058         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76060 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76062         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76064 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76066         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76067         and F_GETPIPE_SZ.
76068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76069         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76072         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76073         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76075 2010-06-14  Roland McGrath  <roland@redhat.com>
76077         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76079 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76081         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76082         __REDIRECT followed by __THROW.
76083         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76084         * posix/getopt.h (getopt): Likewise.
76086 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76088         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76089         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76090         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76091         in AT_FLAGS.
76092         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76093         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76095 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76097         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76099 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76101         [BZ #11640]
76102         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76103         Properly check family and model.
76105 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76107         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76109 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76111         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76113 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76115         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76116         symbol reference.
76118 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76120         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76121         symbol reference.
76123 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76125         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76126         and internal_recvmmsg.
76127         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76128         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76129         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76130         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76132         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76133         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76134         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76136 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76138         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76140 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76142         POWER7 optimizations.
76143         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76144         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76146 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76148         * version.h: Update for 2.13 development version.
76150 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76152         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76153         exceptions.  Return 0.
76155 2010-05-07  Roland McGrath  <roland@redhat.com>
76157         * elf/ldconfig.c (main): Add a const.
76159 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76161         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76162         (args_options): Add no-idn option.
76163         (ahosts_keys_int): Add idn_flags to ai_flags.
76164         (parse_option): Handle 'i' option to clear idn_flags.
76166         * malloc/malloc.c (_int_free): Possible race in the most recently
76167         added check.  Only act on the data if no current modification
76168         happened.
76170 See ChangeLog.17 for earlier changes.